---
id: workflow.cli.external-agent-packages
title: External agent packages and returned results
summary: Keep a coding agent’s task context, local implementation, and returned benchmark results connected.
kind: task
product_area: developer_tools
status: stable
updated: 2026-11-11
canonical: /docs/cli/external-agent-packages
---

# External agent packages and returned results

Keep a coding agent’s task context, local implementation, and returned benchmark results connected.

## Prerequisites

A copied External Agents task, repository access, and the authentication setup supplied with the task.

## Steps

1. Connect the read-only product MCP for the pinned project, benchmark, criteria, and optional reference Run.
2. Inspect the actual application repository and confirm what candidate the reference Run represents.
3. Use the CLI’s supported external-output submission workflow for customer-executed behavior. Choose managed Harness execution deliberately when it fits the assignment.
4. Return actual candidate identity and results. Inspect resulting Runs and comparisons through ordinary Benchmark Evaluations.

## Object and state changes

Copying a task creates text, not a hosted agent Session or transcript. Product MCP retrieves context; CLI submission creates ordinary Run records through its supported contract.

## Success criteria

The returned assessment identifies the actual candidate and pinned benchmark context without claiming private agent work that was never returned.

## Common failure modes

Assuming Harness upload is mandatory; including credentials in copied task text; confusing Docs MCP retrieval with product submission.

## Related reference pages

{% related-card-grid title="Continue this workflow" %}
- [Work with External Agents](/docs/improve/external-agents)
{% /related-card-grid %}

## Related troubleshooting pages

{% related-card-grid title="Resolve a problem" %}
- [Permissions troubleshooting](/docs/troubleshooting/permissions)
- [Benchmark run troubleshooting](/docs/troubleshooting/benchmark-runs)
{% /related-card-grid %}
