Agent runtime and execution
A useful delivery assistant reads a project, prepares a draft, proposes an operation and lets a person inspect the saved result. Its runtime needs more than a model response: it must manage identity, context, tools, continuation and evidence.
See the confirmed action before reading the mechanism below. The Community AI Copilot and named/durable Agent scenarios have different setup requirements; check Community scope.
Harness: the lifecycle around the model
Conversation turns enter the orchestration boundary through ConversationTurnService. The runtime selects an execution route, runs the supported chat/tool loop, streams responses and finalizes the outcome. Confirmation can suspend an operation and resume it after validating the continuation.
Request + acting identity
-> select route and assemble context
-> model proposes a tool or response
-> tool policy / business authorization / confirmation
-> execute and return the actual tool result
-> continue or finish
-> record outcome, trace and usageConfirmation continuation is not the same as arbitrary rewind or complete event-sourced replay. The available recovery behavior depends on the execution route and stored state.
Six connected capabilities
| Capability | What it contributes |
|---|---|
| Harness | Turn lifecycle, routing, tool rounds, streaming, cancellation and continuation |
| Context engineering | Grounding, context envelope, assembly, window management and budgets |
| Knowledge and memory | Retrieval evidence and scoped conversation/employee memory |
| Skills, tools and providers | Skills, business commands, queries, custom tools, MCP and model adapters |
| Policy and human control | Acting principal, permission, tool policy, risk and confirmation/approval |
| Observability and evaluation | Model/tool activity, token and cost records, trace and outcome evaluation |
Context is part of the business boundary
The selected project, acting user, allowed tools and knowledge scope influence what the assistant can use. A missing date should remain unknown. A request to read facts should not silently become a write.
An Agent can retrieve knowledge, query records or use existing conversation context. These are distinct sources: explain which one supports an answer. Do not describe every database lookup as RAG.
From a suggestion to a real operation
For a supported business-command tool, runtime policy determines whether the request may proceed or needs a person. The underlying business operation still performs its own checks. The model's explanation is not authority to bypass them.
A confirmation card lets the person review parameters. It does not grant a missing business permission and is not a full multi-person BPM approval. After execution, open the actual record and inspect its receipt.


Collaboration and scheduled work
The runtime includes task dispatch, delegation and sub-Agent mechanisms, together with scheduling entry points. A concrete collaboration example should identify the parent task, responsible Agent, delegated input and returned result. A single confirmation card does not demonstrate every collaboration pattern.
Model-driven tool selection and deterministic Automation/BPM serve different jobs. Use a business process for prescribed human steps; use Agent tools for model-assisted work within an explicit scope.
Diagnose the outcome
Check which tools actually ran, whether a business record changed, what confirmation or approval occurred and which model usage was recorded. Unknown pricing is not zero cost. A trace or evaluation result helps diagnose quality; neither guarantees every future answer is correct.
External execution can have an uncertain result. Read or reconcile that state before sending an operation again; a conversation retry is not a universal idempotency guarantee.
Follow the delivery assistant · CLI and MCP · Tools · Knowledge