AI-powered database assistant that helps users interact with PostgreSQL databases using natural language.
# Setup
cp app.env.example app.env
# Edit app.env with your GOOGLE_API_KEY and SERVER_PORT
# Run
make runcurl -X POST http://localhost:8080/v1/agent/chat \
-H "Content-Type: application/json" \
-d '{
"message": "Show me all users with their orders",
"connection_string": "postgres://user:pass@localhost:5432/mydb"
}'| Doc | Description |
|---|---|
| Architecture | System design, DDD layers, request flow |
| Agent | LLM agent, tools, prompt engineering |
| API | REST endpoints and examples |
| Security | Connection string protection |
| Development | Setup, building, contributing |
- Go 1.21+ with Google ADK
- Gemini 2.0 Flash LLM
- PostgreSQL support
- Domain-Driven Design architecture
| Command | Description |
|---|---|
make run |
Run the server |
make build |
Build binary |
make test |
Run tests |
make tidy |
Install dependencies |