Agent index: llms.txt
Outcome: store one travel preference, retrieve it in a later request, and confirm both operations in the console.
You need: a Node.js project and an account at memory.atomicstrata.ai. Nothing to install or operate beyond the client library.
- 1Create a projectGet an API key from the console.
- 2Remember a preferenceWrite one durable fact for a user.
- 3Use it laterRetrieve it and see the trace in the console.
- Sign in at memory.atomicstrata.ai.
- Go to Billing → Upgrade to Free. Free is self-serve and costs $0.
- Create a project and copy the API key (
amc_…). It is shown once.
export ATOMICMEMORY_API_URL=https://api.atomicstrata.ai
export ATOMICMEMORY_API_KEY=amc_dev_xxxxxxxxxxxxxxxxInstall the client:
npm install @atomicmemory/sdkWrite something the assistant should know next time:
import { MemoryClient } from '@atomicmemory/sdk';
const memory = new MemoryClient({
providers: {
atomicmemory: {
apiUrl: process.env.ATOMICMEMORY_API_URL,
apiKey: process.env.ATOMICMEMORY_API_KEY,
},
},
});
await memory.ingest({
messages: [{ role: 'user', content: 'I prefer aisle seats when I fly.' }],
scope: { user: 'user_001' },
});The scope says who this memory belongs to. Every write and every read names a scope, so one user's context never leaks into another's.
On a later request — a different conversation, a different day — ask the question that needs the preference:
const results = await memory.search({
query: 'Which seat should I book?',
scope: { user: 'user_001' },
});Success looks like a result about the aisle-seat preference. That result is the context your application passes to a model before it answers the person.
Open the console. Under Memories you see the stored content; under Traces you see the ingest and the search, each with its call type, timing, and reconciliation decision.
Something not working? See Troubleshooting.
You completed the smallest durable-memory loop: write a preference, retrieve it for a later request, and inspect the operations that made it happen. Next, see how scopes, corrections, and version history keep that loop safe in a real application: How memory works.
- How memory works — scopes, corrections, provenance, and lifecycle
- Developer Console — traces, usage, and API keys
- Authentication — which credential goes where
- Integrations — MCP and agent wiring