Build an AI assistant that manages travel booking and expense tracking using Xpander.ai and the Agno framework
xpander-utils
)..env
file in the project root:
main.py
, which runs a CLI-based local loop, xpander_handler.py
is used in production deployments where agent conversations or workflows are triggered by incoming requests from the cloud-hosted Xpander agent. It connects Xpanderโs managed orchestration layer with the local logic (like booking flights, logging expenses, and checking policies) via the same orchestrator defined in agno_agent.py
.
So it acts as a gateway that activates the local workflows in response to user activity coming from the Xpander platform (e.g. chat interface, API, or third-party app).
xpander_config.json
and environment variablesAgnoAdapter
to connect to Xpanderโs backendAgnoAgentOrchestrator
for agent coordinationagno_agent_orchestrator.run()
)AgentExecutionResult
)Prompt: Book me a flight from NGB โ ICN on 9 July 2025 (flight YG9021, budget โน3000). Once booked, confirm details and log the expense.
Prompt: Please book a hotel for โน2000 on the same date.
Prompt: Send a summary notification on Slack for all expenses.
Output: Slack notification