Skip to content
The Daily Repo

Kohaku-Lab / KohakuTerrarium

KohakuTerrarium is a general-purpose AI agent framework and batteries-included app for building, running, and composing self-contained agents and multi-agent teams, with built-in tools, sub-agents, persistent sessions, TUI, and web UI.

Why this job: says: agent framework; topics: agentic-framework, agent, agent teams, multi agent

What it does

  • Agent-level abstraction. The six-module creature model is the first-class concept. A new agent shape is "write a config and maybe a few custom modules," not "rebuild the runtime."
  • A real Python API. Agent.build, typed TurnResult turns with timeouts that actually cancel, streaming typed events, @kt.tool to turn any function into an agent tool, direct LLM-instance injection, strict-by-default errors instead of silent f
  • Built-in session persistence and resume. The engine mints and owns session files (session= / Terrarium(session_dir=)); resume hours later with kt resume or Terrarium.resume. SessionReader replays any finished run offline.
  • Searchable session history. Every event is indexed. kt search and the search_memory tool let you (and the agent) look up past work.
  • Non-blocking context compaction. Long-running agents keep working while context compacts in the background.

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit yesterday
Stars
548
+5 this week
Licence
Custom
Read before business use
Downloads for
3 systems
Mac, Windows, Linux
Latest version
v2.2.1
Released 4 days ago
Built with
Python
71% of the code

Is it looked after?

Contributors
7
Last 90 days
Issues
98% closed
5 still open
Pull requests
302 merged
1 waiting
Releases
50
30+ in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
langgenius / dify160,900todayCustomMac, Windows, Linux
heurist-network / heurist-agent-framework82818 days agoCustomNo downloads
microsoft / ai-agents-for-beginners79,3755 days agoMITNo downloads
More: download files, languages, topics and project record

Download files, v2.2.1

  • Mac3 files, 7 downloads
  • Windows2 files, 12 downloads
  • Linux10 files, 24 downloads

All files on GitHub (opens in new tab)

Languages

  • Python 71%
  • JavaScript 20%
  • Vue 7%
  • Rust 1%

Topics

  • agent
  • agentic-framework
  • llm

Project record

  • JobAgent frameworks
  • StatusListed
  • Commits2,722
  • Forks70
  • Watching2
  • Stars in 28 days+28
  • CreatedJan 10, 2026
  • First seen by usNov 7, 2026
  • CheckedNov 11, 2026

Type to search.

Try