TokST Persistent memory for people and AI agents

TokST Documentation

TokST is a shared memory and state layer for AI agents. It gives people, agents, and applications one durable place to record facts, decisions, preferences, tasks, architecture notes, and supporting files.

An agent can retrieve the right project context at the start of a session, add new knowledge while it works, and hand a structured history to the next agent. The same data remains available through the CLI, web dashboard, MCP, and REST API.

Session Memory

Session Memory keeps a multi-step Agent task recoverable and reviewable. Start a session with scoped Atlas context, capture confirmed long-term knowledge as candidates, checkpoint progress before a handoff, and finalize a compact snapshot when work ends. Owners and Admins can compile, dismiss, or revert candidates from the Sessions console; reverting archives the linked formal memory while retaining the audit trail.

TokST records only the structured information supplied through these calls. Credentials, private data, raw reasoning, and short-lived tool output remain in the active Agent runtime.

Read the complete Session Memory guide for lifecycle rules, CLI and MCP flows, review permissions, reliable retries, Local behavior, and dashboard governance.

Why TokST Exists

AI sessions are temporary, while projects continue for weeks or years. Important context often lives across chat histories, local notes, repositories, and individual tools. TokST turns that context into a managed knowledge layer with stable ownership, explicit scope, searchable records, and a reviewable lifecycle.

TokST is designed for workflows such as:

  • preserving product and architecture decisions with their rationale
  • carrying coding conventions and user preferences across agents
  • preparing a focused context snapshot before an agent starts work
  • handing completed work, open tasks, and known risks to another agent
  • keeping reference documents and files next to the memories they support
  • separating personal, project, and team knowledge with clear boundaries

How Data Is Organized

TokST uses a simple hierarchy so every memory has a clear home.

LevelPurposeExample
WorkspaceOwnership and access boundary for a person or teamPlatform Team
AtlasKnowledge base for a project, subject, or workflowProduction Operations
MemorySearchable unit of knowledge with type, tags, source, and lifecycle stateFriday releases require approval
AttachmentFile connected to a memoryarchitecture-brief.pdf

A workspace can contain multiple atlases. Each atlas can define routing keywords, allowing TokST to place new memories in the most relevant knowledge base when an explicit atlas is not supplied.

What You Can Remember

Every memory has one of six types. Types make context snapshots and filtered searches easier to understand.

TypeUse it for
factVerified information and stable reference data
decisionA choice, its rationale, and its consequences
preferencePersonal, team, or project conventions
taskOpen work, follow-ups, and action items
architectureSystem boundaries, components, and technical design
noteGeneral context that fits outside the other types

Memories can also include a title, tags, source metadata, timestamps, and attachments. Files uploaded through the web dashboard can be up to 500 MB; remote MCP uploads can be up to 50 MB per file.

The Memory Workflow

  1. Authenticate with browser setup, the dashboard, or a tk_live_... API key for automation.
  2. Select a workspace and atlas to define ownership and subject scope.
  3. Remember a fact, decision, preference, task, architecture record, or note.
  4. Retrieve relevant knowledge with search or a grouped context snapshot.
  5. Maintain the record by updating, appending, archiving, restoring, or deleting it.
  6. Continue in another agent or tool through the same shared state.

The basic CLI loop is intentionally small:

tokst login
tokst remember "Production releases require approval" --type decision --tags release,policy
tokst search "release approval"
tokst context

For an agent, the same loop becomes MCP tools such as tokst_remember, tokst_search, and tokst_context.

Search and Context

TokST uses keyword-first search with semantic fallback. Direct text matches return immediately. When the configured embedding service is available and keywords do not produce a result, TokST searches 1536-dimensional vectors within the authenticated user's accessible scope.

Use search for a specific question. Use a context snapshot to give an agent a compact, grouped view of recent facts, decisions, preferences, tasks, architecture records, and notes before work begins.

Choose an Interface

All interfaces operate on the same workspaces, atlases, memories, and access rules.

InterfaceBest forEntry point
Web dashboardBrowsing, editing, account management, and large file uploadsOpen dashboard
CLITerminal workflows, scripts, imports, and local agent sessionscurl -fsSL https://tokst.com/install.sh | bash
Remote MCPChatGPT and remote agents that support Streamable HTTPhttps://api.tokst.com/mcp — 51 tools; set TOKST_MCP_TOOLSET=core for 11 core tools
Local MCPDesktop clients and local stdio integrationsbun x -y @tokst/mcp-server — 51 tools after the installer
REST APIProduct integrations and custom automationhttps://api.tokst.com/v1 — 49 authenticated endpoints
Agent skillTeaching an agent the TokST workflow from one public documenthttps://tokst.com/skill.md

Security and Data Boundaries

  • API keys inherit the account and workspace access available to their owner.
  • Memory searches and resource lookups stay within the authenticated user's accessible workspaces.
  • API keys should live in environment variables, secret managers, or client configuration.
  • Signed attachment download links expire after 15 minutes.
  • Archiving keeps a memory recoverable; deletion permanently removes the record and its stored attachment objects.

Start Here

GoalGuide
Store your first memoryGetting Started
Give an AI agent persistent memoryAgent Setup
Run and govern durable Agent tasksSession Memory guide
Understand Agent identity, nicknames, and handoffsAgent Identity
Let an agent self-install via one linkSkill Guide
Use TokST from a terminalCLI Reference
Connect ChatGPT, Claude Desktop, Cursor, or CodexMCP Server
Integrate TokST into an applicationREST API
Understand types, search, and lifecycleMemory Management
Organize knowledge boundariesWorkspaces and Atlases
Add supporting filesFile Attachments
Manage credentials and quotasAPI Keys
Invite a new user and manage Pro benefitsReferrals & Benefits
Resolve installation, connection, Local, or Agent issuesHelp Center
Review released capabilitiesVersion History