Create an Agent

Create a new AI agent declaratively through the Redpanda Cloud Console. No Python or JavaScript code required. This guide walks you through configuring the agent’s model, writing the system prompt, connecting tools from built-in connectors, and setting execution parameters.

The Agentic Data Plane is supported on BYOC clusters running with AWS and Redpanda version 25.3 and later.

After reading this page, you will be able to:

  • Configure an agent with model selection and system prompt

  • Connect MCP servers and select tools for your agent

  • Set agent execution parameters including max iterations

Prerequisites

Access the agents UI

  1. Log in to the Redpanda Cloud Console.

  2. Navigate to your cluster.

  3. Click Agentic AI > AI Agents in the left navigation.

Configure basic settings

  1. Click Create Agent.

  2. Enter a display name (3-128 characters, alphanumeric with spaces, hyphens, underscores, or slashes).

  3. Optionally, add a description (maximum 256 characters).

  4. Select a resource tier based on your workload characteristics:

    Resource tiers control CPU and memory allocated to your agent. Choose based on:

    • Concurrency: How many simultaneous requests the agent handles.

    • Tool memory: Whether tools process large datasets in memory.

    • Response time: How quickly the agent needs to respond.

      Available tiers:

    • XSmall: 100m CPU, 400M RAM (single-user testing, simple queries)

    • Small: 200m CPU, 800M RAM (light workloads, few concurrent users)

    • Medium: 300m CPU, 1200M RAM (recommended for most production use cases)

    • Large: 400m CPU, 1600M RAM (high concurrency or memory-intensive tools)

    • XLarge: 500m CPU, 2G RAM (very high concurrency or large data processing)

      Start with Medium for production workloads. Monitor CPU and memory usage, then adjust if you see resource constraints.

  5. Optionally, add tags (maximum 16 tags) for organization and filtering:

    • Keys: Maximum 64 characters, must be unique

    • Values: Maximum 256 characters, allowed characters: letters, numbers, spaces, and _.:/=+-@

Choose a model

Agents use large language models (LLMs) to interpret user intent and decide which tools to invoke.

  1. Select your AI Gateway:

    Choose the gateway that contains your configured LLM providers and API keys. If you have multiple gateways, select the appropriate one for this agent’s workload (for example, production vs staging, or team-specific gateways).

  2. Select your LLM provider from those available in the gateway:

    • OpenAI (GPT models)

    • Google (Gemini models)

    • Anthropic (Claude models)

    • OpenAI Compatible (custom OpenAI-compatible endpoints)

  3. If using OpenAI Compatible, provide the base URL:

  4. Select the specific model version from the dropdown.

    The dropdown shows available models with descriptions.

For detailed model specifications and pricing:

For model selection based on architecture patterns, see Model selection guide.

Write the system prompt

  1. In the System Prompt section, enter your prompt (minimum 10 characters).

  2. Follow these guidelines:

    • Define agent role and responsibilities

    • List available tools

    • Specify constraints and safety rules

    • Set output format expectations

  3. Use the Preview button to review formatted prompt.

Example system prompt structure:

You are an [agent role].

Responsibilities:
- [Task 1]
- [Task 2]

Available tools:
- [tool_name]: [description]

Never:
- [Constraint 1]
- [Constraint 2]

Response format:
- [Format guideline]

For complete prompt guidelines, see System Prompt Best Practices.

Add MCP servers and select tools

  1. In the Tools section, click Add MCP Server.

  2. Select an MCP server from your cluster.

  3. The UI displays all tools exposed by that server.

  4. Select which tools this agent can use:

    • Check the box next to each tool

    • Review tool descriptions to confirm they match agent needs

  5. Repeat to add tools from multiple MCP servers.

  6. Verify your tool selection:

    • Ensure tools match those listed in your system prompt

    • Remove tools the agent doesn’t need (principle of least privilege)

Add subagents (optional)

Subagents are internal specialists within a single agent. Each subagent can have its own name, description, system prompt, and MCP tools, but all subagents share the parent agent’s model, budget, and policies.

  1. In the Subagents section, click Add Subagent.

  2. Configure the subagent:

    • Name: 1-64 characters, only letters, numbers, hyphens, and underscores (for example: order-agent or Order_Agent)

    • Description: Maximum 256 characters (optional)

    • System Prompt: Minimum 10 characters, domain-specific instructions

    • MCP Tools: Select tools this subagent can access

