01 / SESSION
Compressed frames with a repair boundary
Events are stored in bounded Zstandard frames with decoded-size limits and checksums. A torn final frame is repaired at the last valid boundary.
Open source · C++23 · Alpha
Ava is a headless coding-agent runtime with a streaming TUI, one-shot CLI, and Web UI. Model context, replay, resume, compaction, and recovery all come from the same append-only event stream.
git clone https://github.com/SmartAI/ava.git
Runtime map
It is the source for the next model request, UI replay, resume, compaction, and crash recovery.
01 / SESSION
Events are stored in bounded Zstandard frames with decoded-size limits and checksums. A torn final frame is repaired at the last valid boundary.
02 / LIFECYCLE
Boost.Asio coroutines connect HTTP/SSE streams, provider adapters, durable writes, timers, and owned child processes.
03 / MODELS
Anthropic, OpenAI-compatible endpoints, Codex, DeepSeek, and local llama-server runs feed the same normalized agent loop.
CMake components
Ava installs four components. Native tools can consume transport, model streaming, tools, or the full agent without adopting the CLI or frontends.
Bounded HTTP, TLS, cancellation, and incremental SSE.
ava.transportProvider-neutral model streaming and normalized events.
ava.llmChecked schemas and bounded coding-tool execution.
ava.toolDrive, turn, step, steering, compaction, and recovery.
ava.agentSame run, different views
Build from source
Ava is an alpha release for developers comfortable with CMake, Ninja, Clang, and vcpkg.
Read the getting-started guide# configure and verify
export VCPKG_ROOT=/path/to/vcpkg
cmake --preset dev
cmake --build --preset dev
ctest --preset dev
# choose an interface
ava
ava -p "explain this repo"
ava --serve