01 · OVERVIEW & PREREQUISITES
What Callmark does
Callmark is one shared, versioned memory and handoff layer for every AI agent you work with. Agents save what they learn, recall it across tools, and commit structured handoffs when switching mid-task—while you inspect, edit, review, and govern every record from the dashboard.
Used for both the web dashboard and OAuth 2.1 agent sign-in—no API keys to distribute.
Claude Code, Claude Desktop/Web, ChatGPT, Cursor, VS Code Copilot, Windsurf, Gemini CLI, or Codex.
Includes unlimited agents, versioned memories, HMF handoffs, and keyword recall with no card needed.
02 · 60-SECOND SETUP
Connect your first client
claude mcp add --transport http callmark https://callmark.sensifai.com/mcp
03 · DASHBOARD OVERVIEW
Navigate the workspace & live updates
Goal: See your memory counts, pending review queue, recent edits, and active handoffs in one view.
- 1The sidebar splits into Work (Overview, Memories, Review, Handoffs, Graph) and Account (Agents, Activity, Plan & usage, Privacy), plus Administration for workspace admins.
- 2Press ⌘K (or Ctrl+K) anywhere in the dashboard to search memories by title or jump straight to any page.
- 3Switch between Light, Dark, and Auto themes from the sidebar footer or top bar. A green Live dot confirms real-time updates from your agents via SSE.
As soon as an agent saves a memory or commits a handoff, it appears in Recently changed and Work in progress without refreshing.
If the overview shows a Setup Guide instead of stats, connect your first MCP client under Agents. If billing access says inactive, check Plan & usage.
04 · AGENTS & OAUTH 2.1
Connect an AI agent
Goal: Authorize Claude Code, Cursor, VS Code, ChatGPT, Windsurf, Gemini CLI, or Codex to read and write shared memory.
- 1Open Agents in the sidebar and copy your MCP endpoint URL or pick the ready-made snippet for your client.
- 2Add the snippet to your agent and start a session. Your browser opens Sensifai OAuth 2.1 PKCE sign-in—no static API key to copy or rotate.
- 3Approve access. You can revoke any agent later from the Connected agents table without deleting your memories.
The agent appears in Connected agents with its scope (Read and write) and last active timestamp.
Make sure your client supports remote MCP over HTTP + OAuth 2.1. Disconnecting an agent revokes its refresh tokens immediately; active short-lived access tokens expire within 15 minutes.
05 · VERSIONED CATALOGUE
Search, edit & version memories
Goal: Inspect every memory call mark, search by meaning or exact words, and edit safely without losing history.
- 1Search by keywords on the free trial, or by hybrid keyword + semantic + entity-graph meaning on Pay as you go.
- 2Filter by Attention (Needs review, Clean, Pinned), Memory type, or Tags using the filter bar.
- 3Open any memory to edit its title, tags, or body. Saving creates a new immutable version; earlier versions stay inspectable under History.
The version number increments (for example v1 → v2) and your edit appears in the timeline attributed to you.
If an agent saved a newer version while you were editing, Callmark catches the version mismatch (409), keeps your draft intact, and lets you decide before overwriting.
06 · LIBRARIAN & PRIVACY GATE
Review flagged findings
Goal: Stay in control of duplicates, contradictions, personal data, scrubbed secrets, and prompt injections.
- 1The sidebar badge shows how many memories wait in your Review Queue. Filter between All, Safety & PII, or Conflicts & Dupes.
- 2Each card explains the exact finding: a cosine duplicate/similarity match, an NLI contradiction, detected PII, a redacted secret ([REDACTED:<kind>]), GDPR special-category data (art9), or an injection pattern.
- 3Click Looks fine to clear the flag, or Open memory to edit, merge, or forget the record.
Reviewed items leave the queue immediately and the sidebar counter drops.
Callmark never silently deletes or auto-merges conflicting memories. Secrets are scrubbed synchronously before storage, while everything else waits for your decision.
07 · HMF v1.0 CHECKPOINTS
Hand work between agents
Goal: Switch from one AI coding tool to another mid-task without re-explaining constraints, decisions, or test status.
- 1Before ending a session, ask your current agent to commit a handoff (it calls handoff_commit with Objective, Constraints, Current State, Next Step, and Verification Checks).
- 2In the next tool, ask it to resume the thread (it calls handoff_get). With context=true, Callmark also packs your pinned memories and relevant notes inside a token budget.
- 3Inspect any thread under Handoffs and toggle between Brief (~300 tokens), Standard (~1,500 tokens), and Full (verbatim) tiers.
Each checkpoint increments the thread sequence number, records the writing agent, and locks user-verified constraints.
If an agent attempts to alter a locked constraint ([C1], [C2]) without approval, Callmark rejects the commit to protect the original requirement.
08 · ENTITY GRAPH
Explore the knowledge graph
Goal: Visualize people, projects, tools, services, and documents extracted from your memories and see how they link.
- 1Open Graph in the Work navigation. Filter nodes by entity kind (project, tool, service, organization, person, place, document, concept).
- 2Hover over any node to highlight its direct connections and relation predicates; drag nodes to rearrange the layout.
- 3Click an entity to slide open its detail sheet and jump directly to every memory that mentions it.
Entities and relations populate automatically after saves when AI enrichment is active, and update immediately when memories are edited or forgotten.
If the graph is empty on a fresh workspace, make sure you are on Pay as you go (or self-hosted with an LLM librarian configured) and have saved a few memories.
09 · TAMPER-EVIDENT LEDGER
Inspect activity & audit chain
Goal: Verify every memory write, handoff, export, and agent change in an append-only SHA-256 hash chain.
- 1Open Activity under Account to view chronological actions across your workspace.
- 2Filter by actor (All, Agents, You, System) to isolate automated writes from manual dashboard edits.
- 3Hover any hash badge (#...) to inspect the full SHA-256 chain entry. Rows record IDs, actors, and counts—never memory content.
Every save, update, handoff commit, export, and agent revocation appends a verifiable row linked to its predecessor.
Database grants block UPDATE and DELETE on the audit log for the application role, so historical entries cannot be altered silently.
10 · BILLING & COMPUTE UNITS
Understand plans & wallet
Goal: Track your trial status or Sensifai wallet balance, check lifetime volume tiers, and estimate AI compute usage.
- 1Open Plan & usage to see your active mode (14-day Free trial, Pay as you go wallet, or self-hosted).
- 2Core memory operations—saving, reading, editing, versioning, HMF handoffs, and keyword search—are never charged.
- 3Use the Cost estimator slider to preview lifetime-tiered CU pricing (€0.004 down to €0.0015 per CU) for semantic search, NLI checks, and knowledge graph extraction.
Your remaining trial days or live EUR wallet balance synced from the Sensifai Marketplace.
If your wallet hits €0, AI enrichment and vector search pause gracefully while core saves, reads, keyword search, and handoffs keep working.
11 · PORTABILITY & ERASURE
Export or erase your data
Goal: Download a complete machine-readable backup at any time, or permanently erase your workspace with cryptographic proof.
- 1Open Privacy to review every category Callmark stores and confirm EU hosting + zero model training status.
- 2Click Download my data to export a single JSON archive containing all memories (every version), handoffs, and knowledge graph links.
- 3To leave permanently, click Delete my account, type the confirmation phrase (delete my account), and save your EdDSA-signed erasure receipt.
Account erasure immediately hard-deletes memories, versions, handoffs, graph entities, sessions, and OAuth tokens, returning a verifiable JWS receipt.
Export, erasure, and the activity trail remain accessible even without an active plan or during account suspension.
12 · PROTOCOL SPECIFICATION
MCP tool reference
Connected agents interact with Callmark over Streamable HTTP MCP using these eight tools. Search returns compact stubs while fetch and handoff_get load full context on demand.
| Tool | Mode | Key parameters | Behaviour |
|---|---|---|---|
| search | read | query, limit | Hybrid keyword + semantic vector + entity-graph search. Returns lightweight stubs to protect prompt budgets. |
| fetch | read | id | Retrieve the full text, call mark, trust level, tags, and librarian flags for a specific memory ID. |
| memory_save | write | title, body, tags, expected_version, supersedes_id | Create or update a memory. Runs synchronous secret redaction & PII policy before Postgres write. |
| memory_history | read | id | List immutable versions, timestamps, and writers for a memory call mark. |
| memory_forget | destructive | id | Permanently erase a memory, its version history, and derived knowledge graph links. |
| handoff_commit | write | markdown, thread_id, expected_parent_id | Commit an HMF v1.0 checkpoint (Objective, Constraints, State, Next Step, Verification) to a thread. |
| handoff_get | read | thread_id, tier, context, budget_tokens | Fetch the latest handoff in brief, standard, or full tier; optionally pack pinned Zone A context. |
| task_claim | write | task_id, holder, ttl_seconds | Acquire a time-limited lease on a task ID so parallel agents do not collide on the same work. |
13 · SELF-HOSTING & DEPLOYMENT
Run Callmark in your own VPC
Callmark ships as a single container image bundling the Rust HTTP/MCP binary and static Next.js export alongside Postgres 18 + pgvector with row-level security (app_owner()).
Serves /mcp, REST /api/v1/*, OAuth endpoints, and the static UI on one port.
Optional CALLMARK_MODEL_DIR runs multilingual-e5-small & NLI locally on CPU—zero third-party calls.
Pair with Logto or Keycloak OIDC in production, or omit billing & OAuth variables for an isolated local workspace.
CALLMARK_PUBLIC_URL=https://callmark.example.com DATABASE_URL=postgres://callmark_app:<secret>@db:5432/callmark DATABASE_MIGRATION_URL=postgres://postgres:<secret>@db:5432/callmark CALLMARK_SIGNING_KEY=<base64-ed25519-seed> CALLMARK_PII_POLICY=flag # flag | redact | reject # Optional: OIDC_ISSUER / LOGTO_* for OAuth 2.1 and LLM_* for the librarian