Describe the whole project
Bring the requirements, users, preferences, use cases, and constraints you already know. project init creates the starter context and specification template.
brief.md → dectl project init --standard
From project brief to reviewed implementation
Turn a detailed project brief into approved specs, then guide any AI agent through one focused task at a time. dectl prepares project context, relevant rules, workflow checks, and persistent progress. Your agent drafts the specs and code; you approve the design and task boundaries.
The development cycle
Shape the design first, approve the work, then let your agent implement one focused task. dectl carries the relevant context, rules, checks, and progress from one task to the next.
Bring the requirements, users, preferences, use cases, and constraints you already know. project init creates the starter context and specification template.
brief.md → dectl project init --standard
The agent uses your source document to complete specifications.md and asks about missing details instead of guessing.
brief.md → specifications.md
Review the completed file. The agent revises it with you until the scope and requirements are ready for specs. Generation waits for your approval.
Review specifications.md · approve before proceeding
dectl passes your approved source and prepares the SDD guidance. The agent follows the skill, templates, examples, and project rules to create the specs.
dectl spec init --from specifications.md
Inspect the design and tasks.md. Approve or refine the atomic tasks and their verification gates before implementation starts.
Review specs/ · approve tasks.md
The researcher prepares task-scoped project and rules context. The workflow pauses; the agent implements only the approved task.
dectl workflow run execute_task --var task_id=T001 --var description="Implement the approved task" --auto
Build, tests, lint, specs, and rules are reviewed. PASS records completion; FAIL preserves the attempt and leaves the task open for correction.
dectl workflow run execute_task --var task_id=T001 --var description="Implement the approved task" --from-step 4 --auto
PASS records completion. FAIL keeps the task open for correction.
dectl has three actors: .dec/ provides structured project context, the dectl binary executes workflows and manages SQLite memory, and any AI model (Claude, Gemini, ChatGPT, Ollama) reads the context and generates code. They communicate through files and shell commands — no proprietary API required.
Structured project knowledge in Markdown + YAML + TOML + JSON. Readable by any model without installation.
Rust binary that manages memory SQLite, runs workflows, manipulates files. One static binary, zero runtime deps.
Any AI — Claude, Gemini, Qwen, Phi, Ollama, or a human in terminal. Completely interchangeable.
dectl organizes AI-assisted development from an approved project brief to verified tasks. Specs set the design, task-scoped context and rules focus implementation, and workflow checks record whether each task passed. Memory, agents, session tools, diagnostics, and the full command set support that cycle.
dectl uses SQLite with WAL mode and FTS5 full-text search for persistent memory storage. Add, search, show, edit, and retrieve context across sessions. Tag-based organization with field query language (type:research tags:rust from:2026-01-01), soft-delete with restore, and per-project filtering.
Run one approved task at a time. The workflow gathers focused project context and rules, pauses for implementation, then runs configured build, test, lint, spec, and rules review before recording the outcome.
Pass the approved project brief with dectl spec init --from specifications.md. dectl supplies the SDD skill, templates, examples, and project rules; the AI agent asks clarifying questions and creates reviewable specs. You approve the design and task list before implementation.
Scan any project directory to detect languages, frameworks, and tooling. Fills
.dec/ context automatically on init. Watch mode for live file change tracking with diff output.
End sessions with automation: git sync, decision capture, config sync, progress tracking, and configurable hooks. No manual bookkeeping.
Researcher, coder, reviewer, and documenter roles prepare context, focus implementation, check the result, and record the task outcome. The developer stays in control of questions, design choices, and approvals.
Profiled rules give each task relevant engineering guidance. The agent receives task-scoped rules; review distinguishes blocking safety/correctness issues from advisory warnings. A failed review leaves the task open for correction.
No model-specific APIs, no vendor lock-in. Works with Claude, Gemini, Qwen, Phi, Ollama — or a human in a plain terminal.
Run dectl doctor to check project health — database integrity, schema version, config syntax, and git availability. Repair issues automatically with --fix and get clear error hints.
Export memories to JSON or JSONL for backup and migration. Import with automatic dedup. Restore soft-deleted entries. Query with field syntax: type:research tags:rust from:2026-01-01.
dectl ships 36+ commands across 7 modules: Project, Memory, Workflows, Agents, Session, Rules, and System. Highlights include memory search with FTS5, workflow run with dry-run, agent trust for CI, rules context with 106 checks, and spec add with --from. Every command supports --json output.
project initInitialize .dec/ structureproject infoShow project summaryproject scanFile tree (respects .gitignore)project contextCompact summary for AIproject watchWatch files for changesmemory addSave a memorymemory listList memoriesmemory searchSearch with FTS5memory showView a memorymemory editEdit in $EDITORmemory queryField query languagememory deleteSoft or hard deletememory restoreRestore soft-deletedmemory exportExport to JSON/JSONLmemory importImport with dedupworkflow listList available workflowsworkflow describeShow workflow detailsworkflow runExecute a workflowagent listList agentsagent describeDescribe an agent roleagent runExecute an agentagent trustTrust an agent for CIsession endEnd session + summarizespec init [--from]SDD scaffold + agent inputspec add [--from]Add feature/module via agentdoctorHealth diagnosticsmigrateRun schema migrationsgenerate-completionsShell completionsversionBinary + schema versionrules listBrowse the 106-rule catalogrules searchFull-text search by keywordrules resolveActive ruleset for your profilerules contextStage-aware slice (2000 tokens)rules profile updateRe-run stack questionnairerules resyncRegenerate .dec/rules/ filesFAIL blocks the pipeline (Security, Secrets, Error Handling). WARN advises and passes.
Build SQL with user input — use parameterized queries.
Hardcoded secret in source — move it to environment variables.
Open resource must always close — release it in finally.
Mutating action on session cookies — add SameSite + anti-CSRF token.
POST creates a resource — prevent duplicate retries.
Copied business rule — unify it in a single source of truth.
Named side-by-side comparison with well-known AI coding assistants.
| Capability | dectl | Claude Code | Cursor | GitHub Copilot | Aider |
|---|---|---|---|---|---|
| Persistent memory across sessions | Local SQLite, searchable, model-agnostic | Session-scoped, Claude-only | IDE workspace rules, cloud account | IDE context, cloud account | Session-scoped, local |
| Works with any AI model | Yes — Claude, Gemini, ChatGPT, Ollama, human | Claude only | Selected models, IDE-only | Selected models, IDE-only | Selected models, terminal |
| Local-first, no cloud account required | Yes — one 6.1MB binary | Cloud account required | Cloud account required | Cloud account required | Yes — terminal-first |
| Executable YAML workflows with dry-run | Yes | Slash commands | Custom commands and rules | Custom agents | No |
| Structured project context format | Yes — .dec/ directory | No standard format | Rules files | Instruction files | No standard format |
| License | MIT open-source | Proprietary | Proprietary | Proprietary | GPL-3.0 open-source |
You provide a project brief. Your AI agent clarifies it, completes specifications.md, and presents it for approval. After approval, the agent creates specs using dectl's SDD skill, templates, examples, and project rules. You approve the task list; the agent then implements one task at a time through a workflow that gathers focused context, runs configured checks, and records PASS or FAIL. A failed task stays open for correction.
dectl is an open-source developer life OS that gives any AI coding environment persistent memory, executable workflows, SDD spec generator, and structured project context. It is model-agnostic, local-first, and ships as a single 6.1MB Rust binary with zero runtime dependencies.
dectl has three actors: .dec/ (structured project context in Markdown, YAML, TOML, JSON), dectl binary (Rust executor that manages SQLite memory and runs workflows), and the Model (any AI — Claude, Gemini, ChatGPT, Ollama, or a human). They communicate through files and shell commands with no proprietary API.
dectl offers persistent memory with SQLite (FTS5 search, field query language, tag-based), executable YAML workflows with Handlebars templates, conditionals and configurable timeouts, auto-detect stack on project init, session management with configurable hooks, a 4-agent pipeline (research, code, review, document) with parallel execution, SDD spec generator with --from flag (pass any requirements file), spec_writer agent that understands any format, health diagnostics with dectl doctor, data portability with export/import/restore, and is completely model-agnostic with no vendor lock-in.
dectl has 36+ commands across 7 modules: project (init, info, scan, context, watch), memory (add, list, search, show, edit, query, delete, restore, export, import), workflows (list, describe, run), agents (list, describe, run, trust), session (end), rules (list, search, resolve, context, profile update, resync), and system (doctor, spec init, spec add, migrate, generate-completions, version). Every command supports --json output.
Yes, dectl is free and open-source under the MIT license. It is a single 6.1MB static binary with no external API dependencies, no telemetry, and no vendor lock-in. You can install it via curl or build from source on Linux, macOS, and Windows.
Every task runs through a review gate. The reviewer loads the stage-aware rules context, pre-scans the diff for suspects (RULES_SUSPECT), and confirms each one with a reason. Only precise blocking matches emit RULES_GATE: FAIL and stop the pipeline with exit 1 (e.g. concatenated SQL, hardcoded secrets, unclosed resources). Advisory matches emit RULES_WARN and pass. Projects without .dec/rules/ get SKIP — the gate never breaks unadopted projects. Accepted exceptions are recorded in .dec/decisions/.
Project context persists in two places. The .dec/ directory stores vision, config, workflows, prompts, decisions, and session state as plain Markdown, YAML, TOML, and JSON files that any AI can read. The memory commands store decisions and notes in local SQLite with full-text search. Running session end syncs git, captures decisions, and writes the handoff note, so the next session resumes with project info and project context without re-explanation.
dectl fits persistent AI memory needs: it is MIT-licensed, local-first, and model-agnostic. Memory lives in local SQLite with full-text search instead of one vendor cloud, one IDE, or one session, and it works with any model — Claude, Gemini, ChatGPT, Ollama — from any terminal. It adds executable YAML workflows, structured .dec/ project context, a 4-agent pipeline, and a 106-rule review gate in a single 6.1MB binary with no telemetry.
Approve the design. Let your agent build one verified task at a time.