Architecture · Memory

SwiftMaestro Memory vs. BEADS

A technical comparison of two approaches to agent memory: a general-purpose shared memory store and a purpose-built coding-agent issue tracker.

At a Glance

SwiftMaestro Memory is built for broad, personal AI recall. BEADS is built for long-horizon coding workflows.

Dimension SwiftMaestro Memory BEADS
What it is General-purpose shared memory store for a native macOS AI assistant. Purpose-built distributed issue tracker for coding agents.
Core abstraction Hierarchical URI-addressed files: maestro://<kind>/<path> Dependency-graph issues: bd-a1b2
Storage backend Plain files under ~/.ai-context/memory; FTS5 index in SQLite (GRDB). Dolt version-controlled SQL database.
Primary use case Cross-session recall, knowledge base, context profiles, plans, todos. Long-horizon coding workflows, work discovery, multi-agent coordination.
Agent integration Native Swift tools + ai-context-bridge MCP. bd CLI invoked by agents; IDE/agent plugins.
Sync / multi-agent Shared filesystem folder (possibly iCloud-backed); no locking. Dolt remotes, server mode, federation, cell-level merge.
Workflow semantics File/knowledge management + optional plans and todos. Ready queue, claim semantics, status lifecycle, dependency resolution.

Purpose and Scope

SwiftMaestro Memory

SwiftMaestro's memory system is a general-purpose AI memory layer. Its job is to let the app and other local AI tools read and write durable context. It stores chat histories, per-agent todo lists, markdown plans, knowledge entries, context profiles, a typed fact graph, and imported files with RAG chunk indexes.

It is designed for a single-user native macOS app first, with sharing via the filesystem.

BEADS

BEADS is a specialized coding-agent workflow engine disguised as an issue tracker. Its entire design is optimized for one problem: agents lose context across short compaction windows and get lost in nested markdown plans.

It stores issues with status, priority, type, and assignee; dependency links; a ready queue of unblocked work; claim semantics; persistent project memory; audit trail; and message beads for delegation.

Storage, Identity, and Retrieval

SwiftMaestro: files first

Files under ~/.ai-context/memory are the source of truth. Four URI namespaces (memory, knowledge, context, skill) organize content. Plans are JSON with a parallel .md mirror for Obsidian. Search uses an FTS5 index derived from the files.

Strengths: human-readable, inspectable, works without a server, trivial to back up.
Weaknesses: no locking, no built-in versioning, concurrent multi-agent edits are fragile.

BEADS: Dolt database first

A Dolt SQL database is the source of truth. Every write creates a Dolt commit. Hash-based IDs prevent collisions. Embedded mode works solo; server mode supports concurrent writers. Cell-level 3-way merge resolves sync conflicts.

Strengths: atomic updates, structured queries, native version control, multi-writer safe, built-in sync.
Weaknesses: requires a Go binary and Dolt runtime, less human-readable, more operational complexity.

Identity

SwiftMaestro uses descriptive hierarchical URIs like maestro://knowledge/projects/swiftmaestro/notes. BEADS uses compact hash IDs like bd-a1b2 and hierarchical sub-tasks like bd-a3f8.1.1. BEADS's IDs are easier for agents to cite accurately.

Workflow and Multi-Agent Coordination

SwiftMaestro: file-oriented workflow

PlanStore supports scoped markdown plans with append/rewrite history. TodoStore is a simple per-agent checklist. There is no explicit dependency graph, status lifecycle, or ready queue. Agents drive the workflow themselves using memory_write, context_update, index_directory, and similar tools.

BEADS: workflow-aware memory

Every work item has a lifecycle: open → in_progress → closed. Dependencies are first-class. bd ready lists unblocked work. bd update --claim atomically assigns work to an agent. bd close releases blockers. Compaction summarizes old closed beads to save context window.

Multi-agent

SwiftMaestro agents share the filesystem-backed memory but have no formal claim mechanism, so duplicate work is possible. BEADS is multi-agent by design: claim semantics, assignee filtering, hash IDs, and Dolt merge all coordinate concurrent agents across branches and machines.

Where Each System Wins

SwiftMaestro Memory

  • General knowledge recall for a personal AI assistant
  • Human inspectability — open files and Markdown in Obsidian
  • Zero dependency operation — no database server
  • Rich retrieval: FTS, fact graph, RAG chunks
  • Native macOS integration: iCloud, AppKit, Keychain

BEADS

  • Long-horizon coding workflows
  • Multi-agent coordination with claim semantics
  • Dependency-aware planning via bd ready
  • Work discovery — agents file issues instead of dropping problems
  • Distributed sync with Dolt remotes and federation

What SwiftMaestro Could Borrow from BEADS

SwiftMaestro already has plans, todos, and a fact graph, but it lacks BEADS's workflow semantics.

  1. Stable task IDs — short, citable IDs or aliases so agents reference work without ambiguity.
  2. Dependency/ready semantics — blocks/blocked-by relationships and a ready query so agents know what to pick up next.
  3. Claim/assignee semantics — let a plan or task be claimed by an agent or sub-agent to reduce duplicate work.
  4. Status lifecycle — move todos and plans through explicit states: open, in_progress, blocked, closed.
  5. Issue-as-discovery — encourage agents to file a plan or todo for any discovered problem instead of silently dropping it.
  6. Project-scoped BEADS bridge — shell out to bd inside the active project and surface bd ready, bd claim, and bd remember as native tools.

What BEADS Could Borrow from SwiftMaestro

  • Polymorphic file imports — turn arbitrary files into searchable memory via RAG chunking.
  • Typed fact graph — SwiftMaestro's fact_remember / fact_query is a more explicit knowledge graph than BEADS's link types.
  • Secret redaction — ensure tokens don't leak into project memory.
  • Native OS integration — Spotlight search, Apple Vision OCR, keychain-backed secrets.

Bottom Line

SwiftMaestro Memory is a broad, personal AI memory layer — excellent for recall, knowledge management, and native macOS workflows, but still file-oriented and workflow-naïve.

BEADS is a narrow, deep workflow engine — excellent for coding agents doing long-horizon, multi-step work with dependencies and coordination.

They are not direct competitors. For SwiftMaestro, the most interesting opportunity is to add BEADS-like workflow primitives on top of the existing shared memory store, or to bridge to bd when working inside a code repo. That would give SwiftMaestro the long-horizon planning discipline Yegge proved matters, without sacrificing its general memory capabilities.

Explore the Architecture

See how SwiftMaestro fits together under the hood.

Back to Architecture View on GitHub