Skip to content

Commands Overview

Welcome to the Dokugent CLI command reference. This section provides documentation for every command available in Dokugent.

Dokugent is a certification-first, documentation-native CLI for managing trustworthy LLM agents, workflows, and compliance metadata.

Below you'll find each command grouped by function:


🔧 CLI Commands

setup

  • init: Scaffold a new project
  • owner: Set or view project owner metadata
  • agent: Create a new agent identity (--t for template)
  • keygen: Create identity keypairs

authoring

  • plan: Draft an agent plan
  • criteria: Define evaluation criteria
  • conventions: Select AI conventions
  • byo: Import external agent JSON payload
  • 🔲 compliance: Fill in GDPR & governance metadata
  • 🔲 io: Fill in I/O & Rules

ops

  • preview: Generate agent spec bundle
  • certify: Sign and freeze validated preview
  • compile: Build deployable agent bundle
  • deploy: Run full deploy (preview → certify → compile)

debug

  • dryrun: Simulate plan execution without real actions
  • inspect: Inspect agent cert or plan (local or MCP)
  • security: Scan for file-level threats
  • simulate: Run simulated agent logic with any LLM on your Ollama
  • trace: Trace agent behavior from a dokuUri

Each command includes usage examples and notes on how to integrate it with your agent workflow.

Ready to get started? Try init.