> ## 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](/docs/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](/docs/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="Authenticate the plugins">
    Each plugin authenticates differently:

    * **`braintrust`**: Set `BRAINTRUST_API_KEY` as described in [Set up the MCP server](/docs/integrations/developer-tools/claude-code#set-up-the-mcp-server).
    * **`trace-claude-code`**: Tracing runs through the `bt` CLI, so install `bt` and run `bt login` as described in [Set up tracing](/docs/integrations/developer-tools/claude-code#set-up-tracing).

    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 [Connect to the Braintrust MCP server](/docs/integrations/developer-tools/claude-code#connect-to-the-braintrust-mcp-server).
* The **`trace-claude-code`** plugin automatically traces each Cowork session to Braintrust as a hierarchy of spans. See [Trace Claude Code sessions](/docs/integrations/developer-tools/claude-code#trace-claude-code-sessions).

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](/docs/integrations/developer-tools/claude-code) for full plugin usage, configuration, and troubleshooting.
* **Run evaluations**: Check out the [evaluation guide](/docs/evaluate/run-evaluations) to learn evaluation patterns.
* **Explore MCP tools**: See the [MCP documentation](/docs/integrations/developer-tools/mcp#tools) for all available commands.
