What is an AI Agent?
An AI Agent in xpander is a stateful application with memory that can interact with users through multiple interfaces. Think of it as an intelligent assistant that remembers past conversations and can access various tools to help get work done.What’s Inside an Agent?
Every agent is built from four core components:AI Framework
The engine that powers advanced AI capabilities on top of language models
Memory
A PostgreSQL database that stores conversation history and context
AI Model
The large language model (like GPT-5.2) that powers the intelligence
Tools
Built-in capabilities the agent can use to solve problems
Building Your Agent
Creating an agent is quick and easy using the Workbench wizard:Choose Agent Type
Select Serverless (shared infrastructure) or Dedicated (isolated container with full code access)
Default Agent Configuration
New agents come pre-configured with:- Framework: Agno (Python)
- Model: OpenAI GPT-5.2
- Session Storage: Enabled with 10 conversation cycles
- Built-in Tools:
think- Private scratchpad for step-by-step reasoninganalyze- Checkpoint to evaluate findings and plan next stepsmulti_tool_use.parallel- Run multiple tools simultaneously
Configure Your Agent
Once your agent is live, you can customize it using these Workbench tabs:AI Model
Choose your LLM provider and configure model settings
System Prompt
Define instructions, goals, and behavioral guidelines
Connectors (Tools)
Connect APIs, MCP servers, and external services
Tool Calling Editor
Configure how your agent uses tools and functions
Knowledge Base
Upload documents and configure RAG retrieval
Agent Memory
Set up long-term memory and cultural knowledge
Frameworks
Learn about Agno, LangChain, OpenAI Agents, and more
Planning Mode
Enable multi-step planning and task decomposition
How to Talk to Your Agent
Chat Interface
Every agent gets its own chat URL with a unique name like:
Want user authentication? Enable OIDC Configuration in the xpander platform to give each user their own conversation history and secure access to MCP Servers with user-level permissions.
API Access
You can also invoke your agent programmatically:instructions_override parameter lets you dynamically change the agent’s behavior for a single request.
Check Task Status
Monitor your agent’s activity:pending, completed, error), timestamps, and results.
Setting Clear Goals
Your agent needs measurable goals to work effectively. Here’s what makes a good goal: This goal is:- Specific - Tells the agent exactly what sources to use
- Measurable - You can verify if it followed the rule
- Clear - No ambiguity about what’s allowed

Self-Improving Agents
Want your agent to learn and get smarter over time? Enable Agent Memories with agentic management:
How Cultural Knowledge Works
When you enable agentic memory management, your agent gains access to Cultural Knowledge—a shared understanding that helps it make better decisions. The agent automatically learns to:- Reference shared norms and best practices
- Apply principles contextually to each situation
- Stay consistent with organizational values
- Extend knowledge when discovering new insights
See It In Action
When your agent learns something new, it will commit it to memory:

Notice: No function calls needed—the agent “just knew” the answer from its memory!
Behind the Scenes
Here’s what happens when the agent uses Cultural Knowledge:- Agent receives question - “Which frameworks does xpander support?”
- Checks Cultural Knowledge - Finds stored FAQ about frameworks
- Instant response - No need to search or make API calls
- Faster & cheaper - Reduced tokens and response time

