Step 1: Set Up the Agent Profile
The agent profile establishes the agent’s identity and purpose. The orchestrator uses the name and description to route incoming tasks to the most suitable agent.Name
Choose a unique, descriptive name that reflects the agent’s core function.Description
Write a description that tells the orchestrator when to route requests to this agent. Be specific about the agent’s responsibilities and what differentiates it from other agents in the application.Avatar
Select an avatar from the available list of logos and icons. The avatar identifies the agent visually in the user interface.AI Model
Select the AI model and connection the agent will use for reasoning, tool calling, and generating responses.| Use case | Recommended model |
|---|---|
| Complex reasoning | GPT-4, Claude 3 Opus |
| Fast responses | GPT-3.5-turbo, Claude 3 Haiku |
| Code generation | GPT-4, specialized code models |
| Cost-sensitive tasks | Smaller models |
Context Window Limit
Set the maximum number of messages the agent retains in its conversation context. When the limit is reached, older messages are automatically removed.| Messages | Use case |
|---|---|
| 25 | Simple Q&A, transactional tasks |
| 50 | Standard conversations (default) |
| 100 | Multi-step processes |
| 200 | Complex, long-running workflows |
Step 2: Write the Agent Definition
The agent definition is the system prompt. It describes the agent’s role, the tasks it can perform, and the rules it must follow. Well-structured instructions ensure the agent responds consistently and operates within its intended scope. The definition editor supports:- Rich text formatting for structured instructions
- Dynamic variables to reference memory fields, tools, and other agents at runtime — for example,
{{memory.sessionMeta.metadata.FLAG}} - AI-assisted authoring to generate, refine, and organize instructions
Structure Your Instructions
Use clearly labeled sections to organize the definition:Example: Order Manager
Step 3: Add Tools
Tools are the functional extensions of an agent’s intelligence. They enable the agent to fetch data from external systems, execute custom logic, and trigger workflows. Agent Platform supports three tool types:| Type | Best for | Execution |
|---|---|---|
| Workflow Tools | Visual, no-code workflows for standardized and repeatable processes | Sync and async |
| Code Tools | Custom logic in JavaScript or Python for complex or dynamic operations | Sync |
| MCP Tools | Remote functions on Model Context Protocol servers for external integrations | Sync |
Adding a New Tool
- In agent configuration, go to Tools → + New Tool
- Select the tool type: Workflow Tool, Code Tool, or MCP Tool
- Enter a name and description, then click Create
- Open the tool to define its logic or connection details
Importing an Existing Tool
Import tools from the shared library to accelerate development and reuse existing logic.| Source | Description |
|---|---|
| File | Import a previously exported tool (JSON format) |
| Library | Use tools from the platform’s shared repository |
| Marketplace | Access tools from the publicly shared catalog |
Testing a Tool
Verify a tool’s behavior before using it in production:- Navigate to the Tools page of the application
- Select the tool to open its details view
- Use the Test interface to run the tool and review its output
Step 4: Add Knowledge
Link knowledge sources to enable RAG-based responses grounded in your enterprise content. The Platform uses the Search AI application to power search across connected knowledge bases.Connecting a Knowledge Source
- In agent configuration, go to Knowledge → + Connect Knowledge
- Select an existing Search AI application or create a new one
Supported Sources
| Source | Best for |
|---|---|
| Documents | Policies, guides, FAQs |
| Web crawler | Website content, help centers |
| Confluence | Internal documentation |
| SharePoint | Enterprise content |
| Custom API | Dynamic data sources |
Step 5: Configure Delegation
Applies to: Apps using the Adaptive Network orchestration pattern only. Delegation rules define how this agent routes tasks to other agents within the application. If the app uses a different orchestration pattern, this section is not required and won’t appear in the UI.Delegation Settings
Direct Responses — Controls whether this agent communicates with the user directly:- Enabled — The agent sends responses directly to the user
- Disabled — The agent passes responses to another agent for further processing
- Click Add Delegation
- From Delegate To, select the target agent
- Define the condition that triggers the handoff
Passing Context Between Agents
When control passes from one agent to another, the application saves context — including summaries and pending tasks — tosessionMeta memory under the delegationContext field. The receiving agent accesses this field to continue the task seamlessly.
Agents can also use custom memory stores to share task-specific data during handoffs.