Skip to main content

1. Create your workspace and API key

Sign in to the dashboard, select your workspace and create a server-side API key. Use read and write for ordinary application integration. Keep administrator and deletion credentials separate. An API key authenticates your workspace. Your application remains responsible for authenticating its own users and selecting their stable external_user_id on the server. Keep that mapping consistent across sessions and services.

2. Configure your backend connection

The hosted API root is https://api.memoryo.dev. For a self-hosted instance, replace it with your instance’s API root, without /v1. The repository’s local beta profile uses http://127.0.0.1:18000. MEMORYOS_TEST_OWNER is the example application’s stable user ID, not a secret or separate MemoryOS credential. In your application, use the ID resolved by your authenticated server-side user mapping. Keep API keys out of browser code and source control.

3. Install a client

MemoryOS is the product name. The published SDK package is memoryo-sdk because memoryos was unavailable on the package registries. Python imports from memoryos; TypeScript imports MemoryOS from memoryo-sdk.
  • Python SDK: pip install memoryo-sdk==0.1.2
  • TypeScript SDK: npm install memoryo-sdk@0.1.3
  • MCP: connect through an authenticated gateway or run a private sidecar.
The quickstart walks through saving evidence, polling the original job and retrieving current context. Its no-key simulation is also available for exploring the workflow before connecting an application.

4. Choose the contracts your application needs

Explicit scope selects preference applicability; it does not grant project access. Source authority comes from registered writer policy, not arbitrary metadata. Source review, A/B clarification, typed preference review and operator correction are different contracts.

5. Verify your integration

Submit a statement once, retain its job ID and inspect the processing result. Retrieve for the same owner, then verify the returned current records and provenance. Reopen the conversation and confirm that the owner mapping persists. For corrections, follow the supported review/replacement path and retrieve again. A queued write is not an applied correction. Apply visibility guards before using context; keep decision cards separate from active facts. When reporting a problem, include SDK/runtime versions, redacted request/job IDs, reproduction steps and observed results. Exclude credentials and personal/customer data. Distinguish simulation, backend responses and model-generated answers.