OpenEnv in Practice: Evaluating Tool-Using Agents in Real-World Environments
OpenEnv, an open-source framework from Meta and Hugging Face, evaluates agents against real systems through a gym-style API (reset/step) and a standard MCP tool-call interface, with stateful, isolated sessions. Turing's Calendar Gym applies it to calendar management with ACLs, partial visibility and multi-step workflows. Agents reached about 90% success when given explicit calendar identifiers but only about 40% with natural-language references, and over half of failures came from malformed arguments or wrong ordering even when the correct tool was chosen. Recommended mitigations include structured validation and permission errors with remediation hints, canonical call examples in prompts, and standardizing on RFC3339 datetimes with explicit offsets.
Related posts
- You Should Write An Agent
Fly.io mediumAdeptAn LLM agent is just a loop around a stateless chat API: keep a list of messages, replay it on every call, and when the model emits a function_call, run the tool and append its output. A few dozen lines of Python against the OpenAI Responses API produce a working tool-using agent that decides on its own to ping multiple Google hosts. MCP is barely a technology, just a plugin interface for agents you don't control, and context engineering is a real, legible programming problem of budgeting tokens across sub-agents, tools and summaries. Agent design leaves open problems around nondeterminism, grounding, inter-agent interchange formats and cost, and each design iteration takes about 30 minutes, so engineers should build one themselves.
- Agents are users, so your software needs evals
Vercel mediumAdeptAgents act as users of APIs, CLIs, MCP servers and SDKs, so measuring whether they complete tasks correctly requires evals: tests run many times and scored. An agentic testing pyramid groups checks by LLM call count (deterministic tests, one-turn evals, E2E evals), and a worked example builds an end-to-end eval for a hypothetical coffee-ordering CLI using Harbor, covering goal setting, task design with seeded environments, frozen clocks and per-constraint verifiers, and guarding against reward hacking. Metric choice should follow failure cost: a 60% success rate yields 99% pass@5 but only 8% pass^5, so products where users get no retry should optimize for pass^k, while coding agents with test feedback can lead with pass@k.
- Evolving our calendar assistant Reclaim to be AI-native without starting over
Dropbox Tech mediumAdeptReclaim added natural-language AI scheduling by routing agent requests through the same scheduling logic used by users and its automated scheduler, rather than building a separate AI-only path. Dropbox built its own agent loop, tool system and context gathering, connecting directly to model providers instead of using an agent framework. That framework had lagged provider APIs and carried more structure than needed, and owning the loop costs more code to maintain. All actors share a common "Schedule Action" abstraction with one validation and commit path, and the same tools are exposed via MCP to clients like Claude and ChatGPT. A Preview Mode lets users review proposed changes on a temporary calendar, made fast by rewriting the scheduler as a pure function and caching calendar data in Redis.
- Gaia2 and ARE: Empowering the community to study agents
Hugging Face mediumAdeptGaia2 is a successor to the GAIA agent benchmark that moves from read-only retrieval to read-and-write tasks in a simulated smartphone environment. It has 1,000 human-created scenarios split into execution, search, ambiguity, adaptability, time, agent-to-agent collaboration and noise tolerance, and it runs on Meta's open ARE framework, which supports timed events, API failures, MCP tools and exportable JSON traces. In a uniform ReAct setup, GPT-5 (high reasoning) scored best overall and Kimi K2 was the best open model. Execution and search are nearly solved, while ambiguity, adaptability, noise and especially time-sensitive tasks remain hard, so results are also reported against cost (LLM calls and output tokens) as a Pareto frontier.
- Open-source LLMs as LangChain Agents
Hugging Face mediumAdeptOpen-source LLMs can now serve as reasoning engines for tool-using ReAct agents, with Mixtral-8x7B outperforming GPT-3.5 out of the box on a mixed benchmark drawn from HotpotQA, GSM8K and GAIA, graded by GPT-4-as-a-judge. The ReAct loop works by prompting for a Thought plus a JSON tool call or a Final Answer, then parsing the output, running the tool and appending the Observation to the prompt. Agents are built in LangChain with the new ChatHuggingFace wrapper. Llama2-70b and Zephyr-7b perform poorly. About 10% of Mixtral's GAIA failures come from malformed tool arguments, so fine-tuning for function calling is the recommended next step. Giving models a calculator lifts zero-shot GSM8K scores, though only 20 questions were tested.