Skip to content

Thinklio Documentation

This page is generated by scripts/build-doc-index.py from the docs' front matter. Don't edit it by hand: re-run the script after a doc changes.

Start here

Thinklio's current state lives in its project records (Novansa's format, ~/dev/docs/conventions/project-records.md), its plans and its agreed proposals. The numbered documents further down were written between March and June 2026, before the pilot; where they differ from the code or the records, the code and the records win, and the docs pass of Stage 1 is bringing them into line.

Plans

Plan Status
Notifications, and feedback from the app in progress
The shell and the views (phase A of the shell proposal) in progress
One shell for Thinklio and RippleBase in progress
The architecture docs, one coherent set in progress
The audit log (RM-34) and the object model's shared pieces (RM-49 step 1) proposed
Novansa Pilot Build Plan in progress
Model tiers, Thinklio's defaults and account pins done
Stage 0, the critical holes done
Stage 1, the groundwork after the audit done
Accounts and members in Thinklio, not Clerk organisations done
Chat, part 1, a full chat in the Chat menu done
Error reporting with Sentry, under the analytics standard done
Reading project records, part 1 (the registers) done
Settings, members, feedback and help, as RippleBase has them done
Files in every space (RM-29) done
Chat, part 2, chat in spaces and comments on things done
The Flutter app, to parity for day-to-day use (RM-12) done
Spaces, from Settings (RM-33) done
Services Host Migration Plan done

Audits

Proposals

A proposal's status says how much of it is agreed or built; its first lines say what.

Proposal Status
The Daily Driver's Shape (Proposal) agreed
Knowledge Synthesis and Wiki Layer (Proposal) draft
Memory as a Service (Proposal) draft
Model Router & Tiered Inference (Proposal) built in part
Module Architecture (Proposal) built in part
The Object Model (Proposal) agreed
Personal Assistant (Proposal) draft
Personal Memory as a Service (Discussion) discussion
One Shell, Modules and Integrations (Proposal) agreed in part
Repo Ingestion (Proposal) built
Service Library & Capability Surface (Proposal) draft
Skills as a Behaviour Primitive (Proposal) draft
Work Model & Information Architecture (Proposal) agreed in part

Canonical document set

The documentation is organised into 16 numbered documents, each covering a distinct domain. Read them in order for a complete picture, or jump to the area you need.

Doc Title Layer Description
01 Product & Strategy strategy What Thinklio is, who it serves, the functional specification, pricing model and plan enforcement, and the feature backlog.
02 System Architecture architecture The service topology, platform stack, execution model, and deployment topology for Thinklio. Covers the Convex-first reactive backend, Clerk identity, messaging-first core, durable workflows, execution tiers and workflow budget, observability, and the archival Go service design.
03 Agent Architecture & Extensibility architecture The agent model, execution contract, composition and delegation, job system, smart input triage, attention surfacing, extensibility layers, MCP integration, Convex component integration, and agent views.
04 Data Model architecture Thinklio's data model as built: every Convex table, grouped as the schema groups them, with what each holds and its indexes, generated from schema.ts. Also how access is decided and which tables are legacy. The April 2026 design is archived.
05 Persistence, Storage & Ingestion architecture How Thinklio persists data in Convex, stores files in Cloudflare R2, and ingests documents through the media and library pipeline. Covers index design, reactive queries, vector search, file lifecycle, document intelligence, retrieval, backup, and operational concerns.
06 Events, Channels & Messaging architecture How Thinklio models events, runs durable agent execution, and handles inbound and outbound messages across channels. Covers the event table and reactive event distribution, the Convex Workflow component as the harness, channel identity and lifecycle, multi-channel delivery, the Postmark email channel, and messaging UX conventions.
07 Security & Governance architecture Thinklio's security model, governance policy framework, credential management, secrets vault, and MCP tool permission architecture.
08 Agents Catalogue & Platform Services capabilities The 23 starter agent templates, implementation logistics, the predictive planning system, and platform services for LLM configuration, credentials, credits, and administration.
09 External API & Tool Integration interfaces The three API surfaces (Channel, Platform, Integration), the endpoint reference, the tool developer guide, and the built-in MCP server reference.
10 Client Applications & UX interfaces End-user guide, Thinklio app UI specification, documentation and developer portal UI, and internationalisation architecture.
11 Convex Reference developer Platform capabilities, conventions, and component directory for the Thinklio Convex backend.
12 Developer Guide developer The working reference for developers building, running, testing, deploying, and operating Thinklio. Covers repository layout, Convex + Clerk setup, programming conventions, custom agent development, testing and observability, and deployment lifecycle.
13 Implementation Plan & Status meta Replaced on 3 November 2026: what's planned and where it stands is in the roadmap, the plans and the records. The old phased plan is archived.
14 Thinklio Reference meta Replaced on 3 November 2026: the April synthesis of docs 01 to 13 had drifted from them and from the code. Start at the index's Start here instead. The old text is archived.
15 Tenancy & Deployment Topology architecture How Thinklio implements multi-tenancy today (a single pooled Convex deployment with application-layer isolation), why that is the right choice at current scale, and the planned paths for graduating a tenant to a dedicated Convex deployment or a customer-owned Convex account — including new-tenant provisioning and the pooled-to-dedicated migration procedure.
16 Chats, Channels & Identity architecture The canonical model for how Thinklio chats relate to the channels (transports) that reach them, and how identities and credentials attach to principals. Establishes World B terminology (channel = transport, chat = container), chat-as-canonical with three channel binding modes (mirror, relay, injection), the verified deep-link identity-binding flow, the principal model in which identity and credentials are polymorphic over user/account/agent, the universal semantic-message and compose-once/render-by-binding-mode delivery model with its channel adapter contract, and the native-only Mirror posture for v1.

