---
hide_table_of_contents: true
---

# SQL Agent Toolkit

This example shows how to load and use an agent with a SQL toolkit.

## Setup

You'll need to first install `typeorm`:

```bash npm2yarn
npm install typeorm
```

## Usage

import CodeBlock from "@theme/CodeBlock";
import Example from "@examples/agents/sql.ts";

<CodeBlock language="typescript">{Example}</CodeBlock>
