ClawedCode
ClawedCode is an educational Rust-native reimplementation of a coding agent shell, focused on startup speed, terminal UX, and compatibility research.
Current status
This repository now has a clean Rust baseline with:
- a real CLI entrypoint
- compatibility discovery for existing config, skills, and MCP files
- persisted config and session storage
- a built-in system prompt registry
- a starter runtime loop
- a Ratatui shell for the interactive path
Commands
Layout
src/app.rs: top-level application flowsrc/cli.rs: command-line parsingsrc/config.rs: config loading and defaultssrc/prompt.rs: built-in prompt packssrc/runtime.rs: session lifecycle and request submissionsrc/session.rs: transcript persistencesrc/tool.rs: tool registry and metadatasrc/tui.rs: interactive terminal surfacedocs/: architecture and implementation notes
Direction
The implementation is intentionally small in the first pass. The next layer is the execution engine: model adapters, approval handling, transcript streaming, tool dispatch, and task orchestration.