Airut: Run Claude Code Tasks from Email and Slack with Isolated Sandboxes
Open SourceScore: 98

Airut: Run Claude Code Tasks from Email and Slack with Isolated Sandboxes

Airut is an open-source system that lets you trigger and manage Claude Code tasks via email/Slack threads, with full container isolation and credential protection.

GAla Smith & AI Research Desk·6h ago·4 min read·6 views·AI-Generated
Share:
Source: airut.orgvia hn_claude_codeCorroborated
Airut: Run Claude Code Tasks from Email and Slack with Isolated Sandboxes

What It Does — Claude Code Without the Terminal

Airut is a self-hosted, open-source bridge between your communication tools (email, Slack) and Claude Code's agentic capabilities. Instead of running claude code in your terminal, you describe a task in plain language via an email or Slack message. Airut creates a dedicated, isolated workspace for that conversation thread, clones your repository into it, and lets Claude Code start working immediately.

The core value proposition is asynchronous, auditable agent workflows. Email and Slack provide the threading, search, notifications, and mobile clients. You get a persistent conversation log for each task without maintaining terminal sessions or installing custom clients.

Setup — Install and Configure in Minutes

Installation is straightforward using the modern Python toolchain:

uv tool install airut
airut install-service
# Then open http://localhost:5200 to configure

Configuration involves connecting your communication channels (email via DMARC verification, Slack via workspace membership) and defining your target repositories. The security model is configured via the repository's default branch, not the agent's workspace, ensuring the agent cannot modify its own security rules.

The Security Model — Sandboxed Execution with Surrogate Credentials

This is where Airut shines for production use. Each task runs in a dedicated rootless Podman container with its own filesystem and process space, torn down after completion. Claude Code runs in fully permissive mode inside this sandbox.

Network traffic routes through a transparent proxy that enforces a per-repository allowlist with path and method-level rules. Even a compromised agent can only reach pre-approved hosts. Custom DNS prevents exfiltration.

Credential isolation uses format-preserving surrogates. The agent receives tokens that look real but are useless outside the sandbox. The proxy swaps these surrogates for actual credentials only when making requests to allowed hosts. For AWS, it re-signs SigV4 requests. Credential theft from inside the container yields nothing usable.

The Complete Workflow — From Message to Deployment

  1. Trigger: Send a task description via email or Slack (e.g., "Add user audit logging to the auth service").
  2. Isolation: Airut creates a container, clones the repo, and starts Claude Code.
  3. Iteration: Claude Code works, asks questions, and modifies code within the thread.
  4. PR Creation: When ready, Claude Code pushes a Pull Request.
  5. Sandboxed CI: Your CI pipeline runs, but the agent-authored build/test commands execute inside an Airut sandbox (airut-sandbox CLI), protecting your runners.
  6. Review & Merge: You review the PR in the thread, comment, and iterate. Merge to deploy.

Multiple conversations run in parallel, each fully isolated. The security settings (network allowlists, container config) are read from the default branch. The agent can only propose changes via PR, which require human review and merge to take effect.

When To Use It — Specific Workflow Advantages

Use Airut when you want:

  • Asynchronous collaboration: Let Claude Code work on tasks while you're offline or in meetings.
  • Audit trails: Every agent action is tied to a message thread with full history.
  • Mobile workflows: Review and guide Claude Code work directly from your phone.
  • Enhanced security: For tasks requiring access to credentials or sensitive environments.
  • Parallel tasking: Run multiple independent Claude Code sessions without terminal management overhead.

Avoid it for quick, exploratory terminal sessions where immediate back-and-forth is needed. This is for managed, production-adjacent work.

gentic.news Analysis

Airut represents a significant evolution in how developers orchestrate Claude Code, moving it from a purely interactive terminal tool to an asynchronous, workflow-integrated agent. This follows the broader trend of Claude Code gaining workflow automation capabilities, as seen with the recent preview of Auto Mode and integration with tools like Conductor. It directly complements the new Channels feature for persistent agents by providing the communication layer and security isolation.

The focus on security via containerization and credential surrogates addresses a critical concern for teams adopting AI coding agents in production environments. This aligns with increasing developer caution, highlighted by a recent critical bug report about production data deletion risks with Claude Code. Airut's model—where security rules are defined in the default branch and agents operate in sandboxes—provides a pragmatic guardrail.

As Claude Code appears in 155 articles this week (trending sharply upward), the ecosystem is rapidly maturing beyond basic code generation. Tools like Airut, MCP servers, and specialized agents (like Weaviate Agent Skills) are creating a layered toolchain. Airut's use of email/Slack as the interface is particularly clever, leveraging ubiquitous, battle-tested tools for notification, threading, and access control instead of building yet another dashboard.

AI Analysis

Claude Code users should evaluate Airut for any task that benefits from being **asynchronous, auditable, or requires elevated security**. Start by installing it for a non-critical project. Use it to handle background refactoring tasks, dependency updates, or writing boilerplate code—anything you'd typically delegate via a ticket. The email/Slack interface means you can assign work to Claude Code during your commute or between meetings. Change your credential strategy. If you've been hesitant to let Claude Code touch code that needs API keys or database access, Airut's surrogate credential system is the solution. Configure the proxy allowlists strictly, starting with a deny-all policy and adding only essential external services. Integrate it into your CI/CD pipeline using the `airut-sandbox` CLI. This lets your CI runners execute agent-authored code safely. The key shift is thinking of Claude Code not just as a pair programmer, but as an asynchronous team member whose work needs to be reviewed in a PR thread, not a terminal scrollback.
Enjoyed this article?
Share:

Related Articles

More in Open Source

View all