Goal: Create and test your SWE agent with Claude Code integrationExpected Output: Working agent that can coordinate with Claude Code for development tasks
1
Load Agent Template
- Load the SWE Agent template (pre-configured with Claude Code Tool and System Prompt): https://app.xpander.ai/templates/d5175e28-6608-484b-9d4f-69ce14e699b0
- Login with GitHub (watch setup video):
2
Test Your Agent
Test your agent with these prompts:Notice that the first prompt the agent didn’t call the Claude Tool, and in the second call it called the Claude tool
test-prompt.txt
test-prompt.txt

3
Setup Local Environment
Create a new project folder and set up your Python environment:Install required dependencies:Create your main Python file:
setup-project.bash
install-dependencies.bash
create-files.bash
4
Agent Authentication
Login to xpander and get your agent credentials:Add your credentials to the
agent-login.bash
.env
file:.env
Replace the placeholder values with your actual credentials from the previous command output.
5
Test via CLI
test-agent.bash