outrig-cli
outrig-cli provides the outrig command: it runs an LLM agent on your host and connects it to
MCP servers running inside a podman-managed container, so tools like
filesystem and shell access stay inside the sandbox you define. The agent layer is the
Rig crate; outrig's job is to run Rig in the host process
and give it a container-isolated MCP tool set.
To embed the container/MCP machinery in your own Rust program without the LLM dependency graph,
depend on the outrig library crate instead.
Install
This installs the outrig binary.
At a glance
You define the sandbox in your repository: a Dockerfile for the container and an
.agents/outrig/config.toml describing which MCP servers run inside it and which LLM the agent
talks to. Then you run outrig run and talk to the agent over a stdin/stdout REPL:
)
> what's in this repo?
This repo is a Rust project named "outrig". The top level contains Cargo.toml,
src/, and doc/. src/ has lib.rs and main.rs...
> ^D
[outrig] session 20260502T103412-3f2a ended
Commands
||||
Local models (optional)
The local-llm feature adds an in-process mistral.rs
backend so the agent can run a model without an external API; cuda and metal features enable
GPU acceleration.
Documentation
Full docs render as an mdbook at https://tgockel.github.io/outrig/. Source lives in the repository.
License
Licensed under the Apache License, Version 2.0.