Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions docs/api/agent.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
Agent
=====

The ``Agent`` class represents an agent resource in the Runloop platform.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_agent
:members:
.. automodule:: runloop_api_client.sdk.async_agent
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.agent
:members:
.. automodule:: runloop_api_client.sdk.agent
:members:
21 changes: 7 additions & 14 deletions docs/api/axon.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
Axon
====

.. note::
.. tabs::

Axon APIs are in beta and may change.
.. tab:: Async

The ``Axon`` class provides event communication channels with support for
publish/subscribe messaging, server-sent events (SSE) streaming, and SQL operations.
.. automodule:: runloop_api_client.sdk.async_axon
:members:

Asynchronous API
----------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.async_axon
:members:

Synchronous API
---------------

.. automodule:: runloop_api_client.sdk.axon
:members:
.. automodule:: runloop_api_client.sdk.axon
:members:
18 changes: 7 additions & 11 deletions docs/api/benchmark.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
Benchmark
=========

The ``Benchmark`` class manages benchmarks that group multiple scenarios for
systematic evaluation. Use benchmarks to run and compare agent performance
across a suite of scenarios.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_benchmark
:members:
.. automodule:: runloop_api_client.sdk.async_benchmark
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.benchmark
:members:
.. automodule:: runloop_api_client.sdk.benchmark
:members:
17 changes: 7 additions & 10 deletions docs/api/benchmark_run.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Benchmark Run
=============

The ``BenchmarkRun`` class represents a running instance of a benchmark.
Use it to track progress, list scenario runs, and manage the benchmark lifecycle.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_benchmark_run
:members:
.. automodule:: runloop_api_client.sdk.async_benchmark_run
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.benchmark_run
:members:
.. automodule:: runloop_api_client.sdk.benchmark_run
:members:
17 changes: 7 additions & 10 deletions docs/api/blueprint.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Blueprint
=========

The ``Blueprint`` class represents a reusable devbox configuration built from a Dockerfile
and optional setup commands. Use blueprints to create pre-configured devbox environments.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_blueprint
:members:
.. automodule:: runloop_api_client.sdk.async_blueprint
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.blueprint
:members:
.. automodule:: runloop_api_client.sdk.blueprint
:members:
18 changes: 7 additions & 11 deletions docs/api/core.rst
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
Core Module
===========

The core module provides the main SDK entry points and operation manager classes.
Use :class:`~runloop_api_client.sdk.async_.AsyncRunloopSDK` for async/await code or
:class:`~runloop_api_client.sdk.sync.RunloopSDK` for synchronous code.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. autoclass:: runloop_api_client.sdk.async_.AsyncRunloopSDK
.. autoclass:: runloop_api_client.sdk.async_.AsyncRunloopSDK

.. automodule:: runloop_api_client.sdk.async_
.. automodule:: runloop_api_client.sdk.async_

Synchronous API
---------------
.. tab:: Sync

.. autoclass:: runloop_api_client.sdk.sync.RunloopSDK
.. autoclass:: runloop_api_client.sdk.sync.RunloopSDK

.. automodule:: runloop_api_client.sdk.sync
.. automodule:: runloop_api_client.sdk.sync

Base REST Client
----------------
Expand Down
18 changes: 7 additions & 11 deletions docs/api/devbox.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
Devbox
======

The ``Devbox`` class provides methods for managing and interacting with a devbox instance,
including command execution, file operations, networking, and lifecycle management.
Devboxes support context manager usage for automatic cleanup.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_devbox
:members:
.. automodule:: runloop_api_client.sdk.async_devbox
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.devbox
:members:
.. automodule:: runloop_api_client.sdk.devbox
:members:
17 changes: 7 additions & 10 deletions docs/api/execution.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Execution
=========

The ``Execution`` class represents an in-progress asynchronous command execution on a devbox.
Use it to track, wait for, or cancel long-running commands started with ``exec_async()``.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_execution
:members:
.. automodule:: runloop_api_client.sdk.async_execution
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.execution
:members:
.. automodule:: runloop_api_client.sdk.execution
:members:
17 changes: 7 additions & 10 deletions docs/api/execution_result.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Execution Result
================

The ``ExecutionResult`` class wraps the output of a completed command execution,
providing access to stdout, stderr, exit codes, and output parsing utilities.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_execution_result
:members:
.. automodule:: runloop_api_client.sdk.async_execution_result
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.execution_result
:members:
.. automodule:: runloop_api_client.sdk.execution_result
:members:
17 changes: 7 additions & 10 deletions docs/api/gateway_config.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Gateway Config
==============

The ``GatewayConfig`` class manages API gateway configurations that proxy
requests through devboxes with credential management and authentication.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_gateway_config
:members:
.. automodule:: runloop_api_client.sdk.async_gateway_config
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.gateway_config
:members:
.. automodule:: runloop_api_client.sdk.gateway_config
:members:
17 changes: 7 additions & 10 deletions docs/api/mcp_config.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
MCP Config
==========

The ``McpConfig`` class manages Model Context Protocol (MCP) server configurations
that can be attached to devboxes, defining which MCP servers and tools are available.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_mcp_config
:members:
.. automodule:: runloop_api_client.sdk.async_mcp_config
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.mcp_config
:members:
.. automodule:: runloop_api_client.sdk.mcp_config
:members:
17 changes: 7 additions & 10 deletions docs/api/network_policy.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Network Policy
==============

The ``NetworkPolicy`` class manages network access policies for devboxes,
controlling which hostnames and services a devbox can communicate with.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_network_policy
:members:
.. automodule:: runloop_api_client.sdk.async_network_policy
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.network_policy
:members:
.. automodule:: runloop_api_client.sdk.network_policy
:members:
17 changes: 7 additions & 10 deletions docs/api/scenario.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Scenario
========

The ``Scenario`` class represents a scenario for evaluating agent performance.
Scenarios define environments, problem statements, and scoring criteria.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_scenario
:members:
.. automodule:: runloop_api_client.sdk.async_scenario
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.scenario
:members:
.. automodule:: runloop_api_client.sdk.scenario
:members:
18 changes: 7 additions & 11 deletions docs/api/scenario_builder.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
Scenario Builder
================

The ``ScenarioBuilder`` class provides a fluent API for constructing scenarios.
Chain methods to configure the environment, problem statement, and scoring criteria
before building or pushing the scenario.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_scenario_builder
:members:
.. automodule:: runloop_api_client.sdk.async_scenario_builder
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.scenario_builder
:members:
.. automodule:: runloop_api_client.sdk.scenario_builder
:members:
17 changes: 7 additions & 10 deletions docs/api/scenario_run.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Scenario Run
============

The ``ScenarioRun`` class represents a running instance of a scenario.
Use it to manage the run lifecycle, retrieve scores, and download logs.
.. tabs::

Asynchronous API
----------------
.. tab:: Async

.. automodule:: runloop_api_client.sdk.async_scenario_run
:members:
.. automodule:: runloop_api_client.sdk.async_scenario_run
:members:

Synchronous API
---------------
.. tab:: Sync

.. automodule:: runloop_api_client.sdk.scenario_run
:members:
.. automodule:: runloop_api_client.sdk.scenario_run
:members:
Loading