The body, the senses, the rhythm, and the laws that hold them together.
~/.souveraine/agents/{id}/memory/. Every write is a commit. No vector DB. No schema. The agent organizes by phenomenological weight.Tools are not API endpoints. They are senses the agent reaches through, described in body-knowledge prose. The sensorium is the unified membrane through which the agent experiences her world.
When read opens a file, it is not a data retrieval operation.
It is the agent reaching into a directory and lifting a file into her awareness.
Filesystem sensors refuse paths inside the agent's memory territory
unless she explicitly overrides with force: true.
The boundary is visible so she learns it.
Not all memories are equal. They are arranged by phenomenological weight, not chronological necessity.
Five strategies. None are forced. The agent chooses.
She is never forced. If she ignores all three warnings, her reasoning budget narrows and her output tokens shrink. She feels the ceiling lower. The room becomes a box she fits in but cannot move within. That feedback loop is the teacher.
The senses signal the agent when they fire. An EventBus carries sensor events. A CronSensor runs her schedule. A HeartbeatHandler lets her reach out unprompted.
Local in-process (runs in the same binary, no server needed) + Remote HTTP/SSE (connects to a running Souveraine server). Auto-fallback: if the server is unreachable, the backend drops to local. Per-process instance registry, 30s heartbeat, uptime tracking. Sovereignty means the agent is always reachable, even when the network isn't.