Loading repository data…
Loading repository data…
altlimit / repository
Altclaw is an open-source, single-binary AI agent orchestrator that lets AI models do things — read and write files, run shell commands, query databases, automate browsers, send emails, manage git repos, deploy web apps, and much more — all inside a secure, workspace-scoped sandbox.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Altclaw is an open-source, single-binary AI agent orchestrator that lets AI models do things — read and write files, run shell commands, query databases, automate browsers, send emails, manage git repos, deploy web apps, and much more — all inside a secure, workspace-scoped sandbox.
Built in Go with an embedded JavaScript engine (Goja), Altclaw bridges the gap between AI reasoning and real-world system execution. Ship it anywhere — desktop, server, or edge — with zero external dependencies.
Download pre-built GUI binaries for macOS, Windows, or Linux from the GitHub Releases page.
Install via alt — a stateless, zero-config CLI distribution proxy:
Linux & macOS
curl -fsSL https://raw.githubusercontent.com/altlimit/alt/main/scripts/install.sh | sh
alt install altlimit/altclaw
Windows (PowerShell)
powershell -Command "iwr https://raw.githubusercontent.com/altlimit/alt/main/scripts/install.ps1 -useb | iex"
alt install altlimit/altclaw
Or download pre-built CLI binaries directly from GitHub Releases.
# Start with Web UI — uses current directory as workspace
altclaw .
# Terminal UI mode
altclaw --tui .
# Run a script directly
altclaw run script.js
# Run as MCP server (for Claude Desktop, Cursor, etc.)
altclaw --mcp .
Navigate to any project folder, launch Altclaw, and the AI gets sandboxed access to that directory. Configuration (providers, settings, secrets) is managed through the Web UI settings panel and stored locally in ~/.altclaw/.
The Agent Loop — Altclaw sends your message to an AI provider, scans the response for executable code blocks, runs them in a sandboxed JavaScript engine, feeds results back to the AI, and repeats until a final answer is produced. This iterative loop — up to a configurable max iterations (default 20) — allows the AI to reason, execute, observe, and adapt.
Smart Context Management — Prior conversation turns are automatically compacted: intermediate execution logs are stripped, keeping only user questions and final answers. Last successful execution patterns are injected as context so the AI reuses what worked before.
Sub-Agent Spawning — Delegate specialized tasks to sub-agents running on different AI providers with agent.run(task, "providerName"). Each sub-agent gets its own isolated VM and optional per-provider Docker container.
Task Parallelism — task.run() spawns parallel child VMs for CPU-bound JS workloads without AI provider involvement. Queue support with concurrency limits keeps resource usage under control.
The AI interacts with the system through synchronous JavaScript bridges — no async/await needed:
| Module | What It Does |
|---|---|
fs | Read, write, list, grep, patch, append, search — all path-jailed to the workspace |
fetch | SSRF-protected HTTP client with streaming download support |
sys | Shell commands via Docker/Podman or local executor |
browser | Headless Chrome automation — scrape, screenshot, PDF, form fill, network monitoring. Auto-pierces Shadow DOM. Supports persistent sessions and {{secrets.NAME}} for secure credential entry |
db | Multi-driver database access — SQLite, PostgreSQL, MySQL, MSSQL with connection pooling |
git | Automatic snapshots per chat session, plus full git operations (log, diff, commit, branch, restore) |
blob | Cloud storage — AWS S3, Azure Blob, GCP Cloud Storage via gocloud.dev |
mail | IMAP + SMTP — list, read, flag, move, send with attachments |
ssh | Remote command execution, file upload/download over SSH |
mem | Persistent memory with categories (core, learned, note) and auto-expiry — workspace-scoped or global |
secret | Secure credential storage with {{secrets.NAME}} template expansion in fetch, sys, browser, and blob |
cron | Schedule recurring tasks with cron expressions — run scripts or AI conversations on autopilot |
agent | Spawn sub-agents with optional provider routing and per-provider Docker images |
task | Parallel JS execution with queue support and concurrency limits |
ui | Interactive prompts — log messages, ask questions, request file uploads, approval workflows |
mod |
All bridge docs are available at runtime via
doc.read("module"),doc.find("keyword"), ordoc.all().
Altclaw has a built-in module system that lets you extend the agent's capabilities with reusable JavaScript packages.
Discover & Install — Search the public marketplace from the Web UI's Modules panel or programmatically via mod.search("query"). Install with one click or via mod.install("module-name").
Create Your Own — Any folder with a package.json and index.js can be a module. Right-click a folder in the file explorer → "Install as Module" to register it instantly.
Publish to the Marketplace — Submit your module for public listing with ed25519 cryptographic signing for tamper-proof ownership verification. Modules are reviewed by admins before appearing in search results.
Scoped Installation — Install modules at the workspace level (project-specific) or user level (shared across all workspaces).
// Using an installed module
var greet = require("my-module");
greet.hello("World");
// Searching and installing from code
var results = mod.search("github");
mod.install("github", "workspace");
Module Structure:
my-module/
package.json ← name, version, description, keywords
index.js ← entry point (module.exports)
README.md ← docs shown in UI and marketplace
Web UI — A Vue.js 3 SPA with:
Terminal UI — A Bubble Tea v2 TUI with chat, status display, and provider switching — for when you prefer the terminal.
GUI Mode — Native desktop window via Wails v3 (optional build tag) with system browser integration.
MCP Server — Expose workspace tools via Model Context Protocol (JSON-RPC 2.0) for Claude Desktop, Cursor, and other MCP clients. Works over both HTTP and stdio transports.
The AI can create full-stack web applications right inside the workspace:
.server.js file into the public directory and it becomes a live HTTP endpoint with fetch-style function(req) → Response API.// public/api/hello.server.js
module.exports = function(req) {
return { message: "Hello from Altclaw!" };
};
Create JS files in .agent/mcp/ to expose them as tools for Claude Desktop, Cursor, and other MCP clients:
// .agent/mcp/read_file.js
/** @name read_file @description Read a workspace file */
// inputSchema: {"type":"object","properties":{"path":{"type":"string"}},"required":["path"]}
module.exports = function(params) {
return fs.read(params.path);
};
Connect via stdio (Claude Desktop / Cursor):
{
"mcpServers": {
"altclaw": {
"command": "altclaw",
"args": ["--mcp", "/path/to/workspace"]
}
}
}
var mcp = require("mcp");
var client = mcp.connect({ url: "http://example.com/mcp" });
var tools = client.tools();
var result = client.call("read_file", { path: "/workspace/README.md" });
client.close();
Dual Executors:
os/exec with optional command whitelist for trusted environments.Workspace Sandbox:
{{secrets.NAME}} in trusted bridges onlyui.confirm() for sensitive operations (module installs, system commands)Pausable Deadlines — Execution timeouts pause automatically when the agent blocks on sub-agent results, so child execution time doesn't penalize the parent.
| Provider | Type |
|---|---|
| OpenAI | GPT-4, GPT-4o, etc. |
| Google Gemini | Gemini Pro, Flash, etc. |
| Anthropic | Claude Sonnet, Opus, etc. |
| Ollama | Any local model |
| OpenAI-Compatible | Grok (xAI), DeepSeek, Mistral, OpenRouter, Perplexity, Hugging Face, MiniMax, GLM — or any custom endpoint |
Multi-Provider Routing — Configure named providers with descriptions. The default provider's system prompt includes a specialist directory, enabling the AI to delegate tasks via agent.run(task, "providerName").
Rate Limiting & Token Caps — Sliding-window RPM limiter per endpoint with per-provider overrides. Daily token caps (prompt + completion) with per-workspace and per-provider tracking.
Profile Provisioning — Connect to a
| Search, install, remove, and publish modules from the marketplace |
doc | Built-in manuals — doc.read("fs"), doc.find("keyword"), doc.all() |
cache | In-process key-value cache with TTL and rate limiting |
csv | CSV read/write with query capabilities |
crypto | Hashing (SHA-256, MD5, etc.), HMAC, AES encrypt/decrypt, random bytes, key generation |
dns | DNS lookups and reverse resolution |
zip | Archive creation and extraction (ZIP and tar.gz) |
img | Image manipulation — resize, crop, convert, rotate |
log | In-memory ring buffer — search and inspect application logs |
chat | Cross-conversation access — read messages from other chats |