Authority map

Each doc is authoritative for the domain named in its title. When two docs touch the same concept, the owning doc wins and the other should cross-reference.

Strategy

  • 01 Product & Strategy — What Thinklio is, who it serves, the functional specification, pricing model and plan enforcement, and the feature backlog.

Architecture

  • 02 System Architecture — The service topology, platform stack, execution model, and deployment topology for Thinklio. Covers the Convex-first reactive backend, Clerk identity, messaging-first core, durable workflows, execution tiers and workflow budget, observability, and the archival Go service design.
  • 03 Agent Architecture & Extensibility — The agent model, execution contract, composition and delegation, job system, smart input triage, attention surfacing, extensibility layers, MCP integration, Convex component integration, and agent views.
  • 04 Data Model — Thinklio's data model as built: every Convex table, grouped as the schema groups them, with what each holds and its indexes, generated from schema.ts. Also how access is decided and which tables are legacy. The April 2026 design is archived.
  • 05 Persistence, Storage & Ingestion — How Thinklio persists data in Convex, stores files in Cloudflare R2, and ingests documents through the media and library pipeline. Covers index design, reactive queries, vector search, file lifecycle, document intelligence, retrieval, backup, and operational concerns.
  • 06 Events, Channels & Messaging — How Thinklio models events, runs durable agent execution, and handles inbound and outbound messages across channels. Covers the event table and reactive event distribution, the Convex Workflow component as the harness, channel identity and lifecycle, multi-channel delivery, the Postmark email channel, and messaging UX conventions.
  • 07 Security & Governance — Thinklio's security model, governance policy framework, credential management, secrets vault, and MCP tool permission architecture.
  • 15 Tenancy & Deployment Topology — How Thinklio implements multi-tenancy today (a single pooled Convex deployment with application-layer isolation), why that is the right choice at current scale, and the planned paths for graduating a tenant to a dedicated Convex deployment or a customer-owned Convex account — including new-tenant provisioning and the pooled-to-dedicated migration procedure.
  • 16 Chats, Channels & Identity — The canonical model for how Thinklio chats relate to the channels (transports) that reach them, and how identities and credentials attach to principals. Establishes World B terminology (channel = transport, chat = container), chat-as-canonical with three channel binding modes (mirror, relay, injection), the verified deep-link identity-binding flow, the principal model in which identity and credentials are polymorphic over user/account/agent, the universal semantic-message and compose-once/render-by-binding-mode delivery model with its channel adapter contract, and the native-only Mirror posture for v1.

Capabilities

  • 08 Agents Catalogue & Platform Services — The 23 starter agent templates, implementation logistics, the predictive planning system, and platform services for LLM configuration, credentials, credits, and administration.

