# Documentation Kagura Memory Cloud gives people and AI agents shared, persistent memory through MCP, a REST API, and a web UI. Start with a working connection and one saved memory, then explore the guides for your use case. | Your next step | Start here | |---|---| | Understand the product | [English README](../README.md) · [日本語 README](../README.ja.md) | | Use the released OpenAI Plugin in ChatGPT | [Add Kagura Memory Cloud](https://chatgpt.com/plugins/plugin_asdk_app_6adacc9eaf5481919a85fad2aaa7aade) · [Request a cloud invite](https://www.kagura-ai.com/waitlist/) | | Run your own server | [Getting Started](getting-started.md) | | Find supported platforms | [Platform overview](../README.md#supported-platforms) · [MCP Client Setup](mcp-clients.md) | | Evaluate accuracy and cost | [Benchmarks](benchmarks.md) · [公開レポート(日本語)](https://www.kagura-ai.com/ja/benchmarks/) | | Build an integration | [MCP Tools](mcp-tools.md) · [REST API](api-reference.md) · [Python SDK](https://github.com/kagura-ai/kagura-memory-python-sdk) | | Operate a deployment | [Deployment](deployment.md) · [Troubleshooting](troubleshooting.md) | ## Getting Started - [Getting Started](getting-started.md) — Installation, setup, and first steps - [Core Concepts](concepts.md) — Workspace, Context, Memory, Neural Memory, MCP Tools - [MCP Client Setup](mcp-clients.md) — ChatGPT plugin and custom MCP, Claude, Codex, Cursor, Gemini, Muse, Grok, Microsoft 365 Copilot, CLI clients, and hooks - [Microsoft 365 Copilot](microsoft-365-copilot.md) — MCP profile, operator OAuth setup, and Microsoft registration - [MCP Tools Reference](mcp-tools.md) — Tool profiles, parameters, and required roles ## Benchmarks & Evaluation - [Benchmark Reading Guide](benchmarks.md) — Public FC, LongMemEval, and LoCoMo results; versions, grading, and cost boundaries - [Search Quality Benchmark](search-quality-benchmark.md) — Retrieval accuracy, reranking, and memory-writing practices - [Evaluation Documentation](eval/README.md) — Offline evaluation and labeling protocols ## Architecture & API - [Architecture](architecture.md) — System design, data flow, and tech stack (incl. **LLM Knowledge Base 5-layer mapping**) - [API Reference](api-reference.md) — REST API endpoints, authentication, request/response examples - [Remote MCP Directory Scope](remote-mcp-directory-scope.md) — Submission scope of the Remote MCP endpoint, data flows by source, guardrail/pinned delivery paths and the policy mapping (§1.F: the project's position, to be confirmed in Directory review) - [Google Connected Apps](google-connected-apps.md) — The `google` tool profile for Google's connected apps: MCP URL, what the profile changes, and which tools to mark for user confirmation in the console - [Microsoft 365 Copilot](microsoft-365-copilot.md) — The `microsoft` tool profile (an alias of `google`), the static OAuth client and who should own it, the Teams developer portal registration, the tools Copilot asks to confirm, and the validation targets - [Derived-Layer Boundary](derived-layer-boundary.md) — Design rule: raw memories are exportable, the derived/learned layer is the moat (table classification + feature-review checklist) - [Agent Registry & Context Bindings](design/agent-registry-and-bindings.md) — Implemented v0.49.0-preview registry, agent-bound key, and subtractive binding contract - [`get_agent_bootstrap` Contract](design/agent-bootstrap-contract.md) — Implemented composed session-start bundle and fail-soft component contract - [Agent Correlation Design](design/agent-otel-correlation.md) — Implemented W3C session/run/trace mapping and verified identity precedence (v0.49.0 preview) - [`memory_access_events` Design](design/memory-access-events.md) — Implemented append-only agent audit schema/writer and current emission coverage - [Multi-Platform Connectors](design/multi-platform-connectors.md) — Design note (#1390): how the connectors UI/contracts generalize for a 2nd chat provider - [Slack Channel Picker](design/slack-channel-picker.md) — Design note (#1391): server-proxied channel listing for connector settings - [Platform-Borne Connector LLM](design/platform-borne-connector-llm.md) — Design note (#1392): SaaS-default LLM lane with BYOK as override - [Add-On Entitlements](design/addon-entitlements.md) — Design note (#1393): grant ledger upstream of the existing addon bonus columns - [Admin-Definable Plan Tiers](design/admin-definable-plan-tiers.md) — Design note (#1394): DB-backed tiers beyond hardcoded S/M/L - [`memory_revisions` Retention](design/memory-revisions-retention.md) — Design note (#2240): prune whole per-memory logs only, never single revision rows ## Guides - [Chunking Guide](chunking-guide.md) — Best practices for structuring memories (the **Compile** layer in human terms) - [Resource Tokens Guide](resource-tokens-guide.md) — External data ingestion via resource tokens (the **Ingest** layer) - [Public MCP Usage Events](public-mcp-usage-events.md) — What a public read-only MCP endpoint records per tool call, loss bounds, retention and the commit-safe export cursor - [Public Usage Budget](public-usage-budget.md) — The workspace-wide seven-day budget of anonymous public calls: counting rules, period, refusals, owner read, outage policy and operator refill - [Public MCP Custom Domains](public-mcp-domains.md) — Verified custom domains as aliases of public MCP endpoints (`https:///mcp`): states, DNS proof, Host rules, right and lease, owner API, permission call for a TLS proxy, job, CLI, switching on, stopping and rolling back - [Observability API](observability-api.md) — Internal read-only API for a self-hosted dashboard: scoped observation credentials, resources, indexer snapshots, usage and ingestion events, doc-key resolution - [Synchronization Activity](ops/sync-activity.md) — Workspace-scoped run/search status, passive allowance, authenticated manual requests and privacy-bounded authority audit - [Neural Memory Evaluation](neural-memory-evaluation.md) — Benchmark results, architecture decisions, known limitations (the **Enhance** layer evidence) - [Sleep Maintenance](sleep-maintenance.md) — Background 6-phase cleanup cycle, sleep_mode, observability, and rollback (the **Compile / Enhance** consolidation layer) - [Deployment](deployment.md) — Production deployment with Caddy reverse proxy (incl. the embedded LanceDB **"Kagura Lite"** backend, preview) - [Troubleshooting](troubleshooting.md) — Environment-specific setup fixes (e.g. WSL2 + Claude Code MCP OAuth callback) - [Remote OAuth Verification](ops/remote-oauth-verification.md) — runbook and evidence format for the OAuth/PKCE/DCR + MCP check - [Agent Credential Runbook](ops/agent-credential-runbook.md) — Mint, rotate, revoke, expire, and kill-switch agent-bound workload keys - [`memory_access_events` Retention Plan](ops/memory-access-events-retention.md) — Capacity triggers and partitioning/retention plan for the live audit table - [Slack Public Distribution](ops/slack-public-distribution.md) — Operator checklist to activate distribution so external tenants can OAuth-connect Slack (fixes `invalid_team_for_non_distributed_app`)