Thanks for wanting to help out. Bug reports, fixes, docs and small features are all welcome.
- For a bug or a small fix, just open a PR.
- For a bigger change (new feature, new dependency, changes to how the agent behaves), open an issue first so we can agree on the approach before you spend time on it.
- Security problems: please don't open a public issue. See SECURITY.md.
You need a recent stable Rust (1.85 or newer).
git clone https://github.com/LHagfoss/rustcode.git
cd rustcode
cargo run -p rustcode-cli -- --help # run the `rc` CLI from source
cargo run -p rustcode-harness # run the standalone `rustcode` TUI harness from sourceMore platform notes are in docs/install.md.
The repo has a few parts:
| Path | What it is |
|---|---|
rustcode/engine |
The app engine & agent core: ACP server, harness manager, tools, sessions |
rustcode/cli |
The lean rc CLI and desktop app sidecar (no TUI deps) |
harness/ |
The standalone rustcode terminal harness (TUI and headless runner) |
rustcode/core |
Shared crates |
apps/desktop |
The RustCode app (Tauri + React) |
docs/ |
User docs |
Run these before opening a PR. CI runs the same ones.
cargo fmt --all
cargo check --workspace --tests
cargo test --workspaceUse --workspace, otherwise only the engine is built and TUI changes slip
through.
If you touched the desktop app (apps/desktop):
cd apps/desktop && bun run checkDocs-only changes don't need any of this.
We use Conventional Commits for commit messages and PR titles:
fix(tui): keep transcript selection after drag
feat(engine): add a timeout to MCP startup
docs(mcp): add a setup example
Types: feat, fix, perf, refactor, docs, test, chore, ci,
build. Scopes are the area you touched, for example engine, tui, mcp,
sandbox, macos, ios, ci. Write the summary in the imperative ("add",
not "added"), no period at the end.
PRs are squash-merged, so the PR title becomes the commit on main. Don't
worry about tidy history inside your branch.
Keep PRs focused on one thing. Add a test when you fix a bug, if you can.
CI on your first PR waits for a maintainer to approve the run. That's a GitHub default for forks, nothing wrong with your PR.
By contributing you agree that your work is licensed under the Apache License 2.0, same as the rest of the project.