Skip to main content
The Agent Builder provides a comprehensive interface for configuring every aspect of your AI agents, from system prompts to integrations.

Accessing the Agent Builder

Navigate to an agent’s configuration page:
  1. Go to Agents in the sidebar
  2. Click on any agent card
  3. Click Configure or navigate to /agents/config/{agent_id}

Configuration Sections

Basic Settings

Customize your agent’s visual identity:Agent Name
  • Click the agent name to edit
  • Name appears in the UI and API responses
  • Best practice: Use descriptive, role-based names (e.g., “Sales Assistant”, “Code Reviewer”)
Icon & ColorsClick the icon to customize:
  • Icon: Choose from Lucide icon library
  • Icon Color: Foreground color for the icon
  • Background Color: Background color of the icon container
// Example: Generate icon programmatically
const result = await generateAgentIcon({ name: "Data Analyst" });
// Returns: { icon_name: "chart-bar", icon_color: "#3B82F6", icon_background: "#EFF6FF" }

System Prompt Configuration

The system prompt defines your agent’s behavior, personality, and capabilities. See System Prompts for detailed guidance. Quick Access
  • Click Edit System Prompt in the agent builder
  • Use markdown formatting for structured instructions
  • Test changes immediately by starting a conversation

Tool Configuration

Built-in tools that are always available:Core Tools (Always enabled)
  • message_tool: Communication with users (ask, complete)
  • task_tool: Task management and planning
File Operations
  • sb_files_tool: Create, edit, and delete files
  • sb_file_reader_tool: Read and search file contents
Execution & Research
  • sb_shell_tool: Execute terminal commands
  • web_search_tool: Search the internet
  • browser_tool: Navigate and interact with websites
Specialized Tools
  • sb_vision_tool: Analyze images
  • sb_presentation_tool: Create presentations
  • sb_canvas_tool: Design and visual tools
  • people_search_tool: Find information about people
  • company_search_tool: Research companies
Enable/Disable Tools
agentpress_tools = {
    "sb_files_tool": {"enabled": True},
    "web_search_tool": {"enabled": True},
    "browser_tool": {"enabled": False}
}

requests.put(
    f"https://api.kortix.com/agents/{agent_id}",
    json={"agentpress_tools": agentpress_tools},
    headers=headers
)

Version Management

Agent configurations are automatically versioned:

Automatic Versioning

Changes to these fields create new versions:
  • System prompt
  • Model
  • AgentPress tools
  • MCP integrations (configured_mcps, custom_mcps)
Changes to these fields do NOT create versions:
  • Name
  • Icon and colors
  • Default status

View Version History

response = requests.get(
    f"https://api.kortix.com/agents/{agent_id}/versions",
    headers=headers
)
versions = response.json()["versions"]

for version in versions:
    print(f"v{version['version_number']}: {version['version_name']}")
    print(f"  Created: {version['created_at']}")
    print(f"  Model: {version['model']}")

Switch Between Versions

# Set active version
requests.put(
    f"https://api.kortix.com/agents/{agent_id}/versions/{version_id}/activate",
    headers=headers
)
Switching versions changes the agent’s behavior for all new conversations. Existing conversations continue using their original version.

Keyboard Shortcuts

Speed up your workflow with keyboard shortcuts:
ShortcutAction
Cmd/Ctrl + SSave changes
Cmd/Ctrl + KOpen command palette
EscClose dialogs

Configuration Best Practices

Enable only the tools your agent needs:
  • Start minimal: Begin with core tools only
  • Add iteratively: Enable tools as you discover needs
  • Test thoroughly: Verify each tool works as expected
  • Monitor usage: Check which tools are actually used
Too many tools can:
  • Slow down agent decision-making
  • Increase token usage
  • Create unexpected behaviors
Choose models based on use case:
  • Complex reasoning: claude-4.5-sonnet, gpt-4o
  • Fast responses: kortix/minimax, o3-mini
  • Vision tasks: Models with vision support
  • Cost optimization: Balance performance vs. cost
Use clear, descriptive names:
  • Good: “Customer Support Agent”, “Code Review Bot”
  • Bad: “Agent 1”, “My Worker”
  • Include role or function in the name
  • Use consistent naming across similar agents

Troubleshooting

Agent Not Responding

  1. Check that required tools are enabled
  2. Verify MCP integrations are authenticated
  3. Review system prompt for conflicting instructions
  4. Check subscription tier for model access

Tool Errors

# Get agent tools and their status
response = requests.get(
    f"https://api.kortix.com/agents/{agent_id}/tools",
    headers=headers
)

for tool in response.json()["agentpress_tools"]:
    print(f"{tool['name']}: {'enabled' if tool['enabled'] else 'disabled'}")

Version Conflicts

If configuration changes aren’t reflecting:
  1. Verify the current version is active
  2. Check for pending changes
  3. Review version history for recent updates
  4. Clear cache and reload

Next Steps

System Prompts

Learn to write effective system prompts

Workflows & Triggers

Automate your agents with triggers

Build docs developers (and LLMs) love