π οΈ Team Setup Guide β AI Sprint Manager OpenEnv
Complete setup instructions for Windows and Mac teammates.
π Prerequisites
Windows
Install Python 3.11
- Download from https://www.python.org/downloads/
- β Check "Add Python to PATH" during install
- Verify: open PowerShell and run
python --version
Install Git
- Download from https://git-scm.com/download/win
- Use default options during install
- Verify:
git --version
Install Docker Desktop
- Download from https://www.docker.com/products/docker-desktop/
- Requires Windows 10/11 with WSL2 enabled
- After install, open Docker Desktop and wait for it to start
- Verify:
docker --version
Install VS Code (recommended)
- Download from https://code.visualstudio.com/
Mac
Install Homebrew (package manager)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Install Python 3.11
brew install python@3.11Verify:
python3.11 --versionInstall Git
brew install gitVerify:
git --versionInstall Docker Desktop
- Download from https://www.docker.com/products/docker-desktop/
- Choose Apple Silicon or Intel depending on your Mac
- Open Docker Desktop and wait for it to start
- Verify:
docker --version
π₯ Clone the GitHub Repo
# Both Windows (PowerShell) and Mac (Terminal)
git clone https://github.com/YOUR_GITHUB_USERNAME/ai-sprint-manager-openenv.git
cd ai-sprint-manager-openenv
πΏ Create Your Own Branch
# Replace "yourname" with your actual name
git checkout -b feature/yourname-improvements
Verify you're on your branch:
git branch
# Should show * feature/yourname-improvements
π Set Up Virtual Environment
Windows
python -m venv venv
venv\Scripts\activate
pip install --upgrade pip
pip install -r requirements.txt
pip install python-dotenv
Mac
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip install python-dotenv
βοΈ Create Your .env File
Create a file called .env in the project root (never commit this!):
HF_TOKEN=hf_your_token_here
API_BASE_URL=https://router.huggingface.co/v1
MODEL_NAME=meta-llama/Llama-3.1-8B-Instruct
ENV_BASE_URL=http://localhost:7860
We'll get the HF_TOKEN in the next section.
π€ Create Hugging Face Account & Token
- Go to https://huggingface.co and sign up
- Go to https://huggingface.co/settings/tokens
- Click New token
- Name:
sprint-manager-token - Type: Read
- Click Create token and copy it
- Paste it into your
.envfile asHF_TOKEN=hf_...
π Run Locally & Test
Terminal 1 β Start the API + UI server
Windows
python ui.py
Mac
python ui.py
Terminal 2 β Test the API
Windows
Invoke-WebRequest -Uri http://localhost:7860/health -Method GET
Mac
curl http://localhost:7860/health
# Expected: {"status":"ok","env":"ai-sprint-manager"}
Test via Browser
Open http://localhost:7860 β you should see the Gradio sprint board UI.
Try:
- Select
easy_sprint, click π Reset Sprint - Set Action=
assign, Task ID=T1, Dev ID=dev1 - Click βΆοΈ Take Action
- You should see a positive reward and T1 assigned to Alice
Run Inference Locally
# Make sure .env file has your HF_TOKEN
python inference.py
π³ Test with Docker
docker build -t ai-sprint-manager .
Windows
docker run -p 7860:7860 ai-sprint-manager
Mac
docker run -p 7860:7860 ai-sprint-manager
Open http://localhost:7860 to verify.
βοΈ Create Your Own HF Space & Deploy
Fill in:
- Space name:
ai-sprint-manager-yourname - SDK: Docker
- Visibility: Public
- Space name:
Click Create Space
Add your HF token as a Secret:
- Go to Space β Settings β Variables and secrets
- Add secret: Name=
HF_TOKEN, Value=your token
Add HF as a git remote and push your branch:
git remote add myspace https://huggingface.co/spaces/YOUR_HF_USERNAME/ai-sprint-manager-yourname
git push myspace feature/yourname-improvements:main
- Wait 2-3 minutes for build. Test your live Space:
Windows
Invoke-WebRequest -Uri "https://YOUR_HF_USERNAME-ai-sprint-manager-yourname.hf.space/health" -Method GET
Mac
curl https://YOUR_HF_USERNAME-ai-sprint-manager-yourname.hf.space/health
π§ Run OpenEnv Validation
pip install openenv-core uv
uv lock
openenv validate
# Expected: [OK] ai-sprint-manager: Ready for multi-mode deployment
π‘ Suggested Improvements for Teammates
π’ Easy (Good for getting started)
- Better skill matching UI β Show a skill-to-dev mapping table in the Gradio UI so users know which dev to pick
- Sprint history chart β Add a reward-over-time line chart using
gr.Plot - Add more tasks β Expand
tasks.pywith more realistic task names and types - Auto-assign button β Add a Gradio button that automatically assigns all backlog tasks using a simple rule (best skill match)
π‘ Medium
- Session isolation β Currently all users share one env instance. Add session IDs so multiple users can use the UI simultaneously
- Sprint replay β Save the full episode history and add a "replay" feature to the UI
- Better reward visualization β Add a bar chart showing per-task completion status
- Configurable sprint length β Let users set sprint length (5/10/15 days) in the UI
π΄ Hard (Advanced)
- Real RL training loop β Add a
train.pyscript using Stable-Baselines3 or TRL+GRPO to actually train a policy - Multi-agent support β Let multiple AI agents collaborate on sprint management
- WebSocket support β Upgrade from HTTP to WebSocket for real-time updates per OpenEnv spec
- Custom sprint builder β Let users define their own tasks and team in the UI
π€ Submit Your Changes
git add .
git commit -m "feat: your improvement description"
git push origin feature/yourname-improvements
Then open a Pull Request on GitHub to merge into main.