Skip to main content
← Work
Systems Design2026Independent Research · Ongoing

Clarence: Designing an AI Collaboration System

Trust CalibrationHuman-AI CollaborationAgent OrchestrationClaude CodeSQLite Knowledge BaseModel Context Protocol (MCP)Semantic Vector SearchPublic TelemetryPlatform Migration
Live systemInteractive pages from the running system
3,781Active memories
8,261Total memories
10,319Active facts
15,646Total facts

As of November 13, 2026. Active memories and active facts are all indexed for semantic search. Totals include archived entries.

Live Knowledge GraphInteractive map of part of Clarence's knowledge

The Design Problem

I built Clarence because ordinary AI tools forget context every time the window resets. The goal was a working system with memory, task routing, scheduled maintenance, and enough judgment to act on its own while still showing me what it is doing.

The hard problem is calibrated trust. When should it act without asking? When should it stop and ask for approval? When does silence mean everything is fine, and when does it mean the reporting failed?

How It Works

The system runs through Hermes, the coordinating agent. gpt-6.1-sol workers + Claude Code specialist handle coding, repository investigation, and review. Long-term memory lives in SQLite + sqlite-vec. Agents read memory through a limited set of tools over MCP (the Model Context Protocol), and a single agent writes to it. Agents report finished work in written summaries.

The system also runs 5 scheduled jobs for maintenance, reporting, retention, and knowledge sync.

In a fixed 75-question evaluation in May 2026, searching the wiki first raised the number of questions with a relevant result in the top 20 from 23 to 73.

Trust Calibration

A task is not done until the agent states what it was asked, says what it did, and shows the result.

Early on, delegated work vanished with no word back on whether the task was understood. The fix was a required report whenever work changes hands.

Hermes keeps current task context, session notes, and a durable database, so work continues across sessions.

What Changed

Clarence has already been through a platform failure. The original system ran on a platform called OpenClaw. When OpenClaw became unavailable, I migrated to Hermes and kept memory, scheduling, the written reports between agents, and the collaboration patterns.

After the move I stopped treating Clarence as a prompt chain and started treating it as infrastructure. That meant deciding what stays readily available, what belongs in the database, and what gets recovered from transcript history.

What survived the migration: a SQLite database, documented persona and operating rules, written reports between agents, static site deploy checks, and public telemetry. The undocumented pieces broke first.

Since July 2026, I have written rules for which source wins when memories conflict, how much context each prompt gets, and how fast memory can grow.

The public graph is read-only.

When work is delegated, the main session now stays available. Four background timers watch for stalled work, undelivered results, memory-search health, and weekly drift. Live progress is still hard to read.

Recent Work Through the System

Since July 2026, I have used Clarence to take three public builds from rough brief to working page.

Groove Dice

A browser drum sequencer with eight groove families, live timing and velocity, and MIDI and WAV export. Clarence handled the research, implementation, testing, and a GitHub Pages repair. The musical rule was mine: stable anchors hold the beat while density, feel, timing, velocity, and seeded variation change what happens around them.

Music Atlas

A public explorer built from 47,445 usable tracks out of about 51,000 files, with ten explainable neighbors for every selected track. Clarence coordinated data preparation, model evaluation, privacy checks, mobile repair, and deployment. I decided what counted as a useful relationship and which claims the data could support.

Ableton MCP Timing Grammar

A forked Ableton MCP grew from 22 tools to 52 so Claude Code could inspect the MIDI it wrote instead of guessing. A 28-note test replaced random humanization with explicit timing relationships.

These are AI-assisted builds. I chose the direction, rejected weak output, and made the musical and product judgments.

The Main Failure: Visibility of System Status

Clarence still breaks Nielsen's first usability heuristic: visibility of system status. A system should keep users informed about what is going on through timely feedback. Clarence does this better than it used to, but not well enough.

A scheduled job can run overnight and deliver a report. A worker can investigate a repository. The background timers can watch for stalls. I still have to infer whether the system is thinking, waiting, stuck, or done.

It is a feedback-design problem. Solving it means making system status part of the interface instead of a side effect of chat messages, dashboard panels, or raw tool output.

Open Problems

The Plan-Execution Gap

Background delegation works. The remaining gap is closure. A worker can finish the code and still fail the job if the controller loses the results, skips delivery, or makes me reconstruct what happened.

Budget Constraint as Design Constraint

Compute cost limits which model gets which job. gpt-6.1-sol workers + Claude Code specialist are reserved for work that benefits from stronger implementation or review.

Memory Growth and Review Debt

The knowledge base grew from a small hand-curated file into thousands of structured entries. A nightly audit identifies stale, duplicate, expired, and review-due material without deleting it automatically. More data does not mean better recall. Old entries still need review and merging.

Platform Fragility

Twitter/X posting was built, tested, and blocked by anti-automation fingerprinting within a single session. OpenClaw became unavailable. Systems built on platforms I do not control have to be designed for migration.

Visibility of System Status (Nielsen #1)

This is still the most persistent problem. Reports are delivered, jobs are logged, and workflows complete, but silence during live work remains ambiguous. The system needs a clearer progress display.

What the System Does Today

  • 5 enabled scheduled jobs and 4 of 4 background timers active as of the 2026-11-13 snapshot
  • One knowledge database, fully indexed across four local vector indexes
  • Background delegation, explicit delivery of finished work, saved progress for long tasks, and a durable database that preserve continuity across sessions
  • Read-only memory access for outside tools, with writes restricted to internal paths
  • Public pages showing the architecture, live status, and knowledge map

Documentation

Clarence has a dedicated system wiki because too much durable system knowledge was trapped in chat history, repo docs, and fragile notes. The raw internal wiki stays private. Public documentation is curated, because implementation notes can expose paths, operational assumptions, and private context.

The current public system map is How Clarence Remembers. I wrote more about the documentation decision in Why Clarence Needed a System Wiki. The architecture is documented in a separate public repository: github.com/nomadjames/clarence-architecture.

Concepts and Skills

Agent orchestration designTrust calibrationHuman-in-the-loop designMemory persistence across AI sessionsMCP bridge architectureSQLite knowledge database designSemantic vector searchPublic telemetry designPlatform migration under constraintStatus visibility critiqueSystems thinking