Module 1: Architecture & Backend Setup
Backend template setup and agent configuration with xpander.ai
Module Summary
- Goal: Set up xpander.ai access and import coding agent template
- Estimated Time: 10-15 minutes
- Prerequisites: xpander.ai account, basic agent concepts
Quick Setup
1. Template Import
Import Codex SWE Agent to your xpander.ai Account
The Coding Agent runs on GPT-4.1 and handles high-level reasoning, task planning, and decision-making.
It uses tools to complete actions - one of them being the Codex tool.
The Codex tool is a containerized, sandboxed version of the Codex CLI, running with the agent’s own Git credentials.
It’s powered by the codex-mini-latest model, optimized for fast, focused code generation.
The agent sends coding tasks to this tool - for example, “add tests for this function” - and the Codex tool writes or modifies the code.
Combined with the GitHub integration, the agent can autonomously list, create, update, and comment on pull requests.
2. 🧠 Your Coding Agent
You are now seeing the AI Workbench - a user interface used to design, deploy, test and observe agents.
The AI Workbench is designed to help you quickly test and iterate on AI agents using different LLM models and toolchains.
In this module, we’ll test the SWE (Software Engineering) Agent using GPT-4.1 & Codex, exploring its ability to reason, interact with GitHub, and execute code-related tasks in a real environment.
The left side of the AI Workbench can be used to easily intract with your agent and see how it behaves in real time - we will do that in a minute.
The right side is a visual representation of your agent or multi-agent team, including its different triggering capabilities and its available tools.
Check out the available tools your agent has. It can interact with GitHub - listing, creating, updating, and commenting on pull requests. More importantly, it can code using the built-in Coding agent, built on an enhanced version of Codex CLI.
🔐 Authorize GitHub Access
Click the exclamation mark on any GitHub-related node in your agent’s graph.
A popup will appear prompting you to authorize GitHub via OAuth - this allows the agent to interact with your repositories.
3. 🚗 Test Drive Your Agent
Let’s walk through a real GitHub workflow using your agent. We’ll use the xpander-ai/apps-by-agents
repository and test out some core capabilities.
🪄 Step 1: List Pull Requests
Ask your agent:
🧠 Step 2: Summarize the Latest PR
Then ask:
✅ What’s Next?
Your Coding Agent is now live and connected - it can reason with GPT-4.1, generate code with Codex, and interact with GitHub.
→ Proceed to Module 2: Frontend Build & Testing to connect a minimal OpenAI Codex-style UI and interact with your agent in real time.