How gentleman-programming/gentle-ai works
Gentle-AI is a Go CLI that adds deterministic workflows, project memory, and review evidence to existing coding agents. The principal path starts with a user invoking the CLI, which dispatches install or workflow operations, resolves agent/model choices, and applies agent-specific components; review commands separately capture and assess evidence in recoverable transactions. The README documents Engram, ODD, and 17 agent integrations. Connections below are limited to README statements and relationships visible in the supplied source index or excerpts; unsampled internals are represented at their supported directory paths.
Main entry points: app.go Command dispatcher · review.go Review commands · orchestrator.go Guidance and ODD · planner Plan and resolve
Components 18
CLI and orchestration
- gentle-ai CLI
cmd/gentle-ai/main.go - Command dispatcher
internal/app/app.go - Install commands
internal/cli/install.go
Agent setup
- Plan and resolve
internal/planner - Agent adapters
internal/agents
Agent workflow
- Guidance and ODD
internal/components/agentguidance/orchestrator.go - Engram memory
internal/components/engram - Skills and components
internal/components/skills
Evidence and review
- Review commands
internal/cli/review.go - Review assets
internal/components/reviewassets - Reviewer providers
internal/reviewerprovider/contract.go - Review transactions
internal/reviewtransaction
State and telemetry
- Backup and restore
internal/backup/restore.go - Uninstall service
internal/components/uninstall/service.go - Telemetry runtime
internal/telemetry - Telemetry collector
internal/telemetrycollector/runtime_storage.go - Collector service
cmd/gentle-telemetry/main.go
Other components
- User
Connections 19
- User → gentle-ai CLI: invokes
README.md - gentle-ai CLI → Command dispatcher: runs
cmd/gentle-ai/main.go - Command dispatcher → Install commands: dispatches
internal/app/app.go - Command dispatcher → Plan and resolve: uses
internal/app/app.go - Command dispatcher → Agent adapters: uses
internal/app/app.go - Command dispatcher → Review commands: dispatches
internal/app/app.go - Install commands → Plan and resolve: resolves
- Plan and resolve → Agent adapters: selects
- Agent adapters → Guidance and ODD: configures
internal/components/agentguidance/orchestrator.go - Guidance and ODD → Engram memory: integrates memory
README.md - Guidance and ODD → Skills and components: installs capabilities
README.md - Review commands → Review transactions: records evidence
- Review commands → Reviewer providers: invokes reviewers
- Review commands → Review assets: uses contracts
- Command dispatcher → Backup and restore: dispatches
internal/app/app.go - Command dispatcher → Uninstall service: dispatches
internal/app/app.go - Command dispatcher → Telemetry runtime: triggers
- Collector service → Telemetry collector: serves and stores
cmd/gentle-telemetry/main.go - Telemetry collector → Telemetry runtime: reads events
internal/telemetrycollector/runtime_storage.go