bravenewxyz/agent-c
bravenewxyz/agent-c has 443 GitHub stars and 30 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-10 04:39 UTC. Last push 2026-03-05.
Ultra-lightweight AI Agent
What you can do
- Zero Dependencies: No curl, no libssl — native TLS via macOS SecureTransport
- Tool Calling: OpenAI-compatible tools API for shell command execution
- Streaming: Tokens print as they arrive via SSE
- ~4KB binary: Single file (agent.c), LZMA self-extracting archive
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAgent-C
An ultra-lightweight AI agent written in C that communicates with OpenRouter API and executes shell commands.

Features
- Zero Dependencies: No curl, no libssl — native TLS via macOS SecureTransport
- Tool Calling: OpenAI-compatible
toolsAPI for shell command execution - Streaming: Tokens print as they arrive via SSE
- ~4KB binary: Single file (
agent.c), LZMA self-extracting archive - Conversation Memory: Sliding window of 20 messages with tool call history
- Cross-Platform: macOS and Linux
Quick Start
export OR_KEY=your_openrouter_api_key
make
./agent-c
Build
make # auto-detect platform
make macos # macOS with LZMA compression
make linux # Linux with UPX compression
make clean # remove build artifacts
How It Works
The agent connects to OpenRouter, sends messages with a sh tool definition, and streams the response. When the model returns a tool_calls response, the agent executes the command, sends the result back, and gets a follow-up response. Up to 5 tool calls per turn.
See SPEC.md for full architecture and test cases.
License
CC0 — No Rights Reserved
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
300,970 starsNousResearch/hermes-agent
The agent that grows with you
262,559 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
232,009 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
200,444 stars