Choose who controls the next step
These choices compose. A harness can drive a workflow; a workflow can call an Agent. Compare the approaches before adding another layer.
Add one capability, then verify it
Follow an application path
Once the execution and state choices are clear, follow one of these routes. The first example gives you a runnable starting point; the later guides add the capabilities that path needs.Assistants and APIs
Build: an assistant that answers from your data, remembers a conversation, and calls application functions. Start with:@agentium/core. Add @agentium/transport for HTTP or sockets; add @agentium/eval and @agentium/observability to check quality and diagnose runs.
- Run the first support Agent, then add a lookup tool.
- Choose structured output when code consumes the response, retrieval for source evidence, and sessions for context between turns.
- Assert the behavior with a quality gate.
- Serve the owned-session API, then apply the request-serving deployment checks.
Harnesses and automation
Build: reusable capabilities or a controlled business process with explicit grants, budgets, and approval decisions. Start with:@agentium/core + @agentium/harness. Choose agentDriver for model-led work, workflowDriver for a known sequence, or teamDriver for coordinated specialists.
Begin with the research harness or the approval workflow. Add selected file context, conversation sessions, MCP resources, or watches as the task requires.
Background and recoverable work
Build: scheduled analysis, asynchronous processing, or work whose status must survive a request or process.- Run the producer and worker with core +
@agentium/queueand inspect its terminal job result. - Register the executor in each worker and choose job retention, concurrency, and scheduling.
- For recoverable state, add durable tasks and actions with a replay-aware driver and store. Persist an operation identity before an external effect.
- Rehearse interruption and reconciliation. A queue retry alone does not prevent duplicate effects.
Voice and phone applications
Build: a realtime voice assistant, a composed speech pipeline, or an outbound phone application. Start with: core’svoice entry point. Add core’s telephony entry point for call control and @agentium/transport when a supported gateway fits your client.
- Choose native realtime or streaming STT → Agent → TTS.
- Connect browser audio or LiveKit media.
- If the application dials, choose a carrier adapter and learn the call intent lifecycle.
- Handle voice recovery and carrier callbacks at their separate boundaries.
Browsers and execution workspaces
Build: an assistant that operates web interfaces or runs code in an execution workspace.- Start with BrowserAgent from
@agentium/browserand core, or choose a sandbox adapter for code execution. - Give it a narrow task, model, credentials, and explicit environment ownership. A local subprocess does not provide OS isolation.
- Add selected file context when a harness needs evidence from a workspace.
- Inspect the result and close owned browsers, sessions, and sandboxes. Follow the browser deployment profile.
Device applications
Build: an Agent that observes or controls a device through@agentium/edge and core.
- Choose the system, GPIO, servo, sensor, camera, or BLE toolkit that fits the hardware.
- Configure an edge model and inspect tool results on the intended device.
- Add runtime monitoring and optional cloud synchronization. The host owns recovery actions and applying cloud configuration.
- Verify device permissions, disconnection handling, and shutdown with the device shipping profile.
Develop, measure, and manage
Use@agentium/cli to scaffold or watch a project. Build a quality gate with @agentium/eval and @agentium/observability before changing models or prompts. Add cost accounting and throughput limits where they affect operation.
Add @agentium/admin when your application needs to create or update entity configuration through an API. Your host still owns administrator authentication, authorization, configuration persistence, and secret resolution.
When the first application path works, move to Ship for deployment profiles and release checks. Use Examples for complete projects or Reference for exact contracts.