HACKOBAR_item
[HN]score: 0.21

Show HN: Adam – An embeddable cross-platform AI agent library

May 6, 2026
Adam is an open-source, single-header C library delivering a full agentic loop including tool calling, memory, streaming, voice STT/TTS via Whisper, and structured output across Anthropic, OpenAI, Gemini, Groq, and llama.cpp backends through one unified API. It ships with 13 built-in tools, hybrid BM25 plus vector memory via SQLite, multi-agent orchestration, and an arena allocator for zero-leak per-iteration execution, validated across 161 tests with ASan and UBSan. Compiling to macOS, Linux, Windows, iOS, Android, and WASM, Adam targets embedded systems, mobile, and edge deployments where Python-based frameworks like LangChain or LlamaIndex are impractical. For C and C++ practitioners building production agents outside the Python ecosystem, this is a rare unified primitive worth evaluating immediately.