public inbox for kaagum@systemreboot.net
 help / color / mirror / Atom feed
* Prompt caching, token/cost reporting, state monad refactor
@ 2026-05-18 22:09 Arun Isaac
  0 siblings, 0 replies; only message in thread
From: Arun Isaac @ 2026-05-18 22:09 UTC (permalink / raw)
  To: kaagum


Hello,

kaagum is a tiny security-focused AI agent written in Guile. Here are
some quick development highlights from last month.

Two big quality-of-life improvements have landed:

kaagum now enables automatic prompt caching with a TTL of 1 hour. On
repeated prompts that share a common prefix, which is typical of a
kaagum session, this can cut costs by up to 90% on the Anthropic API!

kaagum now reports the token usage, context length and session cost to
your ACP client. Keep an eye on your costs.

Internally, kaagum uses TEA (The Elm Architecture) to separate
side-effects from a purely functional core state update function. This
core has now been rewritten using the state monad, simplifying it
further.
https://klaus.systemreboot.net/kaagum/commit/03a0edf0e2f0df29afdded81824c7aa75745fa24/

Cheers!
Arun

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-18 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18 22:09 Prompt caching, token/cost reporting, state monad refactor Arun Isaac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox