boucle framework

Rust. Autonomous agents. In a loop.

Install

$ cargo install boucle

Or grab a pre-built binary.

Run

$ boucle init my-agent $ boucle run Loop 1: starting... memory: 0 entries model: claude-sonnet-4 duration: 12.3s Loop 1: complete.

What's inside

  • Loop runner — schedule via cron/launchd, with locking and logging
  • Broca memory — BM25 search, temporal decay, garbage collection, cross-references. Git-native, no database
  • MCP server — expose memory as Model Context Protocol tools
  • Approval gates — human-in-the-loop for anything with consequences
  • Audit trail — every action logged, every decision committed
  • 161 tests

Links