The root agent orchestrates and delegates work to appropriate subagents based on the request.

For multi-agent design patterns, see Agent Architecture Patterns.

Set max iterations

Max iterations determine how many reasoning loops the agent can perform before stopping. Each iteration consumes tokens and adds latency. For detailed cost calculations and the cost/capability/latency trade-off, see Agent Concepts.

In the Execution Settings section, configure Max Iterations (range: 10-100, default: 30).

Choose based on task complexity:

  • Simple queries (10-20): Single tool call, direct answers, minimal reasoning

  • Balanced workflows (20-40): Multiple tool calls, data aggregation, moderate analysis

  • Complex analysis (40-100): Exploratory queries, extensive tool chaining, deep reasoning

Start with 30 for most use cases.

Configure A2A discovery metadata (optional)

After creating your agent, configure discovery metadata for external integrations. For detailed agent card design guidance, see Create an Agent Card.

  1. Click on your agent.

  2. Open the A2A tab.

  3. Configure identity fields:

    • Icon URL: A publicly accessible image URL (recommended: 256x256px PNG or SVG)

    • Documentation URL: Link to comprehensive agent documentation

  4. Configure provider information:

    • Organization: Your organization or team name

    • URL: Website or contact URL

  5. Configure capabilities by adding skills:

    Skills describe what your agent can do for capability-based discovery. External systems use skills to find agents with the right capabilities.

    1. Click + Add Skill to define what this agent can do.

    2. For each skill, configure:

      • Skill ID (required): Unique identifier using lowercase letters, numbers, and hyphens (for example, fraud-analysis, order-lookup)

      • Skill Name (required): Human-readable name displayed in agent directories (for example, "Fraud Analysis", "Order Lookup")

      • Description (required): Explain what this skill does and when to use it. Be specific about inputs, outputs, and use cases.

      • Tags (optional): Add tags for categorization and search. Use common terms like fraud, security, finance, orders.

      • Examples (optional): Click + Add Example to provide sample queries demonstrating how to invoke this skill. Examples help users understand how to interact with your agent.

    3. Add multiple skills if your agent handles different types of requests. For example, a customer service agent might have separate skills for "Order Status Lookup", "Shipping Tracking", and "Returns Processing".

  6. Click Save Changes.

The updated metadata appears immediately at https://your-agent-url/.well-known/agent-card.json. For more about what these fields mean and how they’re used, see Agent cards.

Review and create

  1. Review all settings.

  2. Configure the service account name (optional):

    A service account is automatically created to authenticate your agent with cluster resources. The default name follows the pattern cluster-<cluster-id>-agent-<agent-name>-sa. You can customize this name (3-128 characters, cannot contain < or > characters).

    For details about default permissions and how to manage service accounts, see Service account authorization.

  3. Click Create Agent.

  4. Wait for agent creation to complete.

When your agent is running, Redpanda Cloud provides an HTTP endpoint URL with the pattern:

https://<agent-id>.ai-agents.<cluster-id>.<cluster-domain>

You can use this URL to call your agent programmatically or integrate it with external systems.

The Inspector tab in the Cloud Console automatically uses this URL to connect to your agent for testing.

For programmatic access or external agent integration, see Integration Patterns Overview.

Test your agent

  1. In the agent details view, click the Inspector tab.

  2. Enter a test prompt.

  3. Verify the agent:

    • Selects appropriate tools

    • Follows system prompt constraints

    • Returns expected output format

  4. Iterate on the system prompt or tool selection as needed.

For detailed testing strategies, see Monitor Agent Activity.

Example configurations

Here are example configurations for different agent types:

Simple query agent

  • Model: GPT-5 Mini (fast, cost-effective)

  • Tools: Single MCP server with get_orders tool

  • Max iterations: 10

  • Use case: Customer order lookups

Complex analytics agent

  • Model: Claude Sonnet 4.5 (balanced)

  • Tools: Multiple servers with data query, aggregation, and formatting tools

  • Max iterations: 30

  • Use case: Multi-step data analysis

Multi-agent orchestrator

  • Model: Claude Opus 4.5 (advanced reasoning)

  • Tools: Agent delegation tools

  • Subagents: Order Agent, Inventory Agent, Customer Agent

  • Max iterations: 20

  • Use case: E-commerce operations