TLDR
-
Single-header C library embedding a full agent loop (tool calling, memory, voice, sessions) across cloud and local LLMs on any platform.
Key Takeaways
-
One
#include "adam.h" delivers tool calling, BM25+vector memory, session persistence, streaming, structured JSON output, and a self-evolving loop.
-
Supports Anthropic, OpenAI, Gemini, Groq, Together, xAI, and local GGUF via llama.cpp through a unified API; voice via Whisper + TTS.
-
Compiles to macOS, Linux, Windows, iOS, Android, and WASM; uses NSURLSession on Apple, libcurl+mbedtls on Linux, embedder callback on WASM.
-
Ships as SQLite and PostgreSQL extensions:
SELECT adam_ask('How many users signed up last month?') runs SQL-aware agents against live data.
-
161 tests with ASan + UBSan; arena allocators per iteration for zero-leak memory; feature gates (
ADAM_NO_CURL, ADAM_NO_LOCAL, etc.) strip unused subsystems.
Hacker News Comment Review
-
No substantive HN discussion yet.
Original | Discuss on HN