Skip to main content

Module engine

Module engine 

Source
Expand description

Agent execution engine with ReACT loop

Features:

  • Tracing instrumentation for observability (Jaeger, Honeycomb compatible)
  • Configurable timeout per agent to prevent hangs
  • Error injection into context for self-correction
  • Cost tracking integration for LLM API usage monitoring

Structsยง

AgentEngine
Agent engine managing multiple agents
AgentRuntime
Agent runtime state
EngineMetrics
Engine metrics with atomic counters for lock-free updates
EngineMetricsSnapshot
Snapshot of engine metrics