Developer Environment Setup ​
To build and run the PizzaBot agent during this workshop, you’ll use a pre-configured GitHub Codespaces development environment.
This setup ensures:
- Python 3.10 is ready to go
- All required dependencies are pre-installed
- GitHub Copilot is enabled
- You can start coding right away in a consistent environment
Steps ​
1. Fork the Repository ​
- Go to the official workshop repo:
👉 https://github.com/GlobalAICommunity/agentcon-pizza-workshop - Click Fork in the top right corner.
- Select your GitHub account as the destination.
This creates your own copy of the workshop repo.
2. Start a Codespace ​
- In your forked repository, click the green Code button.
- Select the Codespaces tab.
- Click Create codespace on main.
GitHub will now start a new Codespace using the provided devcontainer configuration.
This will:
- Build a container with Python 3.10
- Create a virtual environment (
.venv) - Install all dependencies from
requirements.txt
This step can take a few minutes the first time.
3. Open the Workshop Directory ​
When your Codespace starts, make sure you’re working inside the workshop/ directory:
bash
cd workshopAll your Python files (agent.py, tools.py, etc.) should be created and run from here.
4. Verify Your Environment ​
Run the following to check that everything is set up correctly:
bash
python --versionExpected output: Python 3.10.x
5. Start Coding 🚀 ​
From here, start with the workshop.
Recap ​
In this setup section, you have:
- Forked the workshop repo into your GitHub account
- Started a GitHub Codespace with the provided devcontainer
- Ensured Python 3.10 and dependencies are installed
- Opened the
workshop/directory as your working folder
You’re now ready to build the PizzaBot agent step by step. 🍕🤖