Agents
An agent is the identity, instructions, tools and memory that a mesh calls. Every change to how an agent behaves is saved as a new version.
Quick Reference
Below each group lists its fields with a concise purpose and guidance (when to adjust, interactions, impacts, tips).
Name and Description
| Field | Purpose | Guidance |
|---|---|---|
| Name | Identifies the agent | Shown in lists, meshes and traces. Not versioned; renaming does not create a version. |
| Description | Role and scope | A concise overview of the agent’s responsibilities. Not versioned. |
Identity and Task Instructions
| Field | Purpose | Guidance |
|---|---|---|
| Identity | Role and character | Optional. The identity sets the agent’s role and character. Add one to steer tone or expertise. Specific personas reason better than vague multi-discipline ones. |
| Task instructions | What the agent does and how | Required. Markdown. Imperative directions for one task or a tightly related set. Prefer positive instructions over prohibitions. Examples help. |
Input Schema
| Field | Purpose | Guidance |
|---|---|---|
| Input schema | Structure of incoming messages | Defined in the schema editor in Designer or JSON mode. Keep it minimal. Every property needs a description. See Message Schemas. |
Model Complexity
| Field | Purpose | Guidance |
|---|---|---|
| Model complexity | Signals the routing choice | Low: fast and cheap, for simple tasks. Medium: balanced, for most tasks. High: for hard tasks; slower and costlier. Model Set rules match on it. Start low and raise after traces show reasoning failures. |
User Interaction
| Field | Purpose | Guidance |
|---|---|---|
| Send thinking messages | Streams interim thinking | Streams the model’s interim thinking, when it has any. What is available depends on the model profile’s Thinking display. Enable for transparency; collapse it in a UI. |
| Send progress messages | Streams status updates | Streams short status updates while a request runs. Enable for long running agents whose client can show progress. |
Tools
| Field | Purpose | Guidance |
|---|---|---|
| MCP connection | External tools over MCP | Attach a connection and choose a filter; All tools, Selected tools, or Tools matching a pattern (a regular expression). Expose only what the task needs. See MCP Connections. |
| Particle | Sandboxed WebAssembly tools | Attach an installed particle with the same filter choices. See Particles. |
| Client task | Ask the user something | Attach a client task to let the agent pause and ask the user. New organizations start with ask_question, pick_one, multi_select and confirmation. See Client Tasks. |
Skills
| Field | Purpose | Guidance |
|---|---|---|
| Skill | Instructions loaded on demand | Attach skills the agent may load when a task calls for them. No two attached skills may share a declared name. See Skills. |
Memory
| Field | Purpose | Guidance |
|---|---|---|
| Interaction profile | How the agent reads and writes memory | Attach one or more profiles. They take effect only in a mesh that has a Memory Store. Memory is versioned. See Interaction Profiles. |
Tags
| Field | Purpose | Guidance |
|---|---|---|
| Tags | Routing and metadata | Name and value pairs. Every tag needs a name and a value. Model Set rules match on them. Tags are versioned, so changing them creates a new agent version. |
Versions
Name and description are not versioned. Everything under the Behavior heading on the edit page is versioned.
Saving makes a new version. The save bar shows how many changes you made and which version number saving makes.
If the agent is used in meshes, Save asks “Update mesh drafts too?”. Choose Save agent only or Save and update drafts. If you choose Save agent only, a mesh draft keeps its pinned version.
The versions page lets you name, rename and delete versions. Meshes run a specific version. Name the versions you want to find again.
Identity and Task Instructions
Well-crafted Identity and Task Instructions are the key to an effective agent. These configurations strongly influence correctness, tone and tool usage. Keep scope narrow. Agents should have a single task to perform. If you find the task instructions growing large and unwieldy, consider if this agent should be split into multiple interacting agents.
Identity
Persona framing guiding tone & perspective. Avoid vague multi-discipline personas - specificity improves reasoning.
Task Instructions
Imperative directives for a single task or tightly related set. Prefer positive instructions (“Do …”) over negative (“Don’t …”). Review traces to refine unclear steps. Well chosen examples can improve performance.
Input Schema
Defines structured data the agent receives. Define the schema in the schema editor, in Designer mode or JSON mode. Keep minimal by structuring the schema to minimize extraneous information that can confuse the agent. See Message Schemas.
Model Complexity
Signals routing decisions in Model Sets. Choose Low, Medium or High. Start at Low and raise it after trace review shows reasoning failures. Periodically audit for cost regressions.
User Interaction
Two flags control what the agent streams to the client. Enable them selectively to balance transparency, latency and cost.
- Send thinking messages streams the model’s interim thinking, when the model has any. The model profile’s Thinking display sets what is available.
- Send progress messages streams short status updates while a request runs.
Asking the user questions
To let the agent ask the user a question, attach the ask_question client task, or another client task, in Tools. See Client Tasks.
Conversation history
Conversation history comes from the Conversation history card of an Interaction Profile. The mesh needs a Memory Store that has Ingest conversations turned on. See Interaction Profiles.
Tools
An agent can use three kinds of tool:
- MCP connections give access to external tools. Choose a filter: All tools, Selected tools, or Tools matching a pattern. See MCP Connections.
- Particles give access to sandboxed WebAssembly tools. They use the same filter choices. See Particles.
- Client tasks let the agent pause and ask the user. See Client Tasks.
Expose only the tools strictly required. Extra tools enlarge prompt/tool context and expand attack surface (prompt injection, unintended actions). Apply least privilege and review periodically.
Skills
Attach skills that the agent can load when a task calls for them. No two attached skills may share a declared name. See Skills.
Memory
Attach one or more Interaction Profiles to set how the agent reads and writes memory. Profiles take effect only in a mesh that has a Memory Store. Memory is versioned. See Interaction Profiles.
Tags
Tags influence model routing and provide metadata for discovery/analytics. Every tag has a name and a value. Tags are versioned, so a change to a tag creates a new agent version. Curate a controlled vocabulary (e.g., domain:finance, modality:summary, complexity:high). Audit periodically to prune unused or duplicative tags that reduce clarity.
Design Guidance (Summary)
- Split large, multi-function Task Instructions into discrete agents.
- Prefer structured Input Schema fields over long free text when values are enumerable.
- Introduce validation agents rather than bloating a single agent with both generation and verification tasks.
- Keep MCP tool sets lean; remove unused tools discovered via trace analysis.
- Prefer context injections for memories every request needs and query tools when the agent must decide to search.
- Add tags intentionally to trigger routing or analysis - avoid ornamental tags.
Related
- Meshes – orchestrating multiple agent versions.
- Model Sets – model routing logic.
- Message Schemas – defining input/output structures.
- MCP Connections – external tool access.
- Client Tasks – questions to the user.
- Interaction Profiles – how agents use memory.