Search documentation

Browse Awaken Workforce docs

On this page

Docs/Awaken Workforcev0.1.0/Developer guide/Design and automateDesigning for Awaken Workforce
Note·You're reading pre-release documentation (v0.1.0). Interfaces and behavior may change before a stable release.

Developer guide · Design and automate

Designing for Awaken Workforce

What this page covers

Design Agents, Workflows, and Domain Packs as separate composable contracts with exact revisions.

Designers define how work runs without hard-coding a single model, credential, or deployment. Three authoring surfaces compose but do not bundle into one document:

SurfaceWhat you declareCurrent API/format
AgentDiscoverability, one direct or Workflow implementation, and declared Resource/Skill/MCP/workspace access/api/projects/{project}/agents/{definition}/revision
WorkflowImmutable revision whose specification declares states, slots, requirements, hand-off, transitions, and bounds/api/projects/{project}/workflows/{definition}/revision
Domain objectsResourceType facets and inline LuaPackDescriptor contract_version: 2 or Resource APIs

Design in this order

  1. Read the object model and authorization, readiness, and Resources.
  2. Define the Agent: keep identity/prompt separate from authorization, model routing, credentials, and worker capacity.
  3. Design the Workflow: route on declared events/structured output; name requirements and recovery paths.
  4. Develop the Domain Pack: model domain nouns and operations; adopt types, then create/bind instances.
  5. Test invalid inputs and missing dependencies as seriously as the happy path.

Good Workforce design is portable because it avoids accidental ambient state. A Pack does not contain runtime instances; a Workflow specification does not contain credentials; an Agent revision does not by itself grant access. Scope binding and policy compose them at use time, leaving provenance and failure evidence visible.

Keep workflow configuration, structured handoff, and the generated HTTP routes open while authoring.