All posts

Agent security

How Do I Run an Enterprise Pilot for Autonomous Coding Agents?

Plan a bounded coding-agent pilot with owners, scoped access, acceptance cases, stop conditions and explicit criteria for expansion.

Harden cover: Enterprise Agent Pilot. A right-column scope to test to decide diagram illustrates the workflow. Conceptual editorial artwork; no measured result is depicted.

Executive summary

Run an enterprise coding-agent pilot around a bounded engineering task, explicit authority, representative acceptance cases, and a decision owner. Measure useful work and control behavior separately before expanding access. Our pilot worksheet starts with a staging test-fix workflow and defines entry, stop, and exit criteria. It is a proposed method, not evidence of a customer rollout or a promise that a particular pilot length establishes security.

Choose a task small enough to inspect

Start with one workflow that engineering genuinely wants to improve. For example, the agent diagnoses a failing staging test, proposes a patch in a branch, and opens a pull request. The approved outcome is reviewable code and evidence, with production deployment outside scope.

Name the engineering owner, platform owner, security reviewer, and person making the expansion decision. The same person may hold several roles in a small team, but the responsibilities should remain explicit.

Record the repository, execution environment, agent version, tool routes, identities, and sensitive resources. Avoid beginning with “all developer activity” or a large installation target. Those are difficult scopes to evaluate before the team knows which consequential operations the agent can perform.

Write exclusions alongside permissions. If the pilot excludes production credentials, real customer exports, and unapproved external services, verify that the environment actually reflects those limits. A pilot document does not remove access already present on a workstation or remote runner.

Define success before observing the results

Functional success means the intended engineering work completes to the team's review standard. Security acceptance means the relevant authority boundaries behave as specified and evidence is available. Developer experience includes interruptions, recovery paths, and the work needed to resolve a legitimate block.

Choose measures with clear units. A completed task, tool call, blocked proposal, developer, and machine are different denominators. Record why a measure helps the decision rather than collecting every available chart.

Set stop conditions. Suspected sensitive-data exposure, unexplained production access, missing critical evidence, or a broken required boundary may require the team to pause the affected route. Define the owner and containment process before the event, instead of asking the agent to decide its own incident response.

Avoid an arbitrary success threshold borrowed from another team. The appropriate evidence depends on the proposed authority and consequence. A pilot for repository suggestions has different requirements from an unattended workflow that can modify infrastructure.

Configure the actual access paths

Review native permissions, administrator settings, sandboxing, credentials, MCP servers, and external recipients. Claude Code's permissions documentation is one product-specific source; use equivalent current documentation for the agents actually included in the pilot.

Keep local and remote environments separate in the record. A hosted workspace can use a different identity, filesystem, network, or retention arrangement from the developer laptop. One agent interface does not guarantee one execution boundary.

Use approved, scoped credentials and synthetic data where possible. Give additional access a documented purpose, owner, and expiry. Do not let temporary troubleshooting exceptions silently become the pilot's permanent configuration.

For a fleet deployment, validate the actual distribution mechanism on a small group before expanding it. Successful software installation is one checkpoint. Confirm the settings, supported integration, and observed behavior after installation before describing the workflow as covered.

Build a representative acceptance set

Begin with the legitimate staging test-fix task. Then vary one consequential property: an unrelated file read, a production target, a new diagnostic recipient, or an unapproved dependency source. Choose cases that correspond to the workflow's real authority.

Use harmless fixtures and controlled recipients. A synthetic secret marker can reveal a transfer path without exposing a real credential. A disposable environment can show how a migration proposal is handled without modifying production data.

For each case, preserve the task, proposed action, applicable configuration, expected outcome, observed decision, and actual effect. Inspect the target where possible. A block message, failed process, and prevented effect are related evidence, but they are not interchangeable.

Test recovery as well as rejection. The agent should have a useful continuation when an unsafe route is stopped: produce a reviewable diff, request a narrow exception through the established process, or use the approved recipient. Otherwise the pilot may measure interruption rather than a workable control.

Review findings with the people who own the boundary

Hold a decision review using the evidence packet, not only the agent's summary. Separate confirmed defects, configuration gaps, false positives, and untested routes. Give each material gap an owner and next action.

When a legitimate operation is blocked, investigate the reason and scope. Avoid broad disablement to improve completion figures. A narrow exception may be justified, but it changes the operating assumptions and should be recorded and retested.

When a prohibited variation succeeds, identify whether the expected control was present, configured, and on the actual route. Do not immediately attribute the result to a product category. A remote helper outside the integration is a different finding from an observed call that received the wrong decision.

Keep findings linked to revisions. An agent, connector, or policy update can change the result before the pilot ends. Recheck the affected cases and preserve the earlier record so the team can explain what changed.

Make expansion a specific decision

At the exit review, choose whether to continue the bounded pilot, add a defined workflow, constrain access, or defer expansion. List the evidence supporting the decision and the gaps the owner accepts. An installation target is not an exit criterion by itself.

Harden evaluates supported pending agent calls using relevant task context and policy. During a pilot, verify the supported agent and tool route, then inspect decisions alongside actual effects. Keep endpoint protection, identity restrictions, code review, and incident response in their own roles.

Our enterprise rollout guide covers deployment ownership and change management. Start a supported evaluation in Control, or Book a Call with the task, access map, and proposed acceptance set. Those inputs make the pilot's next decision concrete.

FAQs

How long should a pilot run?

Choose a window that permits representative work, investigation, and retesting of consequential findings. Time elapsed alone does not establish coverage. Define the decision and evidence requirements first, then assess whether the pilot has produced enough information for that bounded expansion.

Should the first pilot include production access?

Give access according to the task and its consequences. A staging test-fix workflow can often be evaluated without production authority. If production is essential, involve its owner and use the existing change and incident processes rather than adding the credential as a convenience.

Can we compare different agents in one pilot?

Use common outcome requirements and preserve product-specific configurations and routes. Similar mode names do not establish equivalent controls. Repeat the representative tasks for each included agent and avoid combining an evaluated local workflow with an untested remote path under one healthy status.

What should we do with false positives?

Record the legitimate operation, proposed call, configuration, and reason for the decision. Investigate the narrow mismatch and retest useful behavior after changes. Treat broad disablement as a changed risk decision, not as an ordinary way to improve the pilot's completion rate.

What makes a pilot ready to expand?

The decision owner has evidence that the defined tasks work, consequential boundaries meet the agreed criteria, gaps have owners, and response procedures are usable. Expansion should name the additional workflows and authority. A quiet period or a successful installation count is insufficient on its own.