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

# Braintrust integration

> Utilize Browserbase with Braintrust for browser agent capabilities.

Braintrust is a platform for building AI applications, making it more efficient for Large Language Models (LLMs) to become more robust, reliable, and interactive.

Some features include prototyping with different prompts and LLMs in a sandboxed environment, real-time monitoring and performance insights, and data management through an intuitive UI.

Most Large Language Models support tool calling, which allows you to define tools with well-defined input and output types. They're commonly used for two purposes:

1. To enable models to "call" tools that perform external tasks, and then use those results to produce a final response
2. To coerce a model into producing structured outputs that match a given JSON schema

Braintrust supports both use cases, including [using prompts in your code](https://www.braintrust.dev/docs/guides/prompts#using-prompts-in-your-code) which can be executed directly using TypeScript or Python. [Custom functions](https://www.braintrust.dev/docs/reference/functions), a broader concept in Braintrust, enhance the capabilities of LLMs by allowing you to:

* Add web-browsing capabilities (using tools like Browserbase)
* Perform complex computations
* Access external APIs

## Add Browserbase to Braintrust

<CardGroup cols={1}>
  <Card title="Add Browserbase to Braintrust tool calling" icon="book" iconType="sharp-solid" href="/integrations/braintrust/typescript">
    Configure Browserbase to add additional web-browsing capabilities to
    Braintrust tool calling.
  </Card>
</CardGroup>
