Thanks for your interest in contributing! RouteCode is a Rust-based AI coding assistant.
- Rust (latest stable)
- Git
git clone https://github.com/anasx07/routecode.git
cd routecode
cargo buildcargo run -p routecode-cliFor debug logging:
cargo run -p routecode-cli -- --debugPlease ensure your code passes the following checks:
cargo fmt --all -- --check # Check formatting
cargo clippy --workspace # Run linter
cargo test --workspace # Run testsRouteCode is a Rust workspace:
apps/cli/: The TUI application (Ratatui-based).libs/sdk/: Core logic, AI provider implementations, and tools.src/agents/: AI Provider implementations (OpenAI, Anthropic, Gemini, etc.).src/core/: Orchestrator, message types, and configuration.src/tools/: AI tools (bash, file_ops, navigation).src/utils/: Storage, costs, and token counting.
- Fork the repository
- Create a feature branch
- Make your changes
- Run
cargo test --workspace - Submit a PR with a clear description
- Keep changes focused — one concern per PR.
- Link related issues.
- Follow existing patterns and conventions.
- Add tests for new features or bug fixes.
Use GitHub Issues for bug reports and feature requests.
By contributing, you agree that your contributions will be licensed under the GNU GPL v3.0.