Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

DigitalOcean 16 min read Deep dive mediumAdept

Inside DigitalOcean Simulations: how user simulation, execution, and validation work

DigitalOcean Simulations evaluates agents over whole multi-turn conversations instead of single responses. A model-driven user simulator acts out a JSONL scenario (description, persona, stopping criteria, max turns) against the agent running in a real Harness Runtime sandbox with live tool calls, and an LLM judge then scores the full trajectory of messages and tool calls. A worked Python 3.11 upgrade example shows how multiple episodes per scenario, stopping criteria, and metrics like Knowledge Retention and Tool Use Accuracy tell instruction, tool-use, reasoning and retention failures apart. The post closes with a doctl walkthrough comparing a baseline agent against an improved candidate.

Related posts

  • Agents are users, so your software needs evals

    Vercel mediumAdept

    Agents 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.

  • The Most Common Questions About Agent Evals, Answered

    LangChain mediumAdept

    Agent evals score agent runs to handle nondeterminism, multiple valid answers and variable execution paths: start by reading traces, pick one behavior, build a 10-20 example dataset from real traces, run a baseline experiment, and fold new failures back in. Offline evals compare versions against datasets before shipping, while online evals score sampled production traces without reference outputs. Use code evaluators where possible, LLM judges with narrow binary questions calibrated against human review, and pairwise comparison for choosing variants. Container-based benchmarks like Terminal-Bench (run via the open-source Harbor harness) score the end state of an environment for long multi-step tasks, and online costs can be controlled through sampling, filters, code checks and cheaper judge models.

  • DigitalOcean Signals: Observability for AI Agents and Inference

    DigitalOcean mediumAdept

    DigitalOcean Signals, in Public Preview, analyzes production conversations from Managed Agents (Harness Runtime) and Inference Engine and emits 25 deterministic, model-free behavioral signal types across interaction, execution and environment layers, covering frustration, tool-call loops and parameter drift, context overflow and rate limits. Each signal points to the exact run and step with a confidence score, and per-session reports rate quality from Excellent to Severe so teams can triage which conversations deserve human review or an LLM judge. On τ-bench, 82% of flagged sessions were informative versus 54% of random ones. Flagged sessions can be exported via doctl or the API as PII-redacted datasets and Simulation scenarios for evaluations.

  • Demystifying evals for AI agents

    Anthropic Engineering mediumAdept

    Agent evaluations should grade both the final environment outcome and the full transcript of tool calls, turns and reasoning, because multi-turn agents modify state and compound mistakes. The post lays out a practical structure—tasks, trials, graders, harnesses and suites—with code-based graders for deterministic checks, model-based graders for nuanced rubrics and human graders for calibration. It recommends capability evals that start at low pass rates and regression evals that stay near 100%, and shows coding and conversational agent examples that combine unit tests, state checks, LLM rubrics and tool-call assertions. The takeaway is to build an eval suite early: it clarifies success criteria, enables fast model upgrades and provides baselines for latency, token usage, cost and error rates.

  • The Agent Said It Was Done. The Database Disagreed.

    Hugging Face mediumAdept

    ThinkingBox grades AI agents on the terminal database state and side effects they leave behind rather than their tool calls or final responses, running each of 507 stateful business workflows 20 times from a clean backend via isolated MCP sessions. Among failed attempts, 67% still terminated cleanly with state-changing calls and no tool errors, yet had wrong field values, extra effects or missing effects. Breadth and consistency diverge: Kimi-K3 solves 94% of tasks at least once but only 13% on all 20 runs, while Claude Opus 5 and 5.5 pass 241 tasks 20/20, and cost per dependable task ranks models differently from cost per single success. About 80% of failures are tool-handling and error-recovery problems, so checking terminal state, classifying retryable errors, trimming tool surfaces and gating irreversible changes are the recommended mitigations; the benchmark runs through OpenEnv on Hugging Face.

The quest for software engineering knowledge.

Look:
Layout: