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

> ## Agent Instructions
> To act on a user's behalf in Guild, use the Guild REST API at https://api.guild.ai/v1.
> The OpenAPI spec is unauthenticated: https://docs.guild.ai/openapi.json (or openapi.yaml).
> Authenticate with an account API key, sent as HTTP Basic (key id as username, secret as password) or as `Authorization: Bearer <api_key_id>:<api_key_secret>`. See https://docs.guild.ai/api-reference/introduction#authentication.
> To run one agent on demand without account-wide access, use an API trigger instead: https://docs.guild.ai/platform/api-triggers.
> To act on Guild from an MCP client, connect to https://api.guild.ai/mcp (OAuth) or run `guild mcp` locally. Setup: https://docs.guild.ai/api-reference/mcp.
> To search these docs from an MCP client, connect to https://docs.guild.ai/mcp. The full page index is https://docs.guild.ai/llms.txt.

# Manage RunPod pods and endpoints from Guild agents

> Let Guild agents create, start, stop, and delete RunPod pods and serverless endpoints, with server-side credentials and policy controls.

Integrations · RunPod

A Guild agent can provision, control, and tear down RunPod infrastructure on your behalf. Guild injects your RunPod API key server-side so agent code never handles it directly. Credential policies let you restrict which operations each agent may call, and every request is auditable.

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use RunPod.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect RunPod to your first agent.

## What the RunPod integration exposes

The tools cover pods and serverless endpoints: create, read, update, start, stop, reset, and delete. Agents can also manage network volumes, templates, and container registry credentials. Billing tools return cost data for pods, endpoints, and network volumes separately.

## How it works

**1. Get your RunPod API key**

Generate an API key in your RunPod account settings. Guild sends it as a bearer token in the Authorization header on every request.

**2. Connect the credential in Guild**

Go to Access & setup > Credentials, click Connect, select runpod, and paste the key into API Key. See [Credentials](https://docs.guild.ai/platform/credentials.md) for workspace, member, and agent-scoped options.

**3. Import the tools in your agent**

Import RunpodTools from the integration package and spread it into your agent's tools object. Use [pick()](https://docs.guild.ai/sdk/tools.md) to include only the tools your agent needs.

## Why RunPod access needs governing

RunPod tools can create and delete pods, endpoints, and network volumes, and retrieve billing data across your account. Guild stores your API key as a server-side credential: agents never see it, and the credential proxy injects it only after policy checks pass. [Credential policies](https://docs.guild.ai/platform/credential-policies.md) let you write ALLOW and DENY rules that restrict which operations each agent may call, scoped to a specific agent, workspace, or both.

You can scope a credential to one workspace, one member, or a single agent so it never reaches other parts of your organization. Without any scoped rules the credential defaults to allow-all; delete that default once your rules cover everything agents should reach. Agents that breach a DENY rule are blocked before the request leaves Guild.

## About the RunPod integration

Agents can create, configure, start, stop, and delete RunPod pods and serverless endpoints. They can manage network volumes, templates, and container registry credentials. Billing information for pods, endpoints, and network volumes is also accessible. The integration is `guildai~runpod`.

## Authentication

* **Type:** API key
* **Header:** Guild sends the key as a bearer token in the `Authorization` header

### Setup

**1. Connect RunPod**

In Guild, go to **Access & setup > Credentials**, click **Connect**, select **runpod**, and paste the key into **API Key**.

See [Credentials](https://docs.guild.ai/platform/credentials.md) for workspace, member, and agent-scoped credentials.

## Usage

```typescript theme={null}
import { RunpodTools } from "@guildai-services/guildai~runpod"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You work with RunPod.",
  tools: { ...RunpodTools },
})
```

### Selecting specific tools

Tools are named with the `runpod_` prefix. Use [`pick()`](https://docs.guild.ai/sdk/tools#selecting-specific-tools) to include only what your agent needs.

## Tools

Tools in the latest published version of `guildai~runpod`:

> [accordion] All 35 tools
>
> | Tool | What it does |
> | - | - |
> | `runpod_create_container_registry_auth` | Create a new container registry auth. |
> | `runpod_create_endpoint` | Create a new endpoint. |
> | `runpod_create_network_volume` | Create a new network volume. |
> | `runpod_create_pod` | Creates a new Pod and optionally deploys it. |
> | `runpod_create_template` | Create a new template. |
> | `runpod_delete_container_registry_auth` | Delete a container registry auth. |
> | `runpod_delete_endpoint` | Delete an endpoint. |
> | `runpod_delete_network_volume` | Delete a network volume. |
> | `runpod_delete_pod` | Delete a Pod. |
> | `runpod_delete_template` | Delete a template. |
> | `runpod_endpoint_billing` | Retrieve billing information about your Serverless endpoints. |
> | `runpod_get_container_registry_auth` | Returns a single container registry auth. |
> | `runpod_get_endpoint` | Returns a single endpoint. |
> | `runpod_get_network_volume` | Returns a single network volume. |
> | `runpod_get_open_api` | The OpenAPI 3.0 schema. |
> | `runpod_get_pod` | Returns a single Pod. |
> | `runpod_get_template` | Returns a single template. |
> | `runpod_list_container_registry_auths` | Returns a list of container registry auths. |
> | `runpod_list_endpoints` | Returns a list of endpoints. |
> | `runpod_list_network_volumes` | Returns a list of network volumes. |
> | `runpod_list_pods` | Returns a list of Pods. |
> | `runpod_list_templates` | Returns a list of templates. |
> | `runpod_network_volume_billing` | Retrieve billing information about your network volumes. |
> | `runpod_pod_billing` | Retrieve billing information about your Pods. |
> | `runpod_reset_pod` | Reset a Pod. |
> | `runpod_start_pod` | Start or resume a Pod. |
> | `runpod_stop_pod` | Stop a Pod. |
> | `runpod_update_endpoint` | Update an endpoint. |
> | `runpod_update_endpoint_2` | Update an endpoint - synonym for PATCH /endpoints/\{endpointId}. |
> | `runpod_update_network_volume` | Update a network volume. |
> | `runpod_update_network_volume_2` | Update a network volume - synonym for PATCH /networkvolumes/\{networkVolumeId}. |
> | `runpod_update_pod` | Update a Pod, potentially triggering a reset. |
> | `runpod_update_pod_2` | Update a Pod - synonym for PATCH /pods/\{podId}. |
> | `runpod_update_template` | Update a template. |
> | `runpod_update_template_2` | Update a template - synonym for PATCH /templates/\{templateId}. |

## Frequently asked questions

> [accordion] Can an agent retrieve billing data for pods and endpoints?
>
> Yes. The tools runpod\_pod\_billing, runpod\_endpoint\_billing, and runpod\_network\_volume\_billing each return billing information for their respective resource types.

> [accordion] Does RunPod send webhook events that can trigger a Guild agent?
>
> No. The RunPod catalog entry lists no webhook events, so the integration cannot use Guild's event triggers to start a run automatically.

> [accordion] Can I limit an agent to read-only RunPod operations?
>
> Yes. Write a [credential policy](https://docs.guild.ai/platform/credential-policies.md) with DENY rules covering operations like runpod\_create\_pod, runpod\_delete\_pod, and runpod\_stop\_pod, alongside an ALLOW rule for list and get operations, then scope it to the agent you want to restrict.

> [accordion] Can different workspaces use different RunPod accounts?
>
> Yes. Connect an account-level credential for the default and then connect a workspace-scoped credential in any workspace that needs a different RunPod account. Guild resolves the workspace credential first for agents in that workspace. See [Credentials](https://docs.guild.ai/platform/credentials.md) for the full resolution order.

## Put a governed agent on RunPod this week

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use RunPod.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect RunPod to your first agent.

## Related

**Also runs on Guild:** [AWS Bedrock](https://docs.guild.ai/integrations/aws-bedrock.md) · [fal.ai](https://docs.guild.ai/integrations/fal.md) · [Fireworks AI](https://docs.guild.ai/integrations/fireworks.md) · [OpenRouter](https://docs.guild.ai/integrations/openrouter.md)

**Read:** Docs: [Credential policies](https://docs.guild.ai/platform/credential-policies.md) · [Credentials](https://docs.guild.ai/platform/credentials.md) · [Tools in agents](https://docs.guild.ai/sdk/tools.md)
