Rat Things is our open-source platform for running AI agents on infrastructure you own. It gives agents a home on your computer and in your AWS account, behind one API, one command line, and one desktop console. It is released under the MIT license.
The project is an engineering preview for owner-operated deployments. It is not ready for untrusted multi-tenant production.
Why run agents in your own account
Hosted agent products keep the conversation history, files, credentials, and execution in the vendor's account. For a lot of work that is fine. For work that touches private code, customer records, or internal systems, many teams want those things where they can see and control them.
In cloud mode, Rat Things puts the API service, the agent harness, the session state, the execution environments, and the encrypted storage in your AWS account. Model requests go to the provider you configure.
Start on your computer, grow into AWS
You do not need a cloud deployment to begin. The desktop console opens on This computer, where a Session runs against a private local service using a ChatGPT subscription. On Apple silicon Macs, agents can also work in isolated local Linux environments.
When a task needs more capacity, or has to keep going while your computer sleeps, you can copy a finished Session into AWS with its history, settings, and workspace files. The interface stays the same.
Keep the work when the machine changes
A useful agent needs more than a prompt and a model. It needs context, tools, a place to work, and a way to preserve what happened. Rat Things saves input before any work is dispatched and stores conversations, tool results, and files apart from the worker executing the task. A replacement worker can recover committed work without depending on the original machine.
This does not mean every running process continues uninterrupted. Recovery depends on the runtime and environment, and retention is separate from a backup policy.
One API, two agent runtimes
The public contract follows the OpenAI Agents API: Agents, Sessions, Turns, Items, environments, Files, Skills, and Vaults. The official OpenAI SDK works against a deployment you own.
Behind that API, a Session runs on one of two runtimes. Codex is the default and uses a ChatGPT login or Amazon Bedrock. Pi Durable uses approved Amazon Bedrock models and keeps pending tasks, tool results, and subagents intact across a worker replacement.
Work that starts without you
Agents do not have to wait for someone to open a console.
- Schedules run a saved Agent on a recurring basis, with time zones and a policy for overlapping runs.
- GitHub and GitLab events start review Sessions. A pull request keeps its Session for follow-up comments.
- Slack and Microsoft Teams messages start or continue a Session within a thread.
- A watchdog reports stalled work and retries an eligible transient failure once.
Permissions are settled before launch
Each run receives a fixed set of capabilities: the intersection of what the provider, the deployment, the Agent, the account, and the Session allow. Integration credentials stay behind host-side brokers, and Vault credentials let a command call an allowed host without handing the secret to the agent.
Rat Things does not add an approval step in the middle of a turn. An operation outside the boundary remains unavailable. Agents run as a separate non-root user inside a Lambda MicroVM or a dedicated EC2 instance.
Try different approaches with session forks
A prepared managed Session can fork into independent conversations and workspaces. Each fork inherits the context and files, then develops its own direction.
That makes it practical to try several approaches to the same brief, compare the results, and discard the ones you do not choose.
Follow and share the work
The desktop console is a native Rust application. It follows the same Sessions as the API and the command line. Output files are kept as immutable artifacts, and files, static sites, and videos can be shared through links that expire while storage stays private.
What comes next
The current boundaries matter as much as the feature list. Multi-tenant controls, per-owner budgets, broader browser support, and sustained-load guarantees remain outside what we claim today. The project documentation describes the implemented behavior and gaps.
Read the Rat Things case study, explore the project, check the capabilities and boundaries, or inspect the source.