hello_world_example.py
from dotenv import load_dotenv
load_dotenv()

from xpander_sdk import Backend
from agno.agent import Agent

# Initialize Xpander Backend
backend = Backend()

# Create agent with backend configuration
agno_agent = Agent(**backend.get_args())

# Test stateful conversation
agno_agent.print_response(message="What's your role?")
agno_agent.print_response(message="What did I ask you?")

How to Run

hello_world_example.py
python hello_world_example.py
This example shows Xpander Backend integration providing automatic agent configuration, centralized management through the dashboard, and stateful memory where the agent remembers previous interactions and maintains context across multiple messages.

Production Deployment

For creating and deploying agents to production, see the Setup and Deployment Guide.