Skip to main content

Core Concepts

Understand the building blocks of the Agent Platform.

Agentic Apps

An agentic app is an autonomous system that uses AI agents to understand user intent, reason about tasks, and take actions to deliver outcomes. Unlike traditional chatbots that follow predefined scripts, agentic apps:
  • Reason dynamically about how to approach tasks
  • Select tools based on context and user needs
  • Coordinate multiple agents for complex workflows
  • Maintain state across conversations
Traditional Bot                    Agentic App
─────────────────                  ───────────────
User Input                         User Input
    ↓                                  ↓
Match Intent                       Understand Intent
    ↓                                  ↓
Execute Script                     Reason & Plan
    ↓                                  ↓
Return Response                    Select Agent(s)

                                   Invoke Tools

                                   Generate Response

Agents

An agent is a specialized AI worker with a defined scope, instructions, and access to specific tools and knowledge.

Agent Components

ComponentPurpose
ProfileName, description, and avatar that identify the agent
AI ModelThe LLM that powers reasoning and generation
ScopeBoundaries defining what tasks the agent handles
InstructionsBehavioral guidelines and response patterns
ToolsActions the agent can perform
KnowledgeInformation sources for RAG retrieval

Example Agent Definition

name: Billing Agent
description: Handles billing inquiries, payment processing, and invoice management

scope: |
  Responsible for:
  - Payment status inquiries
  - Invoice generation and retrieval
  - Payment method updates
  - Refund processing

instructions: |
  - Verify customer identity before discussing billing details
  - Always confirm transaction amounts before processing
  - Provide clear breakdowns of charges when asked
  - Escalate disputed charges over $500 to a human agent

tools:
  - get_payment_status
  - generate_invoice
  - process_refund
  - update_payment_method

knowledge:
  - billing_faqs
  - pricing_documentation

Orchestrator

The orchestrator is the central coordinator that manages how agents work together. It:
  1. Interprets user requests to understand intent
  2. Delegates tasks to appropriate agents
  3. Coordinates multi-agent workflows
  4. Resolves conflicts between agent outputs
  5. Validates responses before delivery

Orchestration Patterns

PatternBest For
Single AgentSimple, focused use cases with one domain
SupervisorComplex tasks requiring parallel agent coordination
Adaptive NetworkDynamic hand-offs between specialized agents

Tools

Tools are capabilities that enable agents to interact with external systems, retrieve data, and perform actions.

Tool Types

Workflow Tools Visual, no-code tools built with a drag-and-drop interface. Best for well-defined processes that benefit from visual traceability.
Start → Validate Input → Call API → Transform Data → End
Code Tools Custom JavaScript or Python functions for complex logic. Best for dynamic processing, calculations, or custom integrations.
def calculate_shipping(weight: float, destination: str) -> dict:
    rate = get_shipping_rate(destination)
    cost = weight * rate
    return {"cost": cost, "estimated_days": get_delivery_estimate(destination)}
MCP Tools Remote functions exposed via Model Context Protocol servers. Best for shared toolsets and enterprise integrations.
{
  "server": "https://tools.company.com/mcp",
  "tools": ["crm_lookup", "inventory_check", "order_create"]
}

Tool Calling

Tool calling is how agents interact with tools during task execution.

The Tool Calling Flow

1. User: "What's my account balance?"

2. Agent identifies need for external data
   └─ Selected tool: get_account_balance

3. Agent prepares parameters
   └─ { "user_id": "usr_123" }

4. Platform invokes the tool
   └─ API call to banking system

5. Tool returns result
   └─ { "balance": 1234.56, "currency": "USD" }

6. Agent generates response
   └─ "Your current account balance is $1,234.56"

Parallel vs Sequential Calling

Sequential: Tools execute one after another when outputs are dependent.
get_user_profile → get_account_balance → format_statement
Parallel: Independent tools execute simultaneously for faster responses.
┌─ get_account_balance ─┐
├─ get_recent_transactions ─┼─→ combine_results
└─ get_rewards_points ──┘

Knowledge

Knowledge connects agents to your data sources, enabling context-aware responses through Retrieval-Augmented Generation (RAG).

How Knowledge Works

User Query: "What's your return policy for electronics?"

1. Query embedded into vector representation
2. Semantic search across knowledge base
3. Relevant chunks retrieved (return policy docs)
4. Context injected into agent prompt
5. Agent generates accurate, grounded response

Knowledge Sources

  • Document uploads (PDF, DOCX, TXT)
  • Web crawlers
  • Confluence, SharePoint, Google Drive
  • Databases and APIs
  • Custom connectors

State Management

Agentic apps maintain state to enable natural, multi-turn conversations.

State Types

Short-term (Session) Temporary context within a conversation:
  • Current order being discussed
  • Selected product options
  • Pending confirmations
Long-term (User) Persistent preferences and history:
  • User preferences
  • Past interactions
  • Account information

Context Window

The context window limits how many messages agents retain. Configure based on your use case:
SettingMessagesUse Case
Minimal25Simple Q&A, transactional
Default50General conversations
Extended100Complex multi-step workflows
Maximum200Deep contextual discussions

Next Steps

Create Agents

Build your first agent with tools and knowledge.

Orchestration Patterns

Choose the right coordination strategy.

Build Tools

Connect agents to external systems.