{"id":27738,"library":"fhaviary","title":"Fhaviary","description":"A Gymnasium-based framework for training language model agents on constructive tasks. Version 0.35.0 provides environments, wrappers, and utilities for agent-environment interaction. Released monthly; supports Python >=3.11.","status":"active","version":"0.35.0","language":"python","source_language":"en","source_url":"https://github.com/fhaviary/fhaviary","tags":["gymnasium","rl","language-agents","environment"],"install":[{"cmd":"pip install fhaviary","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core framework dependency for environments and spaces.","package":"gymnasium","optional":false},{"reason":"Used for numerical operations and space definitions.","package":"numpy","optional":false}],"imports":[{"note":"FHAviaryEnv is exposed at the top-level package, not under env.","wrong":"from fhaviary.env import FHAviaryEnv","symbol":"FHAviaryEnv","correct":"from fhaviary import FHAviaryEnv"},{"note":"make is a custom function, not part of gymnasium.","wrong":"import gymnasium.make","symbol":"make","correct":"from fhaviary import make"}],"quickstart":{"code":"from fhaviary import make\n\nenv = make('FHAviary-v0', api_key=os.environ.get('OPENAI_API_KEY', ''))\nobs, info = env.reset()\nprint(obs)\nenv.close()","lang":"python","description":"Create and step through an FHAviary environment."},"warnings":[{"fix":"Use env_id='FHAviary-v0' when calling make().","message":"In version 0.35.0, the environment ID changed from 'fhaviary-v0' to 'FHAviary-v0'. Old IDs will raise a gymnasium error.","severity":"breaking","affected_versions":">=0.35.0"},{"fix":"env = make('FHAviary-v0', config=config_dict)","message":"The function 'FHAviaryEnv.from_config' is deprecated in 0.35.0. Use 'make' with config dict instead.","severity":"deprecated","affected_versions":">=0.35.0"},{"fix":"Use pytest instead of doctest for testing.","message":"doctest mode is not supported; attempting to run doctests will break.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Replace env_id 'fhaviary-v0' with 'FHAviary-v0'.","cause":"Environment ID was renamed to 'FHAviary-v0' in version 0.35.0.","error":"gymnasium.error.UnregisteredEnv: Environment `fhaviary-v0` not found."},{"fix":"Use 'from fhaviary import FHAviaryEnv' instead.","cause":"Import path changed; FHAviaryEnv is now at top-level fhaviary.","error":"AttributeError: module 'fhaviary.env' has no attribute 'FHAviaryEnv'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}