Interfaces

  • 09 External API & Tool Integration — The three API surfaces (Channel, Platform, Integration), the endpoint reference, the tool developer guide, and the built-in MCP server reference.
  • 10 Client Applications & UX — End-user guide, Thinklio app UI specification, documentation and developer portal UI, and internationalisation architecture.

Developer

  • 11 Convex Reference — Platform capabilities, conventions, and component directory for the Thinklio Convex backend.
  • 12 Developer Guide — The working reference for developers building, running, testing, deploying, and operating Thinklio. Covers repository layout, Convex + Clerk setup, programming conventions, custom agent development, testing and observability, and deployment lifecycle.

Meta

  • 13 Implementation Plan & Status — Replaced on 3 November 2026: what's planned and where it stands is in the roadmap, the plans and the records. The old phased plan is archived.
  • 14 Thinklio Reference — Replaced on 3 November 2026: the April synthesis of docs 01 to 13 had drifted from them and from the code. Start at the index's Start here instead. The old text is archived.

Dependency graph

Edges are declared in each doc's depends_on frontmatter. A → B means A builds on concepts defined in B.

graph LR
  D1["01 Product & Strategy"]
  D2["02 System Architecture"]
  D3["03 Agent Architecture & Extensibility"]
  D4["04 Data Model"]
  D5["05 Persistence, Storage & Ingestion"]
  D6["06 Events, Channels & Messaging"]
  D7["07 Security & Governance"]
  D8["08 Agents Catalogue & Platform Services"]
  D9["09 External API & Tool Integration"]
  D10["10 Client Applications & UX"]
  D11["11 Convex Reference"]
  D12["12 Developer Guide"]
  D13["13 Implementation Plan & Status"]
  D14["14 Thinklio Reference"]
  D15["15 Tenancy & Deployment Topology"]
  D16["16 Chats, Channels & Identity"]
  D2 --> D1
  D2 --> D4
  D2 --> D11
  D3 --> D1
  D3 --> D2
  D3 --> D4
  D3 --> D7
  D3 --> D11
  D4 --> D2
  D5 --> D2
  D5 --> D4
  D5 --> D11
  D6 --> D2
  D6 --> D4
  D6 --> D5
  D6 --> D7
  D7 --> D2
  D7 --> D4
  D7 --> D11
  D8 --> D2
  D8 --> D3
  D8 --> D4
  D8 --> D5
  D8 --> D7
  D9 --> D2
  D9 --> D3
  D9 --> D4
  D9 --> D5
  D9 --> D7
  D9 --> D8
  D10 --> D1
  D10 --> D2
  D10 --> D4
  D10 --> D7
  D10 --> D9
  D12 --> D2
  D12 --> D3
  D12 --> D4
  D12 --> D7
  D12 --> D9
  D12 --> D10
  D12 --> D11
  D15 --> D2
  D15 --> D4
  D15 --> D7
  D16 --> D4
  D16 --> D6
  D16 --> D7

Suggested reading order

This order respects the dependency graph so later docs never depend on earlier ones you have not yet read. Tombstones, which only point elsewhere, are left out.

  1. 01 Product & Strategy
  2. 11 Convex Reference
  3. 02 System Architecture
  4. 03 Agent Architecture & Extensibility
  5. 04 Data Model
  6. 05 Persistence, Storage & Ingestion
  7. 06 Events, Channels & Messaging
  8. 07 Security & Governance
  9. 08 Agents Catalogue & Platform Services
  10. 09 External API & Tool Integration
  11. 10 Client Applications & UX
  12. 12 Developer Guide
  13. 15 Tenancy & Deployment Topology
  14. 16 Chats, Channels & Identity

Living documents

These documents are updated continuously and are not versioned with the numbered set:

  • Decision Log — ADR-style records of significant architectural and product decisions
  • Changelog — Reverse-chronological record of documentation changes

Agent specifications

Individual agent specifications live under agent-specs/. Start with the index doc for the governance model and catalogue.

Archive

The archive/ directory preserves the pre-consolidation documentation set. See archive/README.md for the old-to-new mapping and recovery instructions.

Running the docs locally

# From repo root
pip install -r docs/requirements.txt
mkdocs serve
# Browse http://127.0.0.1:8000/

To regenerate this page after doc changes:

python scripts/build-doc-index.py