What problem does it solve?
Scaffold, validate, and onboard new agents into the ValueOS agent-fabric, ensuring consistent conventions and tenant isolation across the agent lifecycle.
Core Features & Use Cases
- Scaffold a new agent file at packages/backend/src/lib/agent-fabric/agents/XAgent.ts by copying from references/agent-template.ts and replacing placeholders.
- Enforce required properties (public readonly lifecycleStage, version, name) and proper memory system usage with tenant-scoped organization_id and organizationId.
- Register the agent in the AgentFactory.ts, wiring imports, AGENT_LIFECYCLE_MAP, and FABRIC_AGENT_CLASSES, so the agent is discoverable and executable.
- Provide a standardized test skeleton in the agents/tests directory to validate happy and failure paths, tenancy, and validation rules.
- Maintain compliance with the repository's agent-fabric standards and trigger conditions for onboarding and agent reviews.
Quick Start
Provide the new agent details (name, lifecycle stage, risk profile) and run the scaffold-and-register flow to generate the agent file, update the factory, and wire up tests.