Appearance
Getting Started
This walkthrough takes you from an empty tenant to a completed workflow run. Everything below can be done in the Agentfleet app at agentfleet.co.za or via the REST API.
Prerequisites
- An Agentfleet account with the relevant admin roles (resource, step, workflow, agent administration).
- An MCP server you want to orchestrate against (its base URL and path, e.g.
https://api.example.com+/mcp). - A configured model provider with at least one active model.
1. Register a resource
A resource is an MCP server the platform can call.
- Go to Resources → Create.
- Enter a name, description, the Base URL, and the Path (e.g.
/mcp). - Save. Agentfleet automatically registers the resource with the identity provider and binds its audience — tokens issued for this resource are valid only there.
2. Import its tools
- Open the resource and choose Import tools.
- Agentfleet discovers the tools the MCP server advertises and registers each one, including its OAuth scope.
- Re-import at any time to refresh tool schemas.
PDP-filtered listings
Some MCP servers filter their tool listing per caller. If expected tools are missing after an import, the importing session may lack the scopes needed to see them — import with a suitably privileged principal.
3. Create an agent
- Go to Agents → Create and give the agent a name, description, and model.
- Agentfleet registers the agent in the identity provider as a delegated agent with its own confidential client and a per-agent signing key. No client secrets are created or stored — the agent authenticates with short-lived signed assertions.
4. Define steps
A step is a reusable unit of work: a natural-language instruction plus exactly one tool.
- Go to Steps → Create.
- Write the instruction — what the step should accomplish and what to return. Be explicit about the success condition; the instruction is the model's contract.
- Select the tool the step uses.
Example instruction: "Call
MatchAdvisorwith the candidate FSP number and name from the run inputs. Return the match verdict and its supporting evidence."
5. Compose a workflow
- Go to Workflows → Create, name and describe it.
- Add steps in execution order.
- Activate the workflow — only active workflows can run.
6. Run it
- Open the workflow and choose Run.
- Pick the agent that will execute it.
- Optionally add initial context — key/value inputs visible to the first step. Two keys are reserved:
task_idandpurpose, which are stamped into every step's delegated token as claims. - Queue the run. It executes in the background; track it in the run inspector.
7. Inspect the results
Open the run to see:
- State — Running, Completed, Failed (with reason), or Cancelled.
- Context — every input and every promoted output (
toolResult_<n>,modelResponse_<n>) with provenance. - Summary — steps completed, total tokens, average model latency.
- Per-step detail — each model call (input/output, tokens, latency, round) and each tool call.
Next steps
- Understand the identity model — what the delegated token carries and why.
- Learn the reserved run inputs for task- and purpose-bound sessions.
- Automate the workflow — fire it on a schedule or on an inbound event instead of by hand.
- Guard it with evals — score the workflow against expected cases and catch regressions.
- Explore the REST API to queue runs programmatically.