All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Adam: An Embeddable Cross-Platform AI Agent Library in C

By

marcobambini

25d ago· 5 min readenCode

Summary

Adam is an embeddable, cross-platform AI agent library written in C, designed to be the "SQLite of agent frameworks." It provides a complete agent loop with tool calling, memory, sessions, voice, streaming, and structured output through a single #include. It supports both cloud APIs (Anthropic, OpenAI, Google Gemini, Groq, Together, xAI) and local models via llama.cpp, and compiles on macOS, Linux, Windows, iOS, Android, and WASM. The library is minimal, portable, and self-contained, offering features like long-term memory, research mode, and self-evolving loops.

Key quotes

· 4 pulled
Adam gives you a complete agent loop: tool calling, memory, sessions, voice, streaming, structured output, in one #include.
Works with cloud APIs (Anthropic, OpenAI, Google Gemini, Groq, Together, xAI) and local models (llama.cpp) through the same interface.
Compiles on macOS, Linux, Windows, iOS, Android, and WASM.
The SQLite of agent frameworks: small, portable, just works.
Snippet from the RSS feed
An embeddable cross-platform AI agent library written in C. Cloud and local LLMs, tool calling, long-term memory, voice, sessions, research mode, self-evolving loops. The SQLite of agent frameworks...

You might also wanna read