Engineering toolkit
for AI coding agents

Give your agents persistent memory, automatic context, project management, and observability.

Open Source · MIT Licensed
June 2026
01 / 12
The Problem
Agents forget
everything
✕

No memory between sessions — agents start from zero every time

✕

No project awareness — agents hallucinate file paths and structure

✕

No observability — you don't know what they cost or where they fail

✕

Vendor lock-in — switching providers means rewriting everything

✕

No team knowledge — each developer's agent is an island

The Solution
A composable
harness

#### Persistent memory

Agents remember across sessions

#### Automatic context

Identity + project facts injected at start

#### Multi-provider

Claude, Gemini, Codex, OpenCode

#### Observable

Tokens, costs, tools, errors tracked

#### Team-ready

Federated brains share knowledge

02 / 12
How it works
One layer, one job
Your coding agent
Claude Code Gemini CLI Codex CLI OpenCode
arrow_downward
Hooks & transport
link

#### dcontext

Session hooks — inject & save

route

#### dproxy

Universal CLI adapter & REST API

arrow_downward
Data & services
psychology

#### dbrain

Memory

assignment

#### dwork

Projects

monitoring

#### dops

Observability

"If two products need to sync to function, the design is wrong."

03 / 12
Product
Your distributed mind
category

#### Entities, facts, and memory tiers

Hot, warm, and cold tiers keep context relevant and compact.

search

#### Full-text search with FTS5

Semantic search across all stored knowledge in milliseconds.

hub

#### MCP server

Works with Claude Code, Cursor, Windsurf, and any MCP client.

share

#### Federation

Personal and shared team brains. Recall auto-federates.

dashboard

#### React dashboard

Browse entities, search memories, and manage your brain visually.

Persistent memory server with SQLite, FTS5, and a built-in React dashboard.

dns API :7878 · Dashboard :7879
04 / 12
Product
Markdown is the source of truth
description

#### BACKLOG.md with inline task metadata

Tasks live in Markdown files. Human-readable, git-friendly.

build

#### 21 MCP tools including code graph

Search, trace, and analyze your codebase through natural language.

search

#### Full-text search across tasks and docs

FTS5-powered search over every project, task, and document.

view_kanban

#### Kanban dashboard with task detail

Visual board with drag-and-drop, task metadata, and Markdown editing.

code

#### Git-friendly, human-readable

Every change is a clean diff. Review project state in any editor.

AI-native project manager. Markdown files are the source of truth; SQLite is just an index.

dns API :7881 · Dashboard :7882
05 / 12
Product
Know what your agents cost
token

#### Token tracking per session

Input, output, and cache tokens broken down for every session.

attach_money

#### Model-aware cost estimation

Accurate pricing for every model across all supported providers.

analytics

#### Tool call analytics and success rates

Which tools get called, how often they fail, and where agents get stuck.

input

#### Multi-provider transcript ingestion

Ingest transcripts from Claude, Gemini, Codex, and OpenCode.

bar_chart

#### Dashboard with charts and timeseries

Visual cost trends, usage heatmaps, and per-project breakdowns.

Agent observability server with token tracking, cost estimation, and analytics dashboard.

dns API :7883 · Dashboard :7884
06 / 12
The Glue
The invisible layers
dcontext
Automatic context
login

#### Identity + project facts injected at session start

Your brain's knowledge is available from the first prompt.

save

#### Transcripts saved before compaction

Conversations preserved before the context window shrinks.

bolt

#### Zero config

One command: dbrain connect claude

devices

#### Multi-CLI support

Claude Code, Gemini CLI, Codex CLI, OpenCode.

dproxy
Multi-provider transport
swap_horiz

#### One CLI, one API — 4 providers

Switch between Claude, Gemini, Codex, and OpenCode with a flag.

layers

#### Context pipeline

Memory + workspace + templates assembled automatically.

api

#### REST API with SSE streaming

Full CLI parity via HTTP. Bearer token auth, configurable port.

chat

#### Interactive REPL

Ask single-shot or chat in a persistent REPL with history.

07 / 12
For Developers
Typed clients for everything
npm install @dtoolkit/sdk
psychology

#### DBrainClient

Memory operations — recall, remember, entities, facts, search, and federation.

assignment

#### DWorkClient

Project management — projects, tasks, docs, search, sync, and overview.

route

#### DProxyClient

Model invocation — prompt execution, streaming, and multi-provider routing.

monitoring

#### DOpsClient

Observability — sessions, costs, tool analytics, and transcript ingestion.

08 / 12
5 Minutes
From zero to full harness
1

#### Install

Install the core packages globally from npm.

npm i -g @dtoolkit/dbrain @dtoolkit/dcontext @dtoolkit/dwork @dtoolkit/dops
2

#### Memory

Initialize and start your personal brain.

dbrain init && dbrain start
3

#### Context

Connect your brain to your AI coding CLI.

dbrain connect claude
4

#### Projects

Initialize and start the project manager.

dwork init && dwork start
5

#### Build

Open your CLI. The full harness is active.

claude # or gemini, codex, opencode
09 / 12
20 Packages
Available now + Coming soon
Available 12
core
sdk
dbrain
dcontext
dwork
dops
dproxy
adapter-claude
adapter-gemini
adapter-codex
adapter-opencode
codegraph-sdk
Coming soon 8
dcouncil
dguard
dpolicy
droute
dpair
dreplay
dstream
dforge
10 / 12
Philosophy
What we believe
01

#### One layer, one responsibility

Each package does one thing well. Memory is memory. Projects are projects. No god objects.

02

#### CLI-first, dashboard as bonus

Everything works from the terminal. Dashboards are a visual convenience, not a dependency.

03

#### SQLite everywhere

Zero external dependencies. No Postgres, no Redis, no Docker. Just a single file on disk.

04

#### MCP + REST on the same port

One server, two protocols. MCP for agents, REST for everything else. No port sprawl.

05

#### Markdown as source of truth

Data lives in files you can read, edit, and version. The database is just an index.

06

#### No vendor lock-in

Four adapters, one interface. Switch providers with a flag. Your data stays with you.

11 / 12
Ready to try it?
code GitHub package_2 npm menu_book Docs
Iván Campillo · ivncmp@gmail.com
github.com/ivncmp/dtoolkit
12 / 12