> ## 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.

# Turbopuffer

> Give agents access to Turbopuffer's serverless vector and full-text search.

The `@guildai-services/killian~turbopuffer` package gives your agents access to Turbopuffer's serverless vector database built on object storage.

## Authentication

* **Type:** API key
* **Token management:** API keys do not expire

### Setup

<Steps>
  <Step title="Open Credentials">Go to **Credentials** in Guild.</Step>
  <Step title="Connect Turbopuffer">Click **Turbopuffer** and enter your API key from the [Turbopuffer console](https://turbopuffer.com).</Step>
</Steps>

## Usage

```typescript theme={null}
import { turbopufferTools } from "@guildai-services/killian~turbopuffer"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that queries a Turbopuffer vector database",
  tools: { ...turbopufferTools },
})
```

Use `pick()` to limit the agent to specific operations:

```typescript theme={null}
import { turbopufferTools } from "@guildai-services/killian~turbopuffer"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that searches a Turbopuffer namespace",
  tools: {
    ...pick(turbopufferTools, [
      "turbopuffer_query",
      "turbopuffer_upsert",
    ]),
  },
})
```
