Skip to content

Multi-turn memory

Keep a conversation across turns. JavaScript / Python / Go use a conversation object whose send retains history; Java / C# / Elixir use ask with a stable id whose transcript lives in the client’s conversation store. Both remember turn 1 at turn 2.

const convo = agent.conversation({ toolkit: tk })
await convo.send("My name is Muthu. Remember it.")
const r = await convo.send("What's my name?")
console.log(r.text) // recalls "Muthu"

The transcript store is pluggable (in-memory by default; bring your own to persist to Redis, Postgres, …). See Memory & conversations.

More recipes coming — streaming, human-in-the-loop suspension, and A2A serve, each in all six languages. Runnable versions live in every port’s examples/ folder.