AnytimeTRAIL

System Architecture

This diagram presents the anytime-markdown workspace in five logical layers, from user-facing clients to external services. Each node corresponds to an implementation package, data store, or integration.

Last updated: 2026-08-25

Clients

VS Code extensions, the web app, and the browser extension provide user-facing entry points, while AI agent operations flow to MCP servers.

VS Code Extensions

  • Anytime Markdown
  • Anytime Graph
  • Anytime Trail
  • Anytime Agent
  • Anytime Database
  • Anytime History
  • Anytime Sheet
  • Extension Pack

Web

  • web-app

Browser Extension

  • browser-extension
AI agent operation requests

AI Agent Connections

Five MCP servers provide the connection surface for AI agents and route work into the domain core.

MCP Servers

  • mcp-markdown
  • mcp-graph
  • mcp-trail
  • mcp-cms
  • mcp-cms-remote
Tool calls and domain processing

Domain Core

Shared packages for editing, visualization, tabular data, Trail, agents, analysis, business features, and foundations perform domain work and pass results to persistence.

Editing

  • markdown-editor
  • markdown-rich-editor
  • markdown-core
  • markdown-engine
  • markdown-view
  • markdown-view-lite
  • markdown-react-islands
  • markdown-catalog
  • markdown-eval-core
  • section-lock-core

Visualization

  • graph-core
  • graph-viewer
  • graph-react-islands
  • cooccurrence-viewer
  • chart-core
  • trace-core
  • trace-viewer
  • trace-agent-node

Tabular and Database

  • spreadsheet-core
  • spreadsheet-viewer
  • database-core
  • database-viewer

Trail

  • trail-activity
  • trail-caravan-book
  • trail-db
  • trail-server
  • trail-viewer

Agents

  • agent-core
  • review-agent
  • llm-core
  • ollama-core

Analysis

  • code-analysis-core
  • code-analysis-typescript
  • code-analysis-python

Business

  • tickets-core
  • tickets-viewer
  • cms-core

Foundation

  • ui-core
  • vscode-common
Data reads and writes

Persistence

Three SQLite databases plus Markdown and configuration files retain information and exchange data with external services when needed.

SQLite

  • activity.db
  • caravan-book.db
  • catalog.db

Files

  • docsRoot Markdown
  • .tickets/*.md
  • .anytime/lep.json
External integration data

External Services

Data platforms (Amazon S3, Supabase, Google Drive), AI and execution runtimes (Ollama, AI coding agents), and hosting and repositories (Cloudflare Workers, GitHub) are the integration points outside the workspace.

Data Platforms

  • Amazon S3
  • Supabase
  • Google Drive / Docs API

AI and Execution

  • Ollama
  • Claude Code / Codex CLI

Hosting and Repositories

  • Cloudflare Workers
  • GitHub