Skip to main content

Module agent_loop

Module agent_loop 

Source

Structs§

AgentLoopLog
Log entry for a single loop iteration.
AgentLoopManager
Manages multiple agent loops (one per agent_id).
LoopConfig
Persisted configuration for an agent loop (restored on app restart).
LoopStatus
Externally visible status of an agent loop.
WalletContext
Signing context required for live order execution on Hyperliquid L1.

Enums§

LoopState
Status of a single agent loop.

Functions§

init_history_store
Initialise the global agent-history SQLite store.
load_all_loop_configs
Load all persisted loop configs.
parse_composer_profile
Parse a composer profile string into a ComposerProfile enum.
query_history
Query the global history store. Returns an empty vec if not initialised.
set_thinking_event_emitter
write_log_entry
Append a log entry to the agent’s JSONL log file and persist to SQLite.