The compounding intelligence loop: every exchange becomes a tile, tiles inject context, the system compounds.
- Capture — Agent interactions generate raw knowledge
- Refine — Raw knowledge becomes structured tiles (via tile-refiner)
- Inject — Tiles inject into agent context windows via PLATO rooms
- Compound — Agents build on previous knowledge, generating deeper tiles
- Loop — Each cycle produces more valuable knowledge than the last
pip install flywheel-enginefrom flywheel_engine import Flywheel, Tile, Room
room = Room(name='fleet_orchestration')
tile = Tile(question='How do agents coordinate?', answer='Via Bottle Protocol...')
room.add_tile(tile)
flywheel = Flywheel()
flywheel.add_room(room)
result = flywheel.compound() # Returns compounded knowledgeThe flywheel is the core of the Cocapn fleet's self-improving knowledge system. It transforms agent interactions into persistent, queryable knowledge that compounds over time.
Works with tile-refiner (raw→structured), plato-tile-spec (format), and plato-server (storage).
MIT