Agent knowledge.
Persistent across sessions.
Docs gives agents a persistent document store that survives across sessions. Create design docs, research notes, checklists, and structured JSON โ then update, retrieve, and list them anytime. The working memory your agents need, without rebuilding context from scratch every time.
4 tools
create ยท update ยท get ยท list
4 formats
markdown ยท text ยท checklist ยท json
Tag-based org
namespaced tags for filtering
Free forever ยท No credit card required
Four Tools. One Persistent Store.
docs.create starts the document. docs.update builds on it. docs.get retrieves it. docs.list finds it.
Create a Persistent Document
Creates a new document that persists across agent sessions and can be iteratively modified. Supports markdown, plain text, checklist, and JSON formats. Use namespaced tags (e.g. project:api-redesign, type:design-doc) to link related documents together and make them easily retrievable via docs.list.
Parameters & Capabilities
- title (required): human-readable document name
- body: initial content โ markdown by default
- format: 'markdown' (default), 'text', 'checklist', or 'json'
- tags: array of strings โ use namespaced keys like project:x, type:y for easy filtering
- metadata: optional structured object for custom attributes
- Returns doc_* ref for future updates and retrieval
Document lifecycle: create โ iterate โ retrieve
How Teams Use Docs
From design documents to cross-session state โ Docs gives agent outputs a persistent address so nothing gets rebuilt from scratch.
Iterative Design Documents
Agents create a design doc at the start of a project and refine it across multiple sessions using append mode. Each session adds new findings, decisions, and rationale without overwriting prior work. The version counter tracks every revision, and tags like project:api-redesign scope the document to its project namespace.
Related Solutions
Multi-Step Research Accumulation
For investigations that span many tool calls โ querying Salesforce, pulling metrics, analyzing code โ agents append findings to a single research document as each step completes. At the end, docs.get returns the complete record. Nothing is lost between calls, and the document is the authoritative log of the investigation.
Related Solutions
Cross-Session Task Checklists
Use the checklist format to track progress on multi-step tasks that span multiple agent sessions or users. An agent creates the checklist with all required steps, then updates completed items as each phase finishes. docs.list with a type:checklist filter surfaces all in-progress work across your agent fleet.
Related Solutions
Project Wiki with Namespaced Tags
Organize a body of knowledge across multiple documents using namespaced tags โ project:x for scoping, type:y for categorization, status:draft vs status:final for lifecycle tracking. docs.list with tag filters instantly surfaces all documents for a project, making the tag scheme a lightweight knowledge graph.
Related Solutions
Session Memory That Outlives Context
At the end of a long session, agents serialize key decisions, open questions, and context into a persistent document. The next session starts with docs.get to reload that context โ no re-discovery, no lost rationale. This is cross-session memory without the complexity of a full vector store.
Related Solutions
Structured JSON Agent State
Use the JSON format to store structured agent state โ configuration, experiment parameters, intermediate results โ that needs to persist between calls without going into a full entity. docs.update replaces or merges the JSON body. docs.get retrieves it ready to parse. Lightweight persistent state for agents that don't need a database.
Related Solutions
Designed for agent workflows
Every design decision in Docs is optimized for how agents actually use persistent storage โ incremental, tag-scoped, and predictably priced.
Four content formats
markdown, text, checklist, and json โ each optimized for its use case. Checklist format supports progress tracking. JSON format stores structured state. The format field on retrieval tells agents exactly how to parse the body.
Namespaced tag system
Use structured tags like project:x, type:design-doc, status:draft to build a lightweight project namespace. docs.list filters to documents matching ALL specified tags โ tag intersection, not union โ giving you precise scoping.
Append mode for incremental builds
docs.update with append: true adds content to the end of an existing document without overwriting it. Critical for multi-step agent workflows where each call adds a section โ no read-modify-write cycle needed.
Version counter on every update
Every docs.update increments the version field. Agents can track how many times a document has been modified and surface the latest version number alongside the content โ lightweight revision awareness without full history storage.
List without loading bodies
docs.list returns summaries (ref, title, format, tags, version, timestamps) without fetching full document bodies. Agents can scan hundreds of documents to find the right one before paying to retrieve its content with docs.get.
Flat, predictable credit cost
Every Docs operation costs exactly 1 credit โ create, update, get, and list alike. No variable costs based on document size or query complexity. Budget your document operations precisely.
See it in action
Four common patterns โ from incremental design docs to cross-session memory.
Create a design doc and incrementally append findings across multiple agent calls.
// 1. Start the design document
const created = await client.perform("data-grout@1/docs.create@1", {
title: "API Redesign Notes",
body: "## Goals
- Simplify auth flow
- Add rate limiting
- Deprecate v1 endpoints",
format: "markdown",
tags: ["project:api-redesign", "type:design-doc", "status:draft"]
});
// created.ref = "doc_abc123"
// 2. Later, append a new section without overwriting
await client.perform("data-grout@1/docs.update@1", {
ref: created.ref,
body: "
## Decision: Rate Limiting
Using token bucket algorithm. 1000 req/min per key.",
append: true
});
// 3. In the next session, retrieve the full document
const doc = await client.perform("data-grout@1/docs.get@1", {
ref: "doc_abc123"
});
// doc.body contains all sections, doc.version = 2Frequently asked questions
Give your agents a memory that lasts.
Create documents, append findings, retrieve context โ persistent knowledge that survives every session boundary.
