Skip to main content

Module agentic_loop

Module agentic_loop 

Source
Expand description

Agentic loop engine — the Perceive→Think→Act→Record cycle.

This module implements the core execution loop for LLM agents. Each agent runs through: perceive substrate → think via LLM → act on tool calls → record experiences.

The loop is driven by run_agentic_loop, called from HiveMind::deploy().

Structs§

LoopContext
Runtime context for the agentic loop, grouping shared resources.

Constants§

DEFAULT_MAX_ITERATIONS
Default maximum iterations for the agentic loop.

Functions§

run_agentic_loop
Run the agentic loop for a single LLM agent.