Expand description
Agent-first architecture: roles, agency, and agent manifests.
In WeftOS, agents ARE the OS. Every feature is delivered by an agent. The kernel boots a root agent which spawns service agents. Each agent has:
- A role (root, supervisor, service, worker, user)
- An agency (ability to spawn child agents)
- A manifest (
.agent.toml) describing its capabilities
Agency is hierarchical: the root agent has unlimited agency, supervisors can spawn service/worker agents, services can spawn workers, and workers have no agency (leaf agents).
Structs§
- Agency
- Agency: the ability to spawn child agents.
- Agent
Dependencies - Agent dependencies.
- Agent
Health - Agent health check configuration.
- Agent
Interface - Agent communication interface.
- Agent
Manifest - Agent manifest, parsed from
.agent.tomlfiles. - Agent
Resources - Agent resource configuration.
Enums§
- Agent
Priority - Agent priority level for scheduling.
- Agent
Restart Policy - Agent restart policy.
- Agent
Role - Agent role in the OS hierarchy.
- Interface
Protocol - Interface protocol.
- Response
Mode - Response delivery mode.