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

# devbox claude managed-agents

> Configure and inspect the Claude Managed Agents integration for Devboxes.

Use `devbox claude managed-agents` to configure, inspect, or delete the Claude Managed Agents integration for your Namespace workspace.

<h2 id="managed-agents-usage">
  Usage
</h2>

```bash theme={null}
devbox claude managed-agents [command]
```

## `devbox claude managed-agents setup-environment`

Configure Namespace to run Claude Managed Agents on Devboxes. The interactive flow asks for a Claude API key, creates or reuses a self-hosted Claude environment named `Namespace Devboxes`, and asks for its service key. It then provides a generated Namespace webhook endpoint and asks for the webhook signing secret before storing the integration.

<h3 id="setup-environment-usage">
  Usage
</h3>

```bash theme={null}
devbox claude managed-agents setup-environment [flags]
```

### Configure the integration

```bash theme={null}
devbox claude managed-agents setup-environment --workspace my-claude-workspace
```

<h3 id="setup-environment-options">
  Options
</h3>

<ResponseField name="--workspace" type="string" default="default">
  Set the Claude workspace slug used to construct links to the environment and webhook settings in the Claude console.
</ResponseField>

***

## `devbox claude managed-agents environment`

Show the stored integration ID, its creation time when available, and the Namespace webhook endpoint URL. The command fails when no Claude integration exists.

<h3 id="environment-usage">
  Usage
</h3>

```bash theme={null}
devbox claude managed-agents environment
```

### Inspect the integration

```bash theme={null}
devbox claude managed-agents environment
```

***

## `devbox claude managed-agents delete-environment`

Delete the stored Claude Managed Agents integration. By default, the command displays the integration ID and requires `y` or `yes` as confirmation.

<h3 id="delete-environment-usage">
  Usage
</h3>

```bash theme={null}
devbox claude managed-agents delete-environment [flags]
```

### Delete without a confirmation prompt

```bash theme={null}
devbox claude managed-agents delete-environment --force
```

<h3 id="delete-environment-options">
  Options
</h3>

<ResponseField name="--force" type="boolean" default="false">
  Skip the confirmation prompt and delete the integration.
</ResponseField>

## Related topics

<Columns cols={2}>
  <Card title="Claude Managed Agents" icon="bot" href="/docs/integrations/claude">
    Follow the integration setup guide and configure Claude webhooks.
  </Card>

  <Card title="Coding agents on Devboxes" icon="terminal" href="/docs/devbox/agents">
    Learn how agent sessions use ephemeral Devboxes.
  </Card>
</Columns>
