Topic 5 of 5 · 4 min read
Trialling new agent and tool features safely
Goal: Trial a new agent feature on a sandbox task and log its time, your interventions and its mistakes.
Try a new agent, agent mode or connector on a sandbox task first, with limited access, and log how long it took, how often you had to step in and what it got wrong. An agent acts, so a bad trial can change files, send messages or spend money.
Check yourself · 1 of 3
You are trying a new coding agent for the first time. Where should it work?
Why it matters
A model that only answers can only be wrong on screen. An agent can edit code, run commands, browse and use connectors to your email, calendar or repositories. New features arrive often: coding agents in Cursor, Claude Code or Copilot, browser agents, and connectors based on the Model Context Protocol (MCP). Demos show the best run. You need the typical run, and you need it without risking real work.
How to do it
- Make a sandbox. For code, a copy of a small project in a separate folder or a throwaway branch, with no real keys. For documents, a dummy folder and a test mailbox. Do not give it your production data on the first day.
- Give the least access. Read-only first. Turn on edits, then commands, then connectors one step at a time, and keep approval prompts on.
- Pick a realistic task you already know the answer to, such as "add input validation and tests to this function". You can only judge the result if you know what good looks like.
- Keep a log while it runs: time to finish, number of times you had to correct or approve, mistakes (wrong file, invented API, ignored instruction, silent changes outside the task), and cost or usage if shown.
- Review the result as you would a stranger's work. Check the changes, run the tests yourself.
- Repeat on two or three tasks and compare against doing it by hand or with your current tool.
Before and after
Weak: connect the new agent to your real mailbox and repository on day one and ask it to "tidy things up".
Better: a throwaway copy of the repository, read-only at first, one clear task and a log.
Task: add email validation to signup() with tests
Time: 14 min (by hand: ~25)
Interventions: 3 (wrong test file, ignored lint rule, rerun)
Mistakes: edited an unrelated config file; invented a helper that does not exist
Verdict: useful with review; keep approvals on
What goes wrong
- Real access too early. One misread instruction can delete files or send mail.
- Counting only the happy run. You need the number of interventions, not the best demo.
- Skipping review because the agent reports success.
- Granting wide connector permissions that stay on after the trial.
Examples
A trial log for a coding agent
Task: rename a function across a sandbox repo and fix the tests. Run 1: 9 minutes, 2 interventions, 1 mistake (renamed a string in a comment that must stay). Run 2: 7 minutes, 1 intervention, no mistakes. Run 3: 15 minutes, 4 interventions, edited a lockfile.
Verdict: good on small renames, needs review on anything touching build files.
Connector permissions in steps
Maria wants a new calendar connector to propose meeting times. Step 1: a test calendar, read-only. Step 2: allow creating events on the test calendar only, with approval on each. Step 3, after two good days: her real calendar, read-only.
Write access to the real calendar waits for the review date. Each step has its own log line.
Key points
- Trial agents in a sandbox with copies of data, no real secrets and the least access that works.
- Add permissions in steps: read-only, then edits, then commands, then connectors, with approvals on.
- Use a task you already know the answer to, so you can judge the result.
- Log time, number of interventions, mistakes and cost for every trial run.
- Review the output as you would review a stranger's work, and remove granted access when the trial ends.
Common mistakes
- Connecting a new agent to real mailboxes, repositories or production data on day one.
- Turning off approval prompts to make the trial faster.
- Recording only the final result and not how many times you had to step in.
- Leaving connector permissions in place after a trial that you did not adopt.
Check yourself · 2 of 3
Which two numbers in a trial log show most about how much work an agent really saves you?
Check yourself · 3 of 3
A new connector would let an agent read and send from your real email. What is the safest first step?
Practice items, not counted towards your mastery.
Start here
- Develop test cases (Claude docs) (opens in a new tab)DocsFree
How to write measurable success criteria and test cases before you judge any model.
- Your AI product needs evals (Hamel Husain) (opens in a new tab)ArticleFree
A practitioner walk-through of building evals from real failures and looking at your own data.
- Promptfoo introduction (opens in a new tab)ToolFree
A free tool that runs the same prompts against several models and shows results side by side.