bravenewxyz/agent-c
An ultra-lightweight AI agent written in C that connects to OpenRouter API and executes shell commands via tool calling.

Velocity · 7d
+1.5
★ / day
Trend
→steady
star history
An ultra-lightweight AI agent written in C that communicates with OpenRouter API. It uses OpenAI-compatible tool calling to execute shell commands with streaming responses via SSE, and maintains conversation memory with a sliding window of 20 messages. The ~4KB binary runs on macOS and Linux with native TLS support and supports up to 5 tool calls per turn.