How ravibaskey/autonomous-developer-agent works
myclaw is an AI coding assistant presented as a terminal CLI, with README-documented Ask, Plan, and Telegram capabilities. The evidenced runtime workflow is CLI selection → agent orchestration → model/tool calls → in-memory staging → diff review and approval → workspace changes. The sampled CLI currently dispatches Agent mode; its Ask and Plan selections only print messages, and Telegram startup is commented out. Ask-mode code is present, but Plan and Telegram implementation paths are absent from the supplied tree, so those documented capabilities are shown without inferred runtime wiring.
Main entry points: agent/orchestrator.ts Agent orchestrator · ask/orchestrator.ts Ask mode · approval.ts Approval review · tool-executor.ts Tool executor
Components 17
Terminal entry
- Wakeup menu
tui/wakeup.ts - CLI selector
modes/cli.ts
Agent workflow
- Agent orchestrator
modes/agent/orchestrator.ts - Agent tools
modes/agent/agent-tools.ts - Action tracker
modes/agent/action-tracker.ts - Approval review
modes/agent/approval.ts - Diff formatter
modes/agent/diff-view.ts
Workspace tools
- Tool executor
modes/agent/tool-executor.ts - Project files
AI and rendering
- Model configuration
ai/ai.config.ts - OpenRouter model
- Terminal Markdown
tui/terminal-md.ts
Other documented modes
- Ask mode
modes/ask/orchestrator.ts - Plan mode
modes - Telegram control
modes - Firecrawl search
Other components
- User
Connections 23
- User → Wakeup menu: starts
README.md - Wakeup menu → CLI selector: opens CLI
tui/wakeup.ts - CLI selector → Agent orchestrator: starts agent
modes/cli.ts - Agent orchestrator → Agent tools: creates tools
modes/agent/orchestrator.ts - Agent orchestrator → Model configuration: gets model
modes/agent/orchestrator.ts - Model configuration → OpenRouter model: configures provider
ai/ai.config.ts - Agent orchestrator → Terminal Markdown: renders response
modes/agent/orchestrator.ts - Agent orchestrator → Approval review: requests review
modes/agent/orchestrator.ts - Agent tools → Tool executor: executes tools
modes/agent/agent-tools.ts - Tool executor → Action tracker: logs actions
modes/agent/tool-executor.ts - Tool executor → Project files: reads and stages
modes/agent/tool-executor.ts - Approval review → Action tracker: updates decisions
modes/agent/approval.ts - Approval review → Diff formatter: formats changes
modes/agent/approval.ts - Approval review → Terminal Markdown: renders diff
modes/agent/approval.ts - Agent orchestrator → Tool executor: applies approved changes
modes/agent/orchestrator.ts - User → Ask mode: asks workspace
README.md - Ask mode → Model configuration: gets model
modes/ask/orchestrator.ts - Ask mode → Tool executor: reads workspace
modes/ask/orchestrator.ts - Ask mode → Terminal Markdown: renders answer
modes/ask/orchestrator.ts - Ask mode → Firecrawl search: creates web tools
modes/ask/orchestrator.ts - Ask mode → Approval review: reviews saved answer
modes/ask/orchestrator.ts - User → Plan mode: requests planning
README.md - User → Telegram control: controls remotely
README.md