Skip to content
dtoolkit

Introduction

dtoolkit is an open-source harness engineering toolkit for AI coding agents. It gives your agents persistent memory, project awareness, multi-provider routing, observability, and structured project management — all running locally, backed by SQLite, and exposed over both MCP and REST. Ship it as a pnpm monorepo of @dtoolkit/* packages; use one product or compose them all.

AI coding agents are only as good as their harness. A model with no memory forgets your architecture between sessions. A model with no project context hallucinates file paths. A model with no observability burns tokens in silence.

dtoolkit closes these gaps with a composable set of tools that work across providers and respect your local-first workflow.

dbrain

Persistent memory server. Entities, facts, memory tiers, and federation across personal and shared brains. Learn more

dcontext

Session hooks for AI coding CLIs. Injects identity and project facts at session start, saves transcripts before compaction. Learn more

dwork

AI-native project manager. Markdown files as source of truth, SQLite FTS5 index, 21 MCP tools including code graph queries. Learn more

dproxy

Universal CLI adapter for invoking models. Route prompts to Claude, Codex, Gemini, or OpenCode from a single interface. Learn more

dops

Agent observability. Track tokens, cost, tool usage, success rate, and errors across all providers. Learn more

PrincipleWhat it means
Local-firstSQLite everywhere. Your data stays on your machine. No cloud dependency.
Multi-providerFirst-class support for Claude Code, Gemini CLI, Codex CLI, and OpenCode. No vendor lock-in.
MCP nativeEvery server exposes MCP tools on the same port as its REST API. Agents call tools directly.
Markdown-drivenProject state lives in BACKLOG.md and other plain-text files. Git-friendly, human-readable.
ComposableEach product works standalone. Compose them through the shared ContextBlock[] contract and typed SDK clients.

Ready to set up your first agent harness? Head to the Quickstart guide to install dtoolkit and run dbrain in under five minutes.