airutorg/airut
A self-hosted gateway for sandboxed Claude Code tasks over email and Slack
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Airut is a self-hosted Python gateway for asynchronous Claude Code tasks, not an MCP server in the documented setup. Email and Slack feed the protocol-agnostic airut/gateway/. The airut/conversation/ module prepares conversation directories, and airut/sandbox/ handles containers, images, proxying, and sessions. An authorized message starts or resumes a session in an isolated task environment, with results returned to the original thread. A configurable thread pool governs parallel work.
The package targets Python 3.13–3.14 and uses Hatchling for builds. Its dependencies include slack-bolt for Slack integration, dkimpy[ed25519] and dnspython for mail authentication, msal for Microsoft 365 OAuth2, and inotify-simple for file watching. Repositories customize tasks through a container Dockerfile, a network allowlist, and CLAUDE.md; airut/dashboard/ provides task monitoring, network logs, and server configuration.
Key Capabilities & Differentiators
New conversations start tasks, and replies continue the corresponding Claude Code session. Airut prepares and cleans up the task environment while retaining session context. Cron-scheduled jobs support prompt and script modes, with results sent by email and follow-up available by reply. Email runs over IMAP/SMTP, including documented Microsoft 365 OAuth2 setup; Slack can be configured to require an explicit mention for each response in a channel thread.
The primary delivery path is a branch and PR for human review, not automatic merge. With the right repository instructions, CI tooling, branch protection, and Git permissions, an agent can push a PR and iterate on feedback from the original message thread. Container isolation, proxy-based egress allowlisting, credential masking, and resource limits constrain execution. Claude Code is the supported runner described here; interchangeable model backends are not established.
Trade-offs & Limitations
Compared with running Claude Code directly in a terminal, Airut adds shared asynchronous intake, session continuity, and managed isolation. In exchange, operators must maintain Podman, task images, channel identities, credentials, and per-repository egress rules. An allowlist that is too narrow can block dependency installs or Git operations; widening it unnecessarily weakens containment. The useful starting point is a small set of repositories with predictable build and review workflows.
The gateway sandbox does not automatically cover CI triggered by an agent-authored PR. Apply CI isolation separately if those jobs need the same container and network controls, and use branch protection and human approval to govern merges. MIT permits commercial use under its terms, but does not confer compliance: Slack, mail, Git hosting, and configured Claude Code service access remain separate data and trust boundaries.
Hardware & Deployment Guide
The standard path is a Linux host, preferably a dedicated VM, with uv, Git, and rootless Podman; Debian 13 is the tested distribution listed. Install with uv tool install airut, run airut check, then use airut install-service to install and start the systemd service. The config editor is available at http://localhost:5200, or operators can edit ~/.config/airut/airut.yaml. Each repository needs onboarding files and at least one configured channel. Repository Dockerfiles define task images; that does not make Docker the documented host runtime.
Self-hosting puts the gateway and execution environment under the operator’s control, but does not make the workflow offline. No local GPU requirement is specified; size CPU, memory, and disk around representative builds, tests, and concurrent containers. v0.28.0 brings security fixes, better Nix support, and stricter email checks enabled by default, which can reject previously accepted mail. v0.27.1 fixed a Brotli decoder issue in the network proxy.
~/.config/airut/airut.yaml are picked up by file watching.airut-sandbox and airutorg/sandbox-action apply container and network controls to CI commands that would otherwise run outside the gateway sandbox.Teams that want to assign repository work asynchronously through email or Slack, keep follow-ups in one thread, and review agent-authored changes through PRs.
You need interactive terminal pairing, a documented offline or multi-model setup, a managed service, or cannot own Linux, channel, and sandbox operations.
Quick Start & Installation
uv tool install airut # Install from PyPI airut check # Validate system dependencies airut install-service # Install and start systemd service
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| airut ★ | 84 | — | Python | MIT | A self-hosted gateway for sandboxed Claude Code tasks over email and Slack |
| cc-switch | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| claude-code-router | 38.5k | +101 | TypeScript | MIT | Local model gateway for routing coding agents across providers |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/airutorg/airut.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about airut
How does Airut map a conversation to a coding task?
Does Airut need a GPU, and what determines host size?
Can a company deploy Airut commercially, and does self-hosting make it compliant?
When is Airut a better fit than running Claude Code directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy