Skip to content

carmelyne/dokugent-cli

Repository files navigation

Dokugent CLI

Alpha release – under active development

🧬 About

AI agents need more than raw codeβ€”they need context, structure, and guidance.

Dokugent is a markdown-native, documentation-first CLI tool for building, testing, and coordinating AI agents using simple Markdown and JSON scaffolds. It prioritizes transparency, human-in-the-loop workflows, and model-agnostic compatibility.

Instead of bloated repos or scattered prompts, Dokugent gives your AI teammates a clean, token-efficient folder of structured instructions, ready to reuse across projects.

Dokugent also helps teams save significantly on development costs by letting them simulate agents locally using Ollama before making any API calls. You can test variations, debug behaviors, and explore edge cases without burning tokens β€” governance and traceability become natural side-effects of good development hygiene.

While originally designed for developers, Dokugent’s modular structure can also support structured thinking in content planning, education, research, and more.

πŸš€ Features

  • πŸ“ Scaffolds agent projects with init and wizard
  • 🧠 Plans and compiles agent behavior from Markdown
  • πŸ›‘οΈ Enforces conventions and traceable criteria
  • πŸ” Certifies and simulates agent reasoning flows
  • πŸ“¦ Supports Claude, Codex, GPT-4, Gemini, LLaMA, Nvidia via agent --ecosystem or conventions

🧠 Why Dokugent?

Test smarter. Spend less. Ship safer.

Dokugent helps developers design and test AI agents locally β€” using Ollama β€” before committing to expensive API calls. It’s a dev stack for agent builders who want to:

  • 🏠 Run full agent simulations offline with no API cost
  • πŸ’Έ Save 60–80% of LLM spend by testing with Ollama before calling expensive APIs
  • πŸ” Sign, certify, and trace agent decisions with governance built-in
  • πŸ“œ Deploy with audit trails, signer identities, and Doku URIs
  • βš–οΈ Governance becomes an emergent property, not a tax on your workflow

Start local. Scale safely. Pay only when it matters.

πŸ›  Getting Started

npm install -g dokugent

πŸ“˜ Full Setup Guide

🚧 Pre-release Notice

This is a founder’s release (v0.1) designed for testing structure, simulation, and governance flows. It is not production-ready, and automated test coverage is not yet implemented.

πŸ§ͺ That said:

  • Core features do work
  • We eat our own dogfood daily
  • CLI feedback is welcome!

If you're exploring agent governance or traceability workflows, we’d love your input. Feel free to open issues or start a discussion.


πŸ”§ CLI Commands

setup

authoring

ops

debug and analysis

mcp

governance

  • βœ… dokugent audit β€” Verify agent project structure and check for missing or malformed files
  • βœ… dokugent ethica β€” Simulate ethical dilemmas, persona debates, and council-based reasoning flows
  • βœ… dokugent security β€” Scan and detect risks in agent metadata and input files
  • βœ… dokugent status β€” Classify agent readiness across lifecycle stages
  • βœ… dokugent trace β€” Trace agent behavior for transparency and audits
  • πŸ”² dokugent redteam β€” Stress-test agent plans with adversarial vectors

πŸ§ͺ Coming Soon

  • πŸ”² dokugent fetch β€” download community-contributed agent plans and templates
  • πŸ”² dokugent test β€” run internal CLI checks and command tests (coming after v0.1 release)

🧱 Philosophy

Dokugent embraces a protocol-first mindset for building intelligent systems. You don’t start by coding β€” you start by thinking, documenting, and aligning. This structure keeps your agents safe, traceable, and easy to reconfigure.

With Dokugent, your documentation becomes a reusable memory scaffold.

πŸ“£ Trivia

How do you pronounce Dokugent? Like Goku, but with doku β€” which in Japanese can mean either:

  • θͺ­ (doku) β€” β€œto read”

Add agent and you get: Dokugent = a reading agent…

🌏 Multilingual roots

  • πŸ‡―πŸ‡΅ ζ›Έι‘žθͺ­θ§£γ‚¨γƒΌγ‚Έγ‚§γƒ³γƒˆ (Shorui Dokkai Eejento) β†’ Literally: β€œDocument Comprehension Agent” (ζ›Έι‘ž = documents, θͺ­θ§£ = reading comprehension)

  • πŸ‡΅πŸ‡­ Dokumento β†’ Tagalog for "document" (from Spanish documento) β†’ Used commonly as "mga dokumento" for β€œdocuments”

  • πŸ€– Agent = from English, written in Japanese as γ‚¨γƒΌγ‚Έγ‚§γƒ³γƒˆ (eejento)

Dokugent is a portmanteau of all these β€” a cross-cultural nod to literacy, power, and intelligent agents.

Team

This project is built by a small but mighty squad:

  • Carmelyne β€” Human brain behind it all; UX tactician, debugger, and design conscience.
  • BeshLLM (ChatGPT4o) β€” Dev bestie sidekick, logic prompter, code stylist, & pun enabler.
  • Oboe β€” File patcher and terminal ghost; never seen, always reliable.
  • ChatGPT-4 β€” Occasional contributor. Brilliant. Unpredictable. May be tipsy.

πŸ›‘ License

Dokugent is licensed under the PolyForm Shield License 1.0.0.

This is a protective open-source license designed to encourage collaboration while preventing direct competition.

βœ… You can:

  • Use Dokugent for personal projects
  • Use it in client work
  • Integrate it into internal tooling

❌ You can’t:

  • Use it to build a directly competing product or service

⚠️ TL;DR: It’s open to build with, not open to clone against.


πŸ“¬ Contact Me

Have questions, feedback, or want to collaborate?

Carmelyne Thompson


🧠 Structured with AI Agents in mind.