Features
- Discover environments - Browse and search public environments
- Publish your own - Share environments with the community
- Install from Hub - Use Hub environments in your projects with a single command
- Version control - Track environment versions and updates
- Automatic CI - Validate environments on push
- Usage analytics - See how many people are using your environment
Installing Hub Environments
Install any environment from the Hub:Running Hub Environments
Evaluate without installing:Publishing to the Hub
Prepare your environment
Create an environment following the standard structure:Ensure your environment has:
- A
load_environment()function - A
pyproject.tomlwith metadata and dependencies - A
README.mdwith documentation
Test locally
Validate your environment works:Check that:
- Environment loads without errors
- Rollouts complete successfully
- Rewards are computed correctly
Push to Hub
Publish your environment:This uploads your environment to the Hub under your username or organization.
Set visibility
By default, environments are private. To make your environment public:
- Go to app.primeintellect.ai/dashboard/environments
- Click on your environment
- Go to Settings > Visibility
- Set to “Public”
Environment Metadata
The Hub reads metadata from yourpyproject.toml:
name- Environment ID (used inprime env install)description- Shown in Hub search resultstags- Categorize your environment for discoverabilityversion- Semantic version for your environmentdependencies- Packages required to run your environment
Recommended Tags
Task type:single-turn- Single response tasksmulti-turn- Multi-step interactionstools- Environments with tool usecode- Programming tasksmath- Mathematical reasoningreasoning- General reasoning tasksqa- Question answering
train- Suitable for RL trainingeval- Suitable for evaluationbenchmark- Standardized benchmark
synthetic- Procedurally generatedhuman- Human-annotatedcurated- Hand-selected examples
README Documentation
Include a comprehensive README with:Overview Section
Datasets Section
Task Section
Quickstart Section
Metrics Section
Required API Keys
If your environment requires API keys, document them clearly:Continuous Integration
The Hub automatically runs CI on your environment when you push:- Linting - Checks code style with
ruff - Loading - Validates
load_environment()works - Evaluation - Runs a small evaluation to ensure rollouts complete
Configuring CI
Customize CI behavior inpyproject.toml:
Versioning
Update your environment version inpyproject.toml:
Private Environments
By default, environments are private. Private environments:- Only visible to you and your organization
- Can be used in your own training/evaluation
- Don’t appear in Hub search
Discovering Environments
Browse environments at app.primeintellect.ai/dashboard/environments. Filter by:- Tags (single-turn, multi-turn, tools, etc.)
- Author (username or organization)
- Stars (most popular)
- Recent (newest first)
- Environment name
- Description keywords
- Tags
Best Practices
Good documentation is key to adoption. Include:
- Clear description of the task
- Example inputs and expected outputs
- Explanation of rubric/scoring
- Any special requirements or gotchas
Environment Design
- Start simple - Begin with a minimal working environment
- Test thoroughly - Run multiple evaluations before publishing
- Document well - Explain the task, rubric, and any quirks
- Use standard patterns - Follow conventions from existing environments
- Minimize dependencies - Only include essential packages
README Quality
- Keep it concise but complete
- Include copy-pasteable code examples
- Document all arguments with types and defaults
- Explain metrics and what they measure
- Link to relevant papers or external resources
Maintenance
- Respond to issues and questions
- Update documentation as you learn from users
- Fix bugs promptly
- Consider feedback for new features
- Keep dependencies up to date
Examples
Popular environments on the Hub:- primeintellect/math-python - Math reasoning with Python REPL
- primeintellect/wiki-search - Multi-turn web search
- primeintellect/gsm8k - Grade school math
- primeintellect/wordle - Wordle game environment