> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent interfaces

> How the dashboard, CLI, SDK, API, MCP connection, and plugins work with the same Deepline org.

Deepline provides interfaces for people reviewing work, agents operating tools,
and applications running workflows. They connect to org resources such
as provider actions, Plays, runs, results, and usage. The interface determines
how a caller reaches those resources. Org access still determines what
the caller can do.

## Interfaces fit different execution environments

| Interface | What it provides | Typical use |
| - | - | - |
| Web app | Org selection, provider connection forms, Play and run views, data, and settings. | Set up access and review work visually. |
| CLI | Commands for discovery, execution, observation, export, and supported controls, with structured output. | Work from a terminal or a shell-capable coding agent. |
| SDK and HTTP API | Application calls to supported Deepline operations and run/result contracts. | Integrate Deepline into a backend or another service. |
| Remote MCP | Tools and resources exposed to an MCP client, authenticated to an org. | Use Deepline from an agent that connects to hosted tools. |
| Claude plugin | Packaged Deepline guidance for Claude Code or Cowork, using the CLI for execution. | Add skills and setup guidance to a Claude session. |

The MCP tool set depends on the endpoint and client connection. The full
connection includes discovery, execution, Play operations, and skill resources.
A restricted connection can expose only existing-Play operations. Use the
connection's tool list as its supported surface. Installing a plugin does not
give it every CLI command.

[Installation](https://deepline.com/docs/use-with-an-agent.md) explains the supported setup methods.
[Orgs](https://deepline.com/docs/workspaces.md) explains browser sessions, API keys, and agent
org selection. [Skills](https://deepline.com/docs/features/claude-code-skills.md) explains the methods
an agent reads before using these interfaces.

## Discovery reduces the cost of guessing

Search finds candidate tools and Plays from the input you have and the result
you need. Search for one capability at a time. Include the input fields, the
result you need, and requirements. Leave out customer data like names and
domains, and export details like filenames. For example, use
`company domain -> employees by job title and office location` when the tool
needs to support location filtering. If search suggests a rewrite, retry with
a shorter query centered on the core task.

Describe returns the selected operation's current contract: inputs,
outputs, access requirements, pricing, and supported features.

A provider name is not one universal input schema. Two email workflows may
accept different identity inputs or return different evidence. Live contracts
let the agent choose a matching operation instead of guessing an identifier or
copying an old payload. The CLI, SDK, and full MCP share these discovery concepts.

## A Play gives a conversation a durable artifact

An agent can explore a task interactively, then express repeatable decisions in
a Play. A Play has typed inputs, executable logic, bindings, and revisions.
Once a run is submitted, Deepline executes it independently of the initiating
conversation. A schedule or webhook can later invoke its admitted logic.

[Play deployment](https://deepline.com/docs/play-deployment.md) explains publication and live versions.
Authoring checks validate supported structure. The user still reviews whether
business rules, source evidence, and destination changes meet the task's needs.

## Machine-readable output and human review serve different readers

Structured output separates identifiers, statuses, results, errors, and
pagination. Human-readable commands and dashboard views make the same work
available for review. Use the returned run or execution identity to connect a
result with its saved evidence and usage.

An empty successful database query means no matching rows. A provider request
failure needs different recovery. A completed Play can return unresolved rows
when its logic treats uncertainty as an output. The agent must inspect that
output rather than treating completion as acceptance of every record.

## Small pilots reveal semantic problems

A representative pilot tests whether schema-valid inputs identify the intended
people or accounts and whether returned evidence meets the task's rules.
For example, known account rows can reveal a conflict between a provider's
observation and the CRM's existing value.

A pilot executes real work unless the specific operation offers a non-executing
check or preview. The Play controls whether it sends messages or changes a
destination. [Cost control](https://deepline.com/docs/cost-control.md) explains usage review and spending
controls before a wider run.

## Observation lets the agent recover without repeating the request

A remote run retains an identity after the initiating client stops waiting.
Reading its status or saved result observes that run. A local timeout does not
establish that remote execution stopped, and cancellation has its own result.

Direct tool execution has a caller-owned idempotency and recovery contract.
That contract is separate from a Play's internal call labels and reuse of
completed work. [Tool execution recovery](https://deepline.com/docs/sdk-v2/tool-execution-recovery.md)
explains direct-call recovery. [Application integration](https://deepline.com/docs/sdk-v2/production-integration.md)
explains saved run IDs, polling, callbacks, and cancellation.

## CLI setup and maintenance

CLI setup establishes the installation, org authorization, and skill
availability for the agent's environment. `deepline doctor` diagnoses readiness
and reports the next action. `deepline update` manages an explicit CLI update,
while settings control automatic maintenance. `deepline skills` refreshes the
agent guidance separately. [CLI installation](https://deepline.com/docs/sdk-v2/coding-agents.md) covers setup.
Command help documents maintenance behavior for the active installation.

## Session sharing and feedback

`deepline feedback send` sends a product report to Deepline, with optional
reproduction context. `deepline sessions send` explicitly uploads selected
Claude or Codex session transcripts, or a chosen local file. A shared session
can explain how a task reached its result or where it failed.

These are upload actions. Review the selected material and authorize sharing
before sending customer data, transcripts, or files. The command's help explains
selection and output. Describing a problem in chat alone does not upload a session.

## Continue learning

* [Coding agents](https://deepline.com/docs/sdk-v2/coding-agents.md): installation and org verification.
* [Build a Play](https://deepline.com/docs/sdk-v2/plays.md): author and validate executable logic.
* [Play runs](https://deepline.com/docs/play-runs.md): observe execution and review retained output.
* [API reference](https://deepline.com/docs/api-reference.md): application operations and contracts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.