Overview
Navigate to Environments to see two main tabs:- Explore — Browse public environments from the community
- My Environments — Environments you’ve created or deployed

Creating an Environment
Click New Environment to create one. You have three options:Import from GitHub
Connect a GitHub repository containing your environment code.Connect GitHub
First, connect your GitHub account by installing the GitHub App:- Click Connect GitHub to install the HUD GitHub App
- You’ll be redirected to GitHub to authorize the installation
- Choose repository access:
- All repositories — HUD can build from any repo in your account
- Only select repositories — Grant access to specific repos

You can change repository access later in your GitHub settings.
Build from Repository
Once GitHub is connected:- Select a repository from the list
- Choose a branch (defaults to
main) - Click Import

Automatic Rebuilds
HUD automatically rebuilds your environment when you push changes to the connected branch. To manually trigger a rebuild, go to the Builds tab and click Rebuild.
Create from Template
Start from a pre-built template:- Blank — Minimal starter environment
- Browser — Browser automation with Playwright
- Deep Research — Web research and analysis tools
Push via CLI
Develop locally and push directly:Environment Details
Click on an environment to see its detail page with several tabs:Overview Tab
The main landing page shows:- Source — GitHub repo link or “Pushed via CLI”
- Visibility — Public or private
- Tools — Available tools with their schemas
- Code Snippet — Copy-paste code to use this environment
Scenarios Tab
Lists all scenarios defined with@env.scenario():
- Name — The scenario identifier
- Description — What the scenario tests
- Arguments — Required parameters

Builds Tab
Shows build history and status (for GitHub-connected environments):- Status — Building, Success, or Failed
- Duration — How long the build took
- Commit — Git commit that triggered the build
- Logs — Click to view full build output
Builds tab is only available for environments connected to GitHub. Environments pushed via CLI don’t show builds.
Settings Tab
Configure your environment:- Display Name — How it appears in the UI
- Build Settings — Branch and entry folder
- Environment Variables — Secrets and configuration (see below)
Environment Variables
Many environments need API keys or configuration. Add them in Settings:- Go to your environment’s Settings tab
- Find the Environment Variables section
- Add key-value pairs for each variable
- Click Save
Lock File Variables
If your environment has ahud.lock file defining required variables, Settings will show which ones are missing. You’ll see warnings until all required variables are configured.
Using Environments
Once deployed, use your environment in evaluations:Troubleshooting Builds
| Issue | Solution |
|---|---|
| Repository not appearing | Check that you’ve granted HUD access in GitHub settings |
| Build fails immediately | Verify your Dockerfile exists in the repository root or check the build logs |
| Docker Hub rate limit error | Save your Docker Hub credentials in settings |
| Build times out | Reduce image size or use multi-stage builds |
hud debug.