Export agent in Markdown format with YAML front matter
PreviewConfigure agents, harnesses, capabilities, skills and channels. Manage keys, triggers and recorded changes.
/v1/agents/{agent_id}/exportSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Agent name or ID
Query Parameters
Section titled “Query Parameters”Markdown (default), json, yaml, toml, or zip.
Responses
200Portable agent definition (format selects text or ZIP)
Portable agent definition (format selects text or ZIP)
Authored values only: no organisation, agent, model, harness or channel IDs.
object
Named capabilities, optionally with configuration; the host validates availability.
A capability requirement identified by a stable reference and optional settings.
object
Configuration validated against the destination capability schema.
Built-in or catalog capability name. Destination resource IDs are rejected.
Named channel descriptions, upserted without removing omitted destination channels.
object
Portable channel intent. Authentication and installation are host bindings. Channels default to disabled; enabled intent still requires host publication.
object
Declarative transport settings, excluding credentials and destination resource IDs.
Request an enabled draft; false by default. Publication remains a host operation.
Ingress transport type, such as ag_ui, public_chat, fcp or slack.
Optional description of the agent’s purpose.
Human-readable agent label. Defaults to the stable name at the host.
Starting files or package-relative sources. Sources retain their relative paths.
A package-relative file or glob and its working-directory destination.
object
Whether the initial workspace file is read-only. Defaults to true.
Working-directory destination; omitted paths preserve the package source.
Relative file path or glob confined to the package directory.
Starter file copied into a new session from an agent or harness.
object
File content: plain text or base64-encoded binary.
Content encoding: text or base64.
Prevent session-side edits or deletes when true.
Absolute path within the session workspace. /workspace prefix is accepted.
Named harness requirement. Omission uses the host’s default harness.
Authored instructions. Legacy system_prompt input is also accepted.
Package-relative instructions source. Folder loading defaults to instructions.md.
Optional Markdown introduction shown before the conversation starts.
Locale-keyed display overlays; identifiers and execution instructions are unchanged.
object
Display-only translations shared by portable agent files and platform resources. Addresses, tool identifiers and execution instructions never use these values.
object
Localized description (1–2000 characters when set).
Localized display name (1–255 characters when set).
Optional tool-loop iteration limit. Omission keeps the host default.
Ceiling on output tokens per model response. Omission keeps the provider default.
Named scoped MCP definitions. Credential placeholders require explicit host bindings.
object
Session-, agent-, or harness-scoped remote MCP server configuration.
This intentionally mirrors the mcpServers object shape used by common MCP
client config files while staying within Everruns’ current remote-HTTP-only
support.
object
Identity whose grant this attachment requests.
Arguments passed to the stdio command.
Authentication mode used when executing tools from this scoped server.
Executable to spawn for a stdio transport server.
Whether a missing sign-in may pause the turn with an in-chat Connect
card (ask, the default) or fails the call with a settings link
(never).
Whether the server’s tools are listed only when the model asks for
them through tool search (false, the default, lists them at turn
start).
Searchable server context supplied by its attachment or catalog. It is metadata, not an instruction or a credential.
Which elicitation modes this server may use (url by default).
Environment variables set for the stdio command.
object
Additional HTTP headers sent on MCP requests (HTTP transport only).
object
Provider id used to resolve a user-scoped bearer token.
Protocol-era adoption policy for the MCP client (auto negotiates).
Whether to discover tool definitions live from this server.
Risk labels for this server’s tools, by the tool’s own name:
read_only never asks for approval in the normal mode, changes
always asks. They win over the tool’s annotations and over a catalog
preset’s saved labels. Honored on harness, agent and person-owned
servers; dropped from session-scoped servers.
object
A person’s saved risk label for one MCP tool.
Decision (2026-10-10): a person’s label always wins over the tool’s own
annotations, because a remote server describes itself and a person who
owns the integration knows better. read_only also clears open_world,
since tool approval treats an outward-reaching tool like a destructive one;
without that a read-only MCP tool would still ask every time.
How long one tools/call to this server may take, in milliseconds.
Unset means [MCP_TOOL_TIMEOUT_DEFAULT_MS] (60 s); accepted range is
[MCP_TOOL_TIMEOUT_MIN_MS]..=[MCP_TOOL_TIMEOUT_MAX_MS]. timeout
is accepted as an alias, matching common mcpServers config files.
MCP transport type. Only remote HTTP is supported today.
URL of the remote MCP server endpoint. Required for HTTP transport; empty/ignored for stdio.
Other agents, by name, that this agent can hand work to. Agents bundled
under .agents/agents/ are found without listing them here; an explicit
empty list turns that discovery off.
Organization model the agent follows instead of model, such as
research for the host’s research model. Hosts without model roles
use their default model.
Stable agent name used for destination lookup; resource IDs are not portable.
Optional outbound network policy enforced by the host.
object
Allowed host patterns. If non-empty, only matching URLs are permitted. An empty list means “no restriction from this layer” (inherit parent).
Blocked host patterns. Always denied, even if matched by allowed.
Whether independent tool calls may run concurrently. Omission keeps the host default.
Platform-specific Sandbox policy. Other hosts must explicitly bind or reject it rather than silently discarding execution requirements.
Portable format version. Currently 1; omitted values default to 1.
Optional short description for agent discovery surfaces.
Package-relative skill folders including SKILL.md and supporting assets.
Suggested opening messages in the platform’s starter format.
Discovery tags, compared as an unordered set.
Tool schemas whose executable implementations must be bound by the host.
Built-in tool - executed by the worker via ToolRegistry
object
Category for tool_search namespace grouping (from parent capability)
Whether this tool’s schema can be deferred via tool_search
Tool description for LLM
Human-readable display name for UI rendering (e.g., “Get Current Time” for get_current_time)
Original full parameter schema saved by DeferSchemaHook before stripping.
Serialized only when present so durable reason-to-act scheduling can
preserve deferred schemas for tool_search in the act phase.
Semantic hints describing the tool’s behavioral properties
object
Declared capability description for source-aware tool discovery. Never populate this with system prompts, conversation state or secrets.
Capability that contributed this tool definition.
Reporting uses this attribution only as metadata. It must never contain tool arguments, results, prompts, or any other sensitive payload.
Human-readable capability name snapshot for reporting.
Scheduling conflict key. Tool calls within the same act batch that share
a non-empty concurrency_class are executed sequentially in arrival
order; calls in different classes (or with no class) run concurrently.
Set this on tools that mutate shared session state so that, e.g., two
file writes or two SQL mutations in one batch do not race. Read-only
tools should leave this None so they always parallelize. See
everruns-engine’s tool scheduler for how the act phase consumes it.
Tool performs significant CPU-bound or otherwise non-yielding work in
process (e.g. an in-process interpreter). When true, the act scheduler
runs the call on its own task (tokio::spawn) so a long CPU burst does
not starve the cooperative polling of I/O-bound tools in the same batch.
Distinct from long_running, which describes wall-clock time for
I/O-bound work (those tools yield at await points and need no offload).
Tool may irreversibly destroy or delete data. Subset of non-readonly — a tool can be non-readonly (writes) without being destructive (e.g., create/update operations).
Calling the tool repeatedly with the same arguments produces the same effect. Safe to retry on transient failures.
Tool may take significant time to complete (> ~5s typical). Useful for clients to show progress indicators and set timeouts.
Host-owned annotations that core does not interpret.
The typed hints above are the vocabulary core itself reasons about. This
is the escape hatch for everything a host wants to carry alongside a
tool — risk tiers for an approval UI, presentation hints, an embedder’s
routing keys — without adding a field to core for each one. Core reads
nothing here and no driver sends it to a provider; it travels with the
definition so a consumer sees it at the point of decision (e.g. a
PreToolUseHook gating on what the tool declared).
The schema belongs to whoever writes it. Never put credentials or other sensitive payload here: like the rest of the definition, it is persisted and surfaced to clients.
Entity noun for operation-based narration (e.g. “agent”, “harness”).
When set, the narration system reads the operation argument and
produces verb-based narration like “Created agent: Neon Cartographer”
instead of the generic “Ran Manage Agents”.
Tool interacts with external entities beyond the local system (network calls, third-party APIs, cloud services).
Tool output should be persisted to session VFS before truncation.
When set, the tool_output_persistence capability (EVE-222, EVE-245) writes
stdout to /outputs/{tool_call_id}.stdout and stderr to
/outputs/{tool_call_id}.stderr, injecting full_output, total_lines,
and output_files into the result.
Tool does not modify any state (read-only queries, lookups). When true: safe to call speculatively, result can be cached.
Tool requires API keys, credentials, or other secrets to function. Useful for UI to show connection prompts and for LLMs to anticipate authentication failures.
Replay-safety class used when recovering an unfinished tool call.
When the journal records a start but no completed result,
Pure/Idempotent tools may be re-executed; AtMostOnce tools are
settled as interrupted to avoid repeating an uncertain external effect.
None is treated conservatively as AtMostOnce.
Tool must stay a direct tool call and never runs from inside a shell
script (shell_code_mode): it pauses or shapes the turn, or its result
only makes sense to the model directly.
Tool supports detached background execution via spawn_background.
When true, the tool may be executed asynchronously outside the current
foreground tool call and report status back later.
Tool name (used by LLM and for registry lookup)
JSON schema for tool parameters
Tool policy (auto or requires_approval)
Client-side tool - executed by the client, not the server
object
Category for tool_search namespace grouping (from parent capability)
Whether this tool’s schema can be deferred via tool_search
Tool description for LLM
Human-readable display name for UI rendering
Original full parameter schema saved by DeferSchemaHook before stripping.
Serialized only when present so durable reason-to-act scheduling can
preserve deferred schemas for tool_search in the act phase.
Semantic hints describing the tool’s behavioral properties
object
Declared capability description for source-aware tool discovery. Never populate this with system prompts, conversation state or secrets.
Capability that contributed this tool definition.
Reporting uses this attribution only as metadata. It must never contain tool arguments, results, prompts, or any other sensitive payload.
Human-readable capability name snapshot for reporting.
Scheduling conflict key. Tool calls within the same act batch that share
a non-empty concurrency_class are executed sequentially in arrival
order; calls in different classes (or with no class) run concurrently.
Set this on tools that mutate shared session state so that, e.g., two
file writes or two SQL mutations in one batch do not race. Read-only
tools should leave this None so they always parallelize. See
everruns-engine’s tool scheduler for how the act phase consumes it.
Tool performs significant CPU-bound or otherwise non-yielding work in
process (e.g. an in-process interpreter). When true, the act scheduler
runs the call on its own task (tokio::spawn) so a long CPU burst does
not starve the cooperative polling of I/O-bound tools in the same batch.
Distinct from long_running, which describes wall-clock time for
I/O-bound work (those tools yield at await points and need no offload).
Tool may irreversibly destroy or delete data. Subset of non-readonly — a tool can be non-readonly (writes) without being destructive (e.g., create/update operations).
Calling the tool repeatedly with the same arguments produces the same effect. Safe to retry on transient failures.
Tool may take significant time to complete (> ~5s typical). Useful for clients to show progress indicators and set timeouts.
Host-owned annotations that core does not interpret.
The typed hints above are the vocabulary core itself reasons about. This
is the escape hatch for everything a host wants to carry alongside a
tool — risk tiers for an approval UI, presentation hints, an embedder’s
routing keys — without adding a field to core for each one. Core reads
nothing here and no driver sends it to a provider; it travels with the
definition so a consumer sees it at the point of decision (e.g. a
PreToolUseHook gating on what the tool declared).
The schema belongs to whoever writes it. Never put credentials or other sensitive payload here: like the rest of the definition, it is persisted and surfaced to clients.
Entity noun for operation-based narration (e.g. “agent”, “harness”).
When set, the narration system reads the operation argument and
produces verb-based narration like “Created agent: Neon Cartographer”
instead of the generic “Ran Manage Agents”.
Tool interacts with external entities beyond the local system (network calls, third-party APIs, cloud services).
Tool output should be persisted to session VFS before truncation.
When set, the tool_output_persistence capability (EVE-222, EVE-245) writes
stdout to /outputs/{tool_call_id}.stdout and stderr to
/outputs/{tool_call_id}.stderr, injecting full_output, total_lines,
and output_files into the result.
Tool does not modify any state (read-only queries, lookups). When true: safe to call speculatively, result can be cached.
Tool requires API keys, credentials, or other secrets to function. Useful for UI to show connection prompts and for LLMs to anticipate authentication failures.
Replay-safety class used when recovering an unfinished tool call.
When the journal records a start but no completed result,
Pure/Idempotent tools may be re-executed; AtMostOnce tools are
settled as interrupted to avoid repeating an uncertain external effect.
None is treated conservatively as AtMostOnce.
Tool must stay a direct tool call and never runs from inside a shell
script (shell_code_mode): it pauses or shapes the turn, or its result
only makes sense to the model directly.
Tool supports detached background execution via spawn_background.
When true, the tool may be executed asynchronously outside the current
foreground tool call and report status back later.
Tool name (used by LLM and for correlation)
JSON schema for tool parameters
Example
{ "communication": "direct", "completion_check": "off", "mcpServers": { "additionalProperty": { "actsAs": "none", "auth_mode": "none", "connectInChat": "ask", "elicitation_policy": "url", "protocol_mode": "auto", "tool_labels": { "additionalProperty": "read_only" }, "type": "http", "use": "catalog:linear" } }, "network_access": { "allowed": [ "*.example.com", "https://api.acme.com/" ], "blocked": [ "169.254.169.254" ] }, "tools": [ { "deferrable": "never", "hints": { "side_effect_class": "Pure" }, "policy": "auto", "type": "builtin" } ]}400Invalid agent ID
Invalid agent ID
404Agent not found
Agent not found
500Internal server error
Internal server error