Skip to content

Meshes

Meshes tie together multiple Agents into a coherent, orchestrated system that can solve a larger task than any single agent. A Mesh is a graph of agent versions exchanging typed messages via Intents (entry points), Call Links (sub-task invocation) and Transfer Links (delegation or routing).

Designing an effective Mesh centers on three concerns:

  1. Decomposition: Partition the overall problem into narrowly scoped agents with focused instructions and input and output schemas.
  2. Data Flow: Define message schemas so each step receives only the information it needs to keep prompts small and grounded.
  3. Orchestration: Choose between Call Links (return control) and Transfer Links (delegate control) to model workflow structure, parallelism and specialization.

Creating a mesh

New mesh offers two options:

  • Blank mesh: Start from an empty graph and add its agents yourself.
  • Create automatically: Describe what you want your mesh to do. The creator builds agents, intents and links. It may ask questions as it works. Answer them on the job page.

On the new mesh page, Partite builds the whole graph in memory and creates it at once. If you leave the page, you lose the graph.

Quick Reference

Settings

FieldPurposeGuidance
NameMesh identifier

Keep concise; used in traces and UI elements.

DescriptionPurpose & scope

Human readable description of the mesh's role and responsibilities.

Model setRouting rules reference

Associate set enabling complexity/tag-based profile selection.

Memory storeMemory for the whole mesh

Optional. At most one store. Not versioned; every version of the mesh reads and writes the same memory. Agents need an Interaction Profile to use it. See Memory Stores.

TagsMetadata

Name and value pairs for your own organization of meshes.

Intent

FieldPurposeGuidance
Intent NameExternal entry point identifier

Stable API handle; use verbs/nouns meaningful to clients.

Target AgentProcessing agent version

The agent that handles requests sent to this Intent. The agent's version is chosen once on its card in the mesh and is shared by every intent and link to that agent.

ResponsesStructured response types

Provide distinct schemas for different output modes; avoid generic catch-all types. See Message Schemas for more information.

Call

FieldPurposeGuidance
Target AgentSub-task executor

The agent which will execute the sub-task.

Tool NameInvocation cue to source agent

The tool name which will be exposed to the source agent to initiate the call to the target agent. Use a verb phrase similar to a method name describing the action the target agent will take. Avoid ambiguity - keep it short & action-oriented.

Call instructionsGuidance for when to call

Exposed to the source agent as instructions for calling the target agent. Include preconditions & input expectations.

ResponsesPotential structured results

Provide named schemas the target can choose from when returning to the source agent. These act like tools surfaced to the target agent. See Message Schemas for more information.

Transfer

FieldPurposeGuidance
Target AgentSuccessor controller

An agent which will replace the current agent and be responsible for continuing execution. Delegate when role permanently shifts.

Tool NameInvocation cue to source agent

The tool name which will be exposed to the source agent to initiate the call to the target agent. Use a verb phrase similar to a method name describing the action the target agent will take. Avoid ambiguity - keep it short & action-oriented.

Transfer instructionsCriteria for delegation

Exposed to the source agent as instructions for calling the target agent. Include preconditions & input expectations.

Routes

FieldPurposeGuidance
NameIdentifies the route

For example "Canary" or "New retriever trial". The route ID shown on the card is what clients pass as route_id.

Splits traffic betweenVersions and weights

One segment per mesh version, including the draft. Drag a share, or type weights: they're relative, so 3 and 1 send three quarters of the traffic to one version and a quarter to the other. A version at 0 stays in the route, ready, and takes no traffic. Each new conversation picks a version at random by weight and keeps it.

Rubrics

FieldPurposeGuidance
RubricWhat to score

A rubric from Observability. Each rubric can be added once per mesh.

Judged byModel set for judges

The Model Set whose profiles run the judge evaluators. Always required.

Evaluates N % of conversationsSample rate

The share of conversations to score, 0 to 100. Start low on high volume meshes.

EnabledOn or off

Evaluates nothing until it's turned on again. Results appear under Evaluation results for the mesh.

The draft editor

Each intent, call, transfer or agent you add is a draft card on the graph. Add intent creates an intent card. To add a call link or a transfer link, open Add link on the source agent’s card and choose Call agent or Transfer to agent. The side panel shows a step checklist for the selected card. Each step is marked Needed, Recommended or optional. A step is locked until you choose the agent.

  • Intent steps: Name, Responses.
  • Call link steps: Tool name, Call instructions, Responses.
  • Transfer link steps: Tool name, Transfer instructions.
  • Agent steps: Pick an existing agent, or name a new one. Then fill Description, Instructions, Input, Model, User interactions, Tools, Skills and Memory inline.

A response has a Name, Response instructions (“When the agent should answer this way”) and a schema for what it sends back.

Agent nodes show a version picker. When you add a precreated agent, the draft uses its latest version. Use the version picker to choose another. A new agent version reaches the draft only when you choose Save and update drafts when saving the agent, or pick it in the picker.

Versioning & Labels

Unlike Agents (which auto version on every edit), a Mesh always has a single mutable Draft. You edit the Draft; when ready you apply a Label to snapshot its current state. Each label creates an immutable Mesh Version accessible by its label name.

Typical flow:

  1. Edit the Draft (add intent, adjust links, swap agent versions).
  2. Smoke test via the Conversation API targeting the Draft (no label) or a test label.
  3. Apply or update a label such as staging or prod to create an immutable snapshot for use in a particular environment.

