Skip to main contentCrate clawgarden_agent
Source - agent_loop
- Agent Loop — FSM-based agent execution
- bus_client
- UDS Bus Client for communicating with the ClawGarden message bus.
- context
- Token budget-based context manager
- intent_generator
- Intent Generator — BIMR Step 1+2: Agent decides whether to respond.
- loop_checkpoint
- Agent loop checkpoint — Stores loop state for pause/resume
- loop_guard
- Loop guard - prevents agents from getting stuck in repetitive loops
- loop_metrics
- Loop metrics — Aggregates agent loop termination metrics
- loop_policy
- Agent loop policy — State-based termination/abort rules
- main_helpers
- Main helpers — Shared functions reused by agent_loop
- memory
- Memory loader - loads agent memory from filesystem
- pi_rpc
- LLM API bridge — multi-backend, OpenAI-compatible chat completions.
- response_parser
- LLM response parser — Function Calling parsing
- role
- Role loader - loads agent role definition from filesystem
- skill_loader
- Skill loader — loads available skills from the garden’s shared registry.