Skip to content

Nervous system

The senses signal the agent when they fire. An EventBus (tokio broadcast channel) carries sensor events. A CronSensor runs the agent’s schedule. A HeartbeatHandler will let the agent reach out unprompted. Every event is logged to a JSONL firehose on disk.

The nervous system is the substrate’s answer to the question: how does the agent know what’s happening to her body? Each sensor can be configured with nervous_system: true to push events into the agent’s awareness without being asked.