- Role
- Design and development
- Status
- Alpha, v0.1.0-alpha.x pre-releases
- Stack
- Rust, Tauri 2, React 19, TypeScript
- Licence
- Apache-2.0
Praxi-Bot is an open-source AI agent that runs on the user's own computer. The user picks the model, and every action that changes something asks for approval before it runs.
The problem
An agent becomes useful once it can reach the file system, the shell, a browser and the desktop. The same access makes it risky. A model can delete the wrong folder, treat an instruction on a web page as part of its task, or send the contents of a file somewhere else.
I did not want to leave those decisions to the model's judgement. The limit had to live in code, where the user can see it and change it.
The approach
Three decisions shaped the rest of the project. First, everything runs locally: the agent loop, the tools and the permission check live in a daemon on the user's machine, and there is no telemetry.
Second, the choice of model belongs to the user. Each bot gets its own model: Gemini, Anthropic, OpenRouter, DeepSeek or any OpenAI-compatible server in the cloud, Ollama and LM Studio locally, or an installed coding CLI such as Claude Code or Codex.
Third, an action that changes something asks first. In the default preset reading tools run without asking, while deleting a file, sending a message or running a command on the user's computer opens an approval card. Where the limit sits depends on the preset chosen for each bot:
| Preset | Category level | Result |
|---|---|---|
approve-destructive | Ask | The default. Reading tools do not ask, every change does |
read-and-draft | Ask | Very close to the default. File and browser actions and sending ask |
read-only | Deny | The bot can use only tools that need no permission, such as asking the user a question |
full | Allow | No cards. Money actions and irreversible shell commands still ask |
When a model hits a rate limit or times out, the loop moves to the next model in the fallback chain the user configured and records the move as a ModelFallback event. The monthly spending limit, if one is set, is checked before every model call, and the cost of a model with no known price is left empty, not guessed.
How it works
The repository is a Cargo workspace with 54 members. Most of them sit around a single process, the bot daemon.
Daemon
bot is both the command line and the daemon. bot serve opens an HTTP and SSE API that listens on 127.0.0.1 only, and every call needs a bearer token. The agent loop, tools, permissions and scheduler run here.
Desktop app
A React 19 interface inside a Tauri 2 shell. It starts the bundled daemon and talks to it over the local API. Chat, approval cards and the usage screen are here.
Host
The same daemon running on a Linux server. Bots keep working while the PC is off. The link is paired and end-to-end encrypted, and no inbound port is opened.
The same bots can be reached from the command line and from Telegram.
At the centre is crates/permission-engine. Whether an action runs is decided by code and policy, not by the model. Every tool belongs to a category and declares its own effect. A tool that declares nothing is placed in the strictest class:
pub enum Effect {
/// The tool only reads state; it cannot modify anything.
Read,
/// The tool can write state but changes are reversible or low-risk.
Write,
/// The tool can cause irreversible or high-risk changes.
Destructive,
}
impl Default for Effect {
/// The safe default for any tool that writes is [`Effect::Destructive`].
fn default() -> Self {
Self::Destructive
}
}Before a tool call runs, it goes through these steps in order:
- ClassifyThe tool's category and its declared effect are taken:
Read,WriteorDestructive. - PolicyThe bot's rule for that category applies, or the global rule if there is none. A sub-agent cannot exceed its own bot's level.
- FloorsIn the money category an allow becomes an ask. A shell command that matches the never-list always asks.
- VerdictAllow, ask or deny. An ask opens an approval card for the user.
The floors do not depend on the preset: actions that involve money and irreversible commands such as formatting a disk ask even in the full preset. What the run has read counts too: once a run has read untrusted content, a call that could send data off the machine asks even when a standing approval exists. I wrote about how the engine removes needless prompts in When should an agent ask?
Stack
- Core
- Rust (edition 2024, minimum version 1.89), tokio, axum
- Storage
- Bundled SQLite (rusqlite) and an NDJSON event log
- Desktop
- Tauri 2, React 19, Vite 8, TypeScript, i18next
- Browser
- Chromium over the Chrome DevTools Protocol
- Networking
- Encrypted peer link with iroh, MCP client and server bridge
- Tests
- GitHub Actions, offline attack scenarios run with
cargo test -p evals
Status and what is next
The project is in alpha. Releases come out as v0.1.0-alpha.x pre-releases, and there is no stable API yet. This is what runs on which operating system:
| Part | Windows | Linux | macOS |
|---|---|---|---|
| CLI and daemon | Builds | Builds | Builds |
| Desktop app and installer | Available, installer unsigned | Planned | Planned |
| Desktop control | Works | Works under X11, Wayland is refused | Backend is a stub |
The code is young and unaudited.
Planned but not shipped yet: recording a workflow by demonstration, a plugin API, messaging channels beyond Telegram, a mobile companion and desktop bundles for Linux and macOS. The project is open to contributions. This is the size of the repository today:




