Model-agnostic AI agent desktop app and CLI for macOS and Windows. MCP tools with per-tool permissions, scheduled agents, local or hosted providers, no telemetry.
Any model. Only the tools you allow. Every step in plain sight.
Download for macOS · Download for Windows
OpenGent is an open-source, native desktop AI agent that connects any model to built-in file tools and the MCP tools you trust — and works for you, not for a model vendor. Plug in a local model running on your laptop or a frontier model behind your company's gateway, and stay in control of every action it takes. The model proposes; you decide; Rust enforces.
It's built to be equally at home on a personal machine and in a business setting:
https://github.com/user-attachments/assets/529cdc89-4bc3-4071-892d-4d077ca7bd27
Install · Feature guide · Command line · Roadmap · Security · Changelog · Contributing
.., absolute
paths and symlinks can't escape. When the model saves a file, you can reveal it in
Finder / Explorer or copy its path. See native tools.opengent binary lists your models and connections, runs prompts and
agents headlessly (pipe in a git diff, get plain text or JSON events, under the app's
stored permissions), and manages schedules — alongside the app or with it closed. See the
command-line guide.~/.opengent, secrets in the macOS Keychain / Windows Credential
Manager, and there is no telemetry.See the feature guide for everything the app does and how to use it.
| | O
Rename artifact tool create_chart to show_chart
https://github.com/samkerrcode/opengent/issues/130
Labels: enhancement
App aborts with no message when startup fails (e.g. database from a newer version)
https://github.com/samkerrcode/opengent/issues/129
Labels: bug
Show files created by run_command on its card, and a workspace files panel
https://github.com/samkerrcode/opengent/issues/127
Labels: enhancement
PDFs: extract the text layer and choose between text, page images or code processing
https://github.com/samkerrcode/opengent/issues/126
Labels: feature request
Python environments for run_command: per-chat venv plus a shared base with common data packages
https://github.com/samkerrcode/opengent/issues/125
Labels: feature request
Attachments: send file contents once, then reference the workspace copy on later turns
https://github.com/samkerrcode/opengent/issues/124
Labels: enhancement
Native tools: search_files to grep and glob the workspace and granted folders
https://github.com/samkerrcode/opengent/issues/123
Labels: feature request
Canvas: isolation regression harness and shipped-build checks
https://github.com/samkerrcode/opengent/issues/117
Labels: feature request, approved
Canvas: chat card with Run preview, Stop and Source
https://github.com/samkerrcode/opengent/issues/116
Labels: feature request, approved
Canvas: show_canvas tool and token-gated artifact scheme
https://github.com/samkerrcode/opengent/issues/115
Labels: feature request, approved
Thanks for your interest! Please read this first — OpenGent accepts contributions in a deliberately narrow lane.
OpenGent is human-designed and AI-led. The maintainer sets the architecture, priorities, and feature design through prompt guidance, and most code is written and reviewed with frontier AI models. Frontier models are also the recommended tool for contributors, whether for implementation, code review, improvements, or exploring new feature designs.
Two principles shape every review:
| Contribution | Process |
|---|---|
| Bug reports | Always welcome. Use the bug report template. |
| Enhancements | Improvements to something that exists (UX, performance, reliability, accessibility, security hardening). Open an enhancement request. |
| Feature ideas | New capabilities. Open a feature request. The maintainer decides whether it fits the roadmap. |
| Questions | Ask in Discussions, not in an issue. |
| Pull requests | Only for issues labeled approved. That covers triaged bugs and accepted enhancement and feature requests. |
| Security issues | Never in public. Follow SECURITY.md. |
PRs that aren't linked to an approved issue, such as drive-by features, unrequested
refactors, or dependency swaps, will usually be closed without review. If you want to work on
something, comment on the approved issue so effort isn't duplicated.
Prerequisites and commands are in the README. In short: Rust via rustup
(the version is pinned in rust-toolchain.toml), Node 24 LTS (nvm use), the Tauri system dependencies, then npm install and
npm run tauri:dev. Mock OpenAI and MCP servers for local testing live in scripts/dev/ (see
AGENTS.md).
main and open a PR back to main. There is no long-lived dev branch.<type>/<slug> — e.g. feat/mcp-oauth, fix/catchup-panic,
chore/bump-tauri. <type> must be one of: feat, fix, perf, refactor, test,
docs, ci, chore. Write the PR title the same way (fix: prevent double dispatch) —
it becomes the squash-merge commit message.main.fix/ with a neutral slug; don't name branches or PRs in ways that
disclose a vulnerability before it's patched.main; versioning and the procedure are in
docs/releasing.md. Don't bump version numbers in a feature PR.npm run verify passes. This is the PR gate; it runs svelte-check, vitest,
cargo fmt --check, cargo clippy -D warnings, and cargo test, and CI runs the same on
macOS and Windows.#[derive(TS)] type, run npm run gen:types and commit the regenerated
bindings. CI checks for drift.The full list is in AGENTS.md. These are the ones most often missed:
SecretRef + SecretStore.Serialize + TS with #[ts(export)].product.json only. Never hardcode "OpenGent".Naming. "OpenGent" is a working name and may be rebranded.
product.jsonis the single identity source, so changing the display name is a config change. Candidates under consideration: Bastion, Aegis, Remit, Cadre, Quorum, Syndic, Signet.
Before you add a dependency, be ready to explain why a first-party implementation isn't practical. Every dependency is pinned to an exact version published at least 7 days ago, with a minimal feature set. A PR that pulls in a crate or package for something easy to implement directly will be asked to remove it.
AI-assisted PRs are welcome and encouraged, but you are responsible for what you submit:
npm run verify yourself.Changes to secret handling, MCP policy enforcement, process spawning, the CSP or capabilities, or network/TLS handling get extra review. The maintainer may re-implement them in their own workflow.
Everyone participating is expected to follow the