Skip to main content

What You’ll Build

A question-answering agent that:
  • Leverages Agentuity for easy deployment and monitoring
  • Retrieves live data from a SQL database through Snow Leopard
  • Requires no MCP setup, no ETL or data pipelines, and no RAG setup for data retrieval

Prerequisites

Don’t have data? Use our sample Northwind dataset to get started, or choose from our other sample datasets.

1. Create an Agentuity project

Follow along with the interactive project create which will create a directory for your agentuity agent. This quickstart doesn’t need auth, db access, or any other options, so feel free to reject any Agentuity features you do not plan on using.

2. Install dependencies

Once you have an Agentuity project and are in its working directory, we will need to add a few new dependencies to add live data retrieval to your agent.

3. Configure environment variables

Add your API keys and datafile ID to your .env file:
.env

4. Create the Snow Leopard tool

Create a Vercel AI tool that calls Snow Leopard to retrieve data:
src/agent/getData.ts

5. Create the agent

Build an Agentuity agent that uses the Snow Leopard tool:
src/agent/agent.ts

6. Expose the agent via HTTP

Add an API route to handle chat requests:
src/api/index.ts

7. Try it out!

Start your development server:
Query your data:

Next steps