Skip to main content

No project description provided

Project description

Environments

Synthetic Environments / Long Horizon Tasks / Digital Control Agents

Coverage Python License ![Tests](https://img.shields.io/badge/tests-7/19 failing-red) ![Type Check Examples](https://img.shields.io/badge/types (examples)-98%25 (5 errors)-green)-98%25 (5 errors)-green)-98%25 (5 errors)-green) ![Type Check Core](https://img.shields.io/badge/types (core)-100%25 (0 errors)-green)-100%25 (0 errors)-green)-100%25 (0 errors)-green) ![PyPI Dev](https://img.shields.io/badge/PyPI dev-0.0.1.dev2-orange)

uvicorn src.synth_env.service.app:app --reload --port 8000 uv run python src/synth_env/examples/nethack/agent_demos/test_synth_react.py

Motivation

  • We're building Environments to have key desiderata for long-horizon language agents
  • Snapshotting and reproducibility
  • Statefulness as a first-class citizen
  • Consistent abstractions for engine interaction and state reads across settings
  • Environment observability and tracing
  • HTTP access for simplified training and evaluation
  • Strong data abstractions to enable easily-configurable filtering and curriculum learning
  • Simple abstractions for agent-originated tool edits, etc.

User Guide

Note - this repo is under extremely active development. Hic sunt dracones, if not contributing it may be more useful as a reference or development resource than as core code for your production systems.

Supported Environments

[] Sokoban (maturing, not active dev) - This environment is not of our own making! Please credit the great researchers at Deepmind and Ragen, among others. - Checkout test_synth_react.py for a hello world example! [] Hendryks Math [] (maturing) [] Crafter-Classic (maturing) [] EnronBench (active dev) [] SWE-Bench (active dev - do not attempt) [] NMMO (active dev - do not attempt) [] Red (active dev) [] Verilog (maturing)

...

Development

For development setup, testing, and contribution guidelines, see:

Quick Development Commands

# Install dependencies
uv sync

# Run tests
./scripts/run_tests.sh

# Update README metrics
./scripts/run_dev_helpers.sh

# Format code
ruff format .

# Check codebase health
python scripts/check_health.py

# Release to PyPI (increment dev version)
python scripts/release.py

# Release with version selection
python scripts/release.py --minor
python scripts/release.py --patch

# Dry run to see what would happen
python scripts/release.py --dry-run

# Publish to TestPyPI instead
python scripts/release.py --test-pypi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synth_env-0.0.2.dev1.tar.gz (4.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synth_env-0.0.2.dev1-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file synth_env-0.0.2.dev1.tar.gz.

File metadata

  • Download URL: synth_env-0.0.2.dev1.tar.gz
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for synth_env-0.0.2.dev1.tar.gz
Algorithm Hash digest
SHA256 285795dcbd0febb70c9f94c59de9316b26af3b3a2083ebfd0215662769d0552e
MD5 8f9156c946aea44b7599aebb31159beb
BLAKE2b-256 6353bcd57bc0870c546bd7ec00ec89dea33234fcb8a203ce9260875d549424fa

See more details on using hashes here.

File details

Details for the file synth_env-0.0.2.dev1-py3-none-any.whl.

File metadata

  • Download URL: synth_env-0.0.2.dev1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for synth_env-0.0.2.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 77ca8671db44177d3a7d01b81eb21d1a66276f0b4578bce619be68fb0ae7d110
MD5 be82487b91b659df5b8c38d21dd29d10
BLAKE2b-256 91abb154c12b0a6e7fbc79d033c419961c6d098eb5a9e6fad5d3842b48ecd0ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page