Skip to content
/ alodb Public

AI-powered database assistant that helps users interact with PostgreSQL databases using natural language.

Notifications You must be signed in to change notification settings

mololab/alodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AloDB

AI-powered database assistant that helps users interact with PostgreSQL databases using natural language.

Quick Start

# Setup
cp app.env.example app.env
# Edit app.env with your GOOGLE_API_KEY and SERVER_PORT

# Run
make run

Usage

curl -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"
  }'

Documentation

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

Tech Stack

  • Go 1.21+ with Google ADK
  • Gemini 2.0 Flash LLM
  • PostgreSQL support
  • Domain-Driven Design architecture

Commands

Command Description
make run Run the server
make build Build binary
make test Run tests
make tidy Install dependencies

About

AI-powered database assistant that helps users interact with PostgreSQL databases using natural language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published