Marsstein/marsclaw
Lightweight, secure, multi-agent AI runtime. 18MB binary, 6 chat adapters, 3 LLM providers, MCP client, zero dependencies.
Platform-specific configuration:
{
"mcpServers": {
"marsclaw": {
"command": "npx",
"args": [
"-y",
"marsclaw"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<p align="center"> </p>
<p align="center"> <a href="#quick-start">Quick Start</a> · <a href="#features">Features</a> · <a href="#comparison">Comparison</a> · <a href="#configuration">Configuration</a> · <a href="#architecture">Architecture</a> · <a href="#roadmap">Roadmap</a> </p>
---
18MB binary · <50MB RAM · Sub-second startup · Zero CVEs
MarsClaw is a personal AI agent runtime written in Go. It connects to Claude, GPT, Gemini, and local models to help you code, automate tasks, and orchestrate multi-agent workflows — all from a single binary with no dependencies.
$ marsclaw "add error handling to main.go"
⚡ read_file
✓ read_file
⚡ edit_file
✓ edit_file
Added error wrapping with fmt.Errorf to all three return paths in main().
── claude-sonnet-4 │ 1.2K in / 523 out │ $0.012 session ──# Install
go install github.com/marsstein/marsclaw/cmd/marsclaw@latest
# Or download a binary
curl -sSfL https://marsclaw.dev/install.sh | sh
# Set your API key (pick one)
export GEMINI_API_KEY="..." # Google — use your GCP credits
export ANTHROPIC_API_KEY="sk-ant-..." # Anthropic
export OPENAI_API_KEY="sk-..." # OpenAI
# Interactive mode
marsclaw
# Single prompt
marsclaw "explain this codebase"
# Web UI (access from any device)
marsclaw serve --addr :8080
# Telegram bot
export TELEGRAM_BOT_TOKEN="..."
marsclaw telegram
# Use with Gemini (burns GCP credits, not a separate bill)
marsclaw -m gemini-2.5-flash "explain this code"
# Use with OpenAI
marsclaw -m gpt-4o "explain this code"
# Use with local Ollama (free, fully offline)
marsclaw -m llama3.1 "explain this code"
# Discord bot
export DISCORD_BOT_TOKEN="..."
marsclaw discord
# Slack bot
export SLACK_BOT_TOKEN="xoxb-..."
marsclaw slack| | OpenClaw | PicoClaw | ZeroClaw | MarsClaw | |---|---------|----------|----------|:------------:| | Language | TypeScript | Go
Loading reviews...