Skip to main content
EDN (Episodic Dialogue Network) gives your AI app persistent memory. Your app saves each exchange to EDN, then asks EDN for the relevant memory before each model call, as a Session Initialization Package (SIP). See How EDN works.
The EDN Memory API never answers questions for you and never calls your model: your app sends the SIP to its own model. EDN works with any model: Anthropic, OpenAI, open-source or your own. In the Console, EDN sends your messages to the model you connect in Model settings.
EDN uses Anthropic’s Claude Haiku model when your app saves an exchange, to detect facts and corrections, and when it checks an AI response against the SIP in Classify an AI response. Building a SIP and searching memory do not use a generative AI model. See Data handling for what is sent.
Every memory records where it came from, such as User stated (USER_STATED), Document verified (DOCUMENT_VERIFIED) or AI inferred (AI_INFERRED). Unconfirmed AI output is never included in a SIP. See Provenance.
EDN saves the correction as a new memory and, where it matches an earlier fact, replaces it. The old fact stays in the history. See Corrections.
PDF, Word, Excel, PowerPoint, Markdown, plain text, HTML, CSV and images, up to 5 MB and 30 pages per file, with up to 8 scanned pages. See Upload a document.
Each account has a per-minute request limit and a daily limit on saving memory and on building SIPs. Over a limit, EDN returns 429 with a Retry-After header. See Overview.
Every error returns a JSON body with detail and code. Check code in your app. Retry 429 after the Retry-After header. Retry 503 after the Retry-After header when it is sent, otherwise after a short wait. For 409 with DUPLICATE_IN_PROGRESS, wait until the file is ready. Fix the request for other 4xx errors. See Error handling.
EDN is a REST API, so you can call it from any language that can make HTTP requests. The docs show examples in cURL, Python and JavaScript.
Sign in to the Console and create a key on the API Keys page. The full key is shown once. See Authentication.
All memory, documents, projects and sessions belong to the account that owns the API key. A request for a specific item in another account returns 404, and lists return only your own data. See Data handling.
In the Console, you can download your account’s data as one JSON file, or export your memories in the Portable AI Memory (PAM) format. A deleted account is permanently deleted after a 30-day grace period. See Privacy and data.