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

# Claude Cowork

> Connect Braintrust to Claude Cowork with the braintrust and trace-claude-code plugins to query your data and trace sessions.

[Claude Cowork](https://support.claude.com/en/articles/13345190-get-started-with-claude-cowork) extends Claude's agentic capabilities to general knowledge work, using the same architecture as Claude Code without a terminal. It runs in the Claude desktop app, on the web, and on mobile.

Braintrust provides the same two plugins for Cowork that it provides for [Claude Code](/integrations/developer-tools/claude-code):

* **`braintrust`**: Brings context (docs, logs, experiments) from Braintrust into Cowork. For example, query logs, access Braintrust docs, or fetch experiment results.

* **`trace-claude-code`**: Traces Cowork's operations to show LLM calls, tool usage, and timing data. This can be useful for personal exploration or to monitor your team's activity.

<Note>
  Cowork installs plugins from the same marketplace as Claude Code (`braintrustdata/braintrust-claude-plugin`). This page covers installing them in Cowork. For full plugin usage, configuration, and troubleshooting, see the [Claude Code guide](/integrations/developer-tools/claude-code).
</Note>

## Setup

<Steps>
  <Step title="Open Cowork">
    In the Claude desktop app or on [claude.ai](https://claude.ai), select **Cowork** in the message box.
  </Step>

  <Step title="Add the Braintrust plugin marketplace">
    In the sidebar, click **Customize**, go to **Plugins**, then click **Add** > **Add marketplace** and enter:

    ```
    braintrustdata/braintrust-claude-plugin
    ```
  </Step>

  <Step title="Install the plugins">
    In **Customize** > **Plugins**, install **braintrust**, **trace-claude-code**, or both from the marketplace.
  </Step>

  <Step title="Set your API key">
    Both plugins authenticate using `BRAINTRUST_API_KEY`. Set it as described in the [Claude Code prerequisites](/integrations/developer-tools/claude-code#prerequisites). Cowork shares its configuration with the Claude desktop app.
  </Step>
</Steps>

## Usage

Once installed, the plugins work the same way in Cowork as in Claude Code:

* Use the **`braintrust`** plugin to query experiments, logs, and datasets directly in Cowork conversations. See [Plugin: `braintrust`](/integrations/developer-tools/claude-code#plugin-braintrust).
* The **`trace-claude-code`** plugin automatically traces each Cowork session to Braintrust as a hierarchy of spans. See [Plugin: `trace-claude-code`](/integrations/developer-tools/claude-code#plugin-trace-claude-code).

To view your traces, go to your project in the [Braintrust UI](https://braintrust.dev) and select [**<Icon icon="activity" /> Logs**](https://www.braintrust.dev/app/~/logs).

## Next steps

* **Configure the plugins**: See the [Claude Code guide](/integrations/developer-tools/claude-code) for full plugin usage, configuration, and troubleshooting.
* **Run evaluations**: Check out the [evaluation guide](/evaluate/run-evaluations) to learn evaluation patterns.
* **Explore MCP tools**: See the [MCP documentation](/integrations/developer-tools/mcp#available-tools) for all available commands.
