Manager¶
Autonomous agent manager loop.
Polls active user tasks, runs a single pipeline iteration per task, persists results (unless dry-run), and triggers Telegram notifications via DB tasks.
- class agent.manager.RuntimeConfig(poll_seconds=30, dry_run=False, agent_id='main_agent', test_user_id=None)[source]¶
Bases:
object
In-memory configuration for the agent manager.
- Variables:
poll_seconds – Poll interval in seconds for the main loop.
dry_run – If
True
, do not persist analyses; only notify.agent_id – Identifier reported in status updates.
test_user_id – Optional override to send notifications to a test user.
- Parameters: