Fast and slow models

HarnessRouter

HarnessRouter provides APIs for configuring and operating AI harnesses, sessions, workspaces, environments, and related resources.

What agents can do

Actions61

  • Activate environment version

    Switch an environment to an earlier successful built version without rebuilding.

  • Build environment

    Start the next environment version build and return immediately.

  • Check environment package

    Check one pip, npm, or apt package specification against its registry before declaring it on an environment.

  • Check environment packages

    Sequentially check 1-50 pip, npm, or apt package specifications against their registries before declaring them on an environment.

  • Create arena

    Create a free arena grouping with up to 10 harness/model columns.

  • Create environment

    Create an environment project and optionally declare its description, entry instructions, packages, and Python runtime.

  • Create harness

    Create a configuration-only harness without running a task or invoking a model.

  • Create session directory

    Create a directory and missing parents in an idle session workspace.

52 more
  • Create snippet folder

    Create a folder used to organize reusable instruction snippets.

  • Discover uhp

    Discover the Unified Harness Protocol versions and capabilities supported by HarnessRouter without starting a task or invoking a model.

  • Download container file

    Download one session artifact by container and file ID in its original format or as HarnessRouter's PDF preview.

  • Download session files archive

    Download a session's files as one ZIP archive.

  • Export harness plugin

    Export a harness's provider-defined plugin configuration without credentials.

  • Get agent type latency

    Read how soon each HarnessRouter agent type starts answering, grouped by how its session started, optionally filtered by model and time window.

  • Get arena

    Read one arena grouping by ID without running any of its columns.

  • Get balance

    Return the connected organization's plan, available USD balance, currency, deficit status, and measurement time without running a task.

  • Get current account

    Return the organization, workspace, and member the connected API key acts as.

  • Get environment build

    Read one environment build's status, current step, and log.

  • Get harness

    Return one harness's configuration by ID without running it.

  • Get harness plugin files

    Read the complete stored file bundle for one plugin installed on a harness.

  • Get harness skill files

    Read the complete stored file bundle for one skill attached to a harness.

  • Get response

    Get a response, including its current status and output, without polling.

  • Get session

    Get one session without starting or continuing its task.

  • Get session share

    Get whether a session is shared and the provider's share-link details.

  • Get snippet

    Read one reusable instruction snippet by its exact workspace path.

  • Get storage usage

    Return total storage bytes used by the connected organization.

  • Get trace

    Get a session trace summary.

  • Import environment

    Import one zip/tar archive of up to 512 MiB or one git repository into an environment source tree without clearing existing source first.

  • List api keys

    List API-key metadata for an organization without returning secret key values.

  • List arenas

    List free arena groupings without running any column, model, or task.

  • List bases

    Find base harnesses by ID, backend, or readiness status.

  • List connectors

    List the connectors available in the connected workspace and whether each connector is connected.

  • List harnesses

    Find harness configurations by documented ID, name, or base without starting any tasks.

  • List harness models

    List the models available to one configured harness, including its default and fallback model, with bounded results.

  • List kits

    List available HarnessRouter starter kits and whether each has already been launched, without launching one.

  • List models

    Browse available HarnessRouter models by backend with bounded results.

  • List provider connections

    List configured direct REST model-provider connections, safe model-routing maps, and provider catalog counts.

  • List response input items

    List a bounded page of what a response was given without starting or continuing a task.

  • List session files

    List file metadata from a session workspace, optionally restricted to the most recent turn.

  • List sessions

    List sessions newest first without starting or continuing a task.

  • List session turns

    Get a session's conversation oldest first without continuing the task.

  • List snippets

    Find reusable instruction snippet and folder metadata by documented path and kind.

  • List trace events

    List one chunk or the complete payload of a session's trace events.

  • List traces

    List task trace summaries newest first.

  • Move session file

    Move or rename one file or directory in an idle session workspace.

  • Move snippet

    Move or rename one reusable instruction snippet or snippet folder inside the workspace.

  • Read session file

    Read one file by its relative path from a session workspace.

  • Rename api key

    Rename an existing HarnessRouter API key without changing its secret or workspace scope.

  • Rename session

    Update a session title without starting or continuing its task.

  • Render instructions

    Preview instruction template text with test values without saving a snippet or running a harness.

  • Set harness connectors

    Replace a harness's complete connector list with the supplied connector names or IDs.

  • Set harness paused

    Set whether a harness is paused.

  • Set session share

    Publish or disable a session's public read-only share link with an explicit enabled choice.

  • Test mcp server connection

    Test whether HarnessRouter can connect to a public MCP server URL without supplying server authentication, custom headers, or server credentials.

  • Update arena

    Replace an arena grouping by ID.

  • Update environment

    Update an environment's name, description, entry instructions, package declarations, or Python runtime.

  • Upload file

    Upload one user-authorized source file for use in a later task.

  • Upsert harness

    Create a harness at the supplied ID, or fully replace that harness's mutable configuration if it already exists.

  • Upsert snippet

    Create a reusable instruction snippet at a new path or completely replace the text at an existing path.

  • Write environment file

    Create or replace one environment source file with raw bytes, up to 64 MiB.

And 1 more in Definable.

How it connects

You paste an API key from HarnessRouter on a page Composio hosts, so the key never passes through Definable.

Keep the connection to yourself or share it with your workspace. Any action that writes or sends can wait for your approval.