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

# Computer Agent configuration

> Combine durable Agent configuration with Computer Agent operational resources.

A Computer Agent uses the same published Agent configuration model as other Vida Agents. Its model
requests use `agentModel`.

## Build Task, Skill, and Helpers together

Every new or changed Computer workflow follows **Task → Skill → Helpers**:

| Layer | Owns |
| - | - |
| Task or on-demand request | Business inputs, scope, limits, and requested outcome |
| Skill | Procedure, helper sequence, decisions, recovery, and outcome checks |
| Registered Helpers | Exact Computer operations with defined inputs and results |

Agent instructions establish the role and route work to skills. Use repeating Tasks for recurring
work; on-demand requests use the same skill/helper organization without a recurring schedule.
Keep the procedure, helpers, resources, and retained outputs with the owning skill. See
[Workspace files and helpers](https://vida.io/docs/api-reference/agent-guides/computer-agent-workspaces-and-helpers.md).

Do not deliver new workflows that depend on heartbeats, conversational memory, workspace browsing,
or loose scripts. Management APIs remain available for construction and requested maintenance;
this standard does not disable existing customer behavior or change endpoint contracts.

## Durable Agent configuration

Use the normal staging and publish lifecycle for Agent-owned settings such as:

* instructions and model selection
* existing heartbeat instructions and supported settings when maintenance is requested
* knowledge links
* assigned skills
* Computer delegation

Read staging, update only intended writable fields, verify staging, test, publish, and verify live.

## Computer Agent operations

Use `/api/v2/computer/accounts/{targetAccountId}/...` for runtime and operational resources, including:

* provisioning, restart, upgrade, backup, restore, and deprovisioning
* health, activity logs, service logs, diagnostics, and confirmed repairs
* redacted runtime configuration inspection and bounded patches
* channels, skill installation and setup, managed secrets, memory, sessions, and tool policy
* workspace files, browser access, recordings, and reusable helper execution

Use the target Computer Agent's stable account ID in the route. Do not use an `agentConfigId` as `targetAccountId`.

Continue with the focused guides for:

* [Lifecycle, logs, diagnostics, backups, and repair](https://vida.io/docs/api-reference/agent-guides/computer-agent-operations.md)
* [Skills, managed credentials, authorization, and channels](https://vida.io/docs/api-reference/agent-guides/computer-agent-skills-and-channels.md)
* [Workspace files, reusable helpers, and browser automation](https://vida.io/docs/api-reference/agent-guides/computer-agent-workspaces-and-helpers.md)
* [Canvas source, publishing, visibility, and access](https://vida.io/docs/api-reference/agent-guides/computer-agent-canvas.md)

## Delegation from another Agent

A Computer Agent uses its own Computer automatically. Set `computerDelegateAccountId` only when one
Agent must deliberately use a different Agent's Computer. Discover functions again and require the
Computer function to report `allowed: true` before publishing. Use Browser for ad hoc exploration
during construction; registered reusable helpers are exposed through Computer.

A reusable helper is appropriate for one known operation with an exact input and result contract.
For a delivered multi-step workflow, delegate to an owning skill that composes registered helpers.
Exploration can help establish or diagnose a workflow; it is not the routine execution path.

Operational resources can require user participation for credentials, OAuth, device login, or destructive actions. Complete and verify those resources before depending on them in a live conversation.

## Execute immediate Computer work

Use `POST /api/v2/computer/accounts/{targetAccountId}/tasks/execute` when an integration needs to
create one immediate Computer Task and wait briefly for its assistant reply. If the response is
`202`, poll `GET /api/v2/computer/accounts/{targetAccountId}/tasks/{taskId}/result` or the returned
`resultRef.href`. Do not repeat the POST because it is not idempotent and can create duplicate work.
Use the standard Task API for scheduling, cancellation, full Task history, and linked chat access.

Task `taskContext` names the owning skill and supplies the run inputs and requested result. There is
no typed Task-to-skill/helper binding; do not add undocumented fields. A known registered operation
can instead use `/helpers/execute` directly. That call executes a helper; `/tasks/execute` creates
an ordinary Computer Task.

## Reusable helpers

Helpers are exact, reusable functions owned by a Computer Agent skill. They can automate a stable
Browser workflow or run without Browser access for API, file, and data work.

Create a helper when a conversational Agent needs a stable operation that is not already a built-in
function. This is usually better than free-form delegation for a voice-call operation whose inputs,
side effects, and result must be predictable. Keep multi-step decisions and recovery in the owning
skill. Use bounded exploration only when constructing or diagnosing the capability.

* List the selected Agent's contracts with
  `GET /api/v2/computer/accounts/{targetAccountId}/helpers`.
* Execute an exact registered name with
  `POST /api/v2/computer/accounts/{targetAccountId}/helpers/execute` and an optional `arguments`
  object.
* Check `requiresBrowser` to know whether execution needs the live Browser. Registered helpers are
  still exposed through Computer. Use `skillSlug` to identify the owning skill.
* Configure every ID in `requiredSecrets` through the selected Agent's managed-secret API. Do not
  send secret values in helper arguments; Vida supplies only the declared values during execution.

Reusable source belongs under `skills/{skillSlug}/helpers/`. Browser-backed source uses
`@browser_function(...)`; Browserless source uses `@computer_function(...)`. Generated registry
files are runtime state and should not be edited directly. Skill install, update, and uninstall
refresh registration automatically. After a lifecycle change, list helpers again and run a safe
representative call before depending on one in production.

To make a helper available during voice or messaging conversations:

1. Add the helper and its usage instructions to one owning skill on the provisioned Computer Agent.
2. Configure every declared Agent managed secret and verify the helper through `/helpers`.
3. If the helper belongs to another Agent's Computer, set `computerDelegateAccountId` to that
   Computer Agent account. Otherwise leave it unset.
4. Read `GET /api/v2/agent/functions?targetAccountId=...` and configure the exact `computer` action
   returned by the catalog.
5. In the action instructions, define when the helper should run and map conversation values to its
   exact registered arguments. Helper input values must be supplied as helper arguments; descriptive
   task or success text does not fill them automatically.
6. Verify staging, test the staged Agent with safe data, publish with explicit intent, and verify the
   live configuration.

Browser workflow generation accepts an optional `skillName`. Use a neutral reusable name when a
recorded domain contains customer-specific information or would create a poor skill identity. Vida
normalizes it and returns the actual `skillSlug`; the domain remains attached to Browser helper
metadata and recording evidence.
