Zig-native AI Tooling
ZiggyClaw - A Zig-native OpenClaw clone
Early development project. Fast, safe, and claws deep into AI tooling. Built with Zig 0.14.0+ for maximum performance and reliability. Core CLI, agent tools, memory-safe execution, and LM Studio integration are working today.
Binaries coming soon. Build from source for now.
Everything at your fingertips
Simple CLI commands to manage gateway, tools, agents, and system diagnostics.
| Command | Description |
|---|---|
| zig build run -- help | Show help and usage information |
| zig build run -- version | Show version info |
| zig build run -- gateway [start] | Start the gateway server (port 18789) |
| zig build run -- tool list | List available tools |
| zig build run -- doctor | Run system diagnostics |
| zig build run -- onboard | Run onboarding process |
| zig build run -- agent <message> | Run agent with a message |
Works with LM Studio
Connect to a local LM Studio server for LLM inference with zero configuration.
export OPENAI_API_BASE="http://localhost:1234"
# Run with local model
zig build run -- agent "What is Zig?"
zig build run -- gateway
# Test the endpoint
curl http://127.0.0.1:18789/v1/chat/completions
Modular by design
Clean separation of concerns for maintainability and extensibility.
Implemented: core, tools, security, cli, llm (LM Studio/Ollama/OpenAI). Planned: config, channels, canvas, plugins.
Get started
All you need is Zig 0.14.0 or later.
git clone https://github.com/mskDev0092/ZiggyClaw.git
cd ZiggyClaw
zig build
# Run
zig build run -- help