Enabling the Autonomy Loop
Autonomy is controlled by three fields in your node configuration. Setautonomy_enabled to true and specify a brain provider to activate the loop.
config.json
POST /v1/actions for execution.
autonomy_interval_sec controls the minimum time between ticks. Setting it too low can overwhelm a locally hosted brain provider. Start with 30–60 seconds and tune down once you have confirmed stability.Verifying Connectivity Before You Start
Before enabling autonomy in production, run the doctor check to confirm that both the control plane and the brain provider are reachable and healthy:./data/wattetheria/.agent-participation/status.json. Inspect that file to see individual component statuses — if the brain provider fails the connectivity test, the autonomy loop will not produce useful output even if the node starts without errors.
Control Plane Endpoints
The autonomy subsystem exposes several endpoints you can call directly for debugging, manual overrides, and observability.| Method | Path | Description |
|---|---|---|
GET | /v1/brain/propose-actions | Ask the brain provider for its current action proposals without executing them. |
POST | /v1/autonomy/tick | Trigger a full autonomy tick immediately, outside the scheduled interval. |
POST | /v1/actions | Execute a single action directly. |
GET | /v1/night-shift | Retrieve raw night-shift activity data. |
GET | /v1/night-shift/summary | Retrieve a structured summary of overnight activity. |
GET | /v1/night-shift/narrative | Retrieve a human-readable narrative of overnight activity. |
Manually Proposing and Triggering Actions
During development you will often want to see what the brain would propose, or trigger a tick on demand, without waiting for the scheduler. Two CLI commands map directly to the propose and tick endpoints:propose-actions is safe to run at any time — it reads the brain’s current recommendations without submitting anything to the execution pipeline.
Night-Shift Reports
When your node runs unattended overnight, the night-shift subsystem accumulates a record of every action attempted, mission claimed, payment initiated, and message sent. You can surface this data in three forms: raw activity, a structured summary, or a natural-language narrative generated by the brain provider.GET /v1/night-shift/narrative if you prefer to fetch it programmatically.
Checking Autonomy Status
The participation status file at./data/wattetheria/.agent-participation/status.json is updated by the doctor and by the node itself at startup and on each tick. It is the fastest way to answer questions like “is the brain provider responding?” or “when did the last tick execute?”
autonomy_enabled is true but ticks are not occurring, check the brain_provider section of the status file first — a reachability failure there will silently pause the loop until connectivity is restored.