/ environments / __init__.py
__init__.py
1 """ 2 Hermes-Agent Atropos Environments 3 4 Provides a layered integration between hermes-agent's tool-calling capabilities 5 and the Atropos RL training framework. 6 7 Core layers: 8 - agent_loop: Reusable multi-turn agent loop with standard OpenAI-spec tool calling 9 - tool_context: Per-rollout tool access handle for reward/verification functions 10 - hermes_base_env: Abstract base environment (BaseEnv subclass) for Atropos 11 - tool_call_parsers: Client-side tool call parser registry for Phase 2 (VLLM /generate) 12 13 Concrete environments: 14 - terminal_test_env/: Simple file-creation tasks for testing the stack 15 - hermes_swe_env/: SWE-bench style tasks with Modal sandboxes 16 17 Benchmarks (eval-only): 18 - benchmarks/terminalbench_2/: Terminal-Bench 2.0 evaluation 19 """ 20 21 try: 22 from environments.agent_loop import AgentResult, HermesAgentLoop 23 from environments.tool_context import ToolContext 24 from environments.hermes_base_env import HermesAgentBaseEnv, HermesAgentEnvConfig 25 except ImportError: 26 # atroposlib not installed — environments are unavailable but 27 # submodules like tool_call_parsers can still be imported directly. 28 pass 29 30 __all__ = [ 31 "AgentResult", 32 "HermesAgentLoop", 33 "ToolContext", 34 "HermesAgentBaseEnv", 35 "HermesAgentEnvConfig", 36 ]