The versions page lets you name or rename versions and delete non-draft versions. It also lets you open Converse with the draft or with a version. Routes and webhook destinations run a specific version.

Contained Entity Types

Meshes contain three entity categories. Understanding their roles is essential for proper decomposition.

Intent (entry point)

An Intent defines how external callers start a new Request within a Conversation. Each Intent selects one Agent Version to process its input and defines one or more output message types the agent can emit as a response.

Design Guidance

  • Prefer multiple specific output types over one vague catch all to reinforce structured thinking.
  • When an Intent can produce different “modes” of output (for example summary versus detailed analysis), use distinct output message types so downstream code can rely on shape instead of brittle free text parsing.
  • Use grounding on fields where factual accuracy is critical (IDs, totals, compliance statements) to enforce provenance.
  • Use different Intents for different types of request.

Call Link (sub-task invocation)

A Call Link connects a source agent version to a target agent version. The source can invoke the target as a tool and receive one of its defined output message types as a result. Control returns to the source after completion.

Design Guidance

  • Use Call Links for synchronous, bounded work where the source continues orchestration after receiving structured results.
  • Keep target input schemas minimal. Only provide data the target needs; the source can pre digest earlier context.

Transfer Link (delegation or routing)

A Transfer Link passes control from a source agent version to a target agent version. Unlike a call, control does not return. The target continues executing and can see the response tools originally available to the source (becoming its new active agent).

Design Guidance

  • Use for router patterns (classification then delegate), skill specialization (general triage then expert), or long running workflows where specialization is clearer once context is gathered.
  • Keep routing logic lightweight. The source agent’s purpose may just be deciding the best target.
  • Avoid circular delegation chains. Design an acyclic progression of responsibility.
  • If user interaction is required later, ensure the target agent has necessary user interaction flags enabled.

Selecting Call vs Transfer

ScenarioPreferRationale
Source needs structured sub result and continues orchestrationCall LinkMaintains local control and allows combining multiple sub results.
Source role is classification or routingTransfer LinkEliminates unnecessary return and simplifies trace.
Sub task may require user questions mid process while main agent should not resumeTransfer LinkDelegated agent can own interaction lifecycle.
Multiple parallel specialized analyses aggregated laterCall LinkSource can coordinate fan out and fan in.
Escalation to higher complexity model or expertiseTransfer LinkRepresentation shifts permanently to expert context.

Model Routing via Model Sets

Associate a Model Set with the Mesh. Its rules evaluate each agent invocation complexity and tags to select an optimal Model Profile. Patterns:

  • Cost optimization: Simple classification agents route to cheaper fast models. Complex synthesis agents route to higher capability models.
  • Best of breed: Code generation agents tagged code route to code tuned profiles. Summarizers tagged summary route to models strong at compression.
  • Experimentation: Introduce a new profile behind a tag (experimental) referenced by a small portion of traffic. Promote by removing the tag gate then re label the Mesh.

Routes

A route splits traffic between mesh versions. Use routes for canaries and trials. Clients pass route_id instead of a version label. See Conversation API. Schedules can target a route.

Evaluation monitors

The Rubrics section of mesh settings holds the evaluation monitors for the mesh. Each monitor scores a share of completed requests with a rubric. See Evaluations.

Converse

The Converse button on mesh settings and on versions opens a chat window for the draft or for a version.

  1. Choose Partite API or Another server. Another server is an engine of your own, such as one that runs locally. Enter its Address.
  2. Pick an intent.
  3. Fill the form that Partite generates from the intent schema.
  4. Set conversation tags before the first request. Set request tags for each request.
  5. Answer client tasks inline.
  6. Open the trace.

Security & Capability Partitioning

Follow the lethal trifecta mitigation: minimize any single agent having all three: (1) access to sensitive data, (2) untrusted input processing, (3) ability to change external state. Use Mesh links to ensure:

  • Data gathering agents fetch and cite facts but cannot perform outbound actions.
  • Action agents receive curated structured inputs (not raw user free text) reducing prompt injection risk.
  • Validation agents apply grounding checks before action agents are invoked.

Call links help enforce review cycles (gather then validate then act). Transfer links enforce capability separation (triage then specialized executor) with a clear responsibility handoff.

Operational Tips

ConcernTip
Prompt bloatSplit overly large agents. Move ancillary operations into dedicated call link agents.
HallucinationsIncrease grounding coverage. Require citations for decisive fields. Return large tool results as resources so the agent cites fields rather than guesses.
LatencyParallelize independent call links. Right size models. Minimize unnecessary transfer chains.
DebuggingUse traces to observe tool calls and grounding failures. Refine descriptions in output message types to reduce misuse.
Model driftEncapsulate model choices in Model Set profiles. Re label the Mesh after modifying routing. Keep agent instructions stable to isolate model changes.

When to Refactor a Mesh

Refactor when you see any of these symptoms:

  • A single agent accumulating broad, multi paragraph instructions covering many tasks.
  • Repeated large blobs passed through multiple call links untouched.
  • Frequent hallucination or missing citation errors on specific fields. Consider introducing a dedicated validation agent.
  • Model routing rules becoming complex. Consider splitting into multiple meshes per major workflow.

Summary

Meshes provide the structural backbone for scalable, observable, and trustworthy agentic workflows. By decomposing tasks, enforcing message structure and grounding, and labeling versions for controlled rollout, you can evolve AI systems with the same rigor as the rest of your stack.