# Repository Briefing: airutorg/airut
> Source: https://repoforai.com/repo/airutorg/airut (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/airutorg/airut
- **Official Docs / Website**: https://airut.org
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A (79/100 · Maintenance 35/35 · Adoption 4/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.28.0 (2026-11-12) — https://github.com/airutorg/airut/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted
- **Momentum**: 84 ★ total (+0 24h / +0 7d) · 3 forks
- **When to Use**: Best for: 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. Skip if: You need interactive terminal pairing, a documented offline or multi-model setup, a managed service, or cannot own Linux, channel, and sandbox operations.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Session lifecycle: A conversation keeps its Claude Code context across replies; a configurable thread pool controls parallel execution.
- Sandbox controls: Container isolation, proxy-enforced network allowlists, credential masking, and resource limits address distinct risks.
- Channel authorization: Email uses DMARC and DKIM checks, Slack uses workspace membership, and sender authorization is configured per repository.
- Operations: The dashboard shows task and network activity; edits to `~/.config/airut/airut.yaml` are picked up by file watching.
- CI isolation: `airut-sandbox` and `airutorg/sandbox-action` apply container and network controls to CI commands that would otherwise run outside the gateway sandbox.
- Release impact: v0.28.0 enables stricter email checks by default; v0.27.0 adds optional mention-only behavior for Slack threads.
```

## Quick Start / Clone
```bash
uv tool install airut          # Install from PyPI
airut check                    # Validate system dependencies
airut install-service          # Install and start systemd service
```
