mirror of
https://github.com/laosb/agentc.git
synced 2026-12-04 23:31:48 +00:00
Coding agents, easily containerized.
- Swift 90%
- Python 6.2%
- Shell 3%
- C 0.8%
| .agentc | ||
| .boite | ||
| .github | ||
| docs | ||
| scripts | ||
| signing | ||
| Sources | ||
| Tests | ||
| .gitignore | ||
| .swift-version | ||
| BUILD.md | ||
| build.sh | ||
| Dockerfile | ||
| install.sh | ||
| LICENSE | ||
| Package.resolved | ||
| Package.swift | ||
| README.md | ||
agentc
Run AI coding agents in isolated containers, with persistent profiles and per-project memory isolation.
Works with Claude Code, OpenAI Codex CLI, GitHub Copilot CLI, and other agents through pluggable configurations.
Quick start
Requirements: macOS 15+ on Apple Silicon or Intel for Apple Containerization; or macOS/Linux on x64 or arm64 with a Docker Engine API v1.44+ compatible daemon (Docker or Podman in Docker-compatible mode).
Install the latest release:
curl -fsSL https://raw.githubusercontent.com/laosb/agentc/main/install.sh | sh
From your project directory, launch Claude Code (the default):
agentc run
Choose another agent or pass a prompt:
agentc run -c codex
agentc run -c copilot
agentc run -- "explain this code"
Keep separate profiles, save project defaults, or open a container shell:
agentc run -p work
agentc init -c codex
agentc sh
Use agentc --help or agentc <subcommand> --help for all options. See the usage guide for more examples.
Features
- Isolated execution — run agents with Apple Containerization on macOS or a Docker-compatible runtime on macOS/Linux. Standard Docker containers share the host kernel; agentc prefers Kata Containers or gVisor when available. See safer Docker isolation.
- Persistent profiles — keep authentication, settings, MCP servers, and memory across sessions, with separate profiles for work and personal use.
- Flexible agent choice — switch or combine agent configurations without rebuilding agentc.
- Project defaults — save agent, resource, environment, mount, and image preferences in
.agentc/settings.json. - Custom images and mounts — use your preferred container image and share additional directories with the agent. See images and mounts.
- Editor and scripting support — connect ACP clients with automatic workspace mounts, or pipe agent output without mixing in setup logs.
- Host tools, by explicit opt-in — let containerized agents use host commands or host stdio MCP servers. These commands run outside container isolation.
- SOCKS5 networking — on Apple Containerization, optionally route guest IPv4 TCP, UDP, and DNS through a proxy without configuring each application. See scope and exceptions.