Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agentstack.sh/llms.txt

Use this file to discover all available pages before exploring further.

Description

Enable your agent to perform queries directly on a database
There is no built-in sandboxing using this tool. Agents may perform destructive queries that may be irreversible.

Installation

agentstack tools add sql
Set the API keys
POSTGRES_DB=...
POSTGRES_USER=...
POSTGRES_PASSWORD=...
POSTGRES_HOST=...
POSTGRES_PORT=...