airy 0.1.0

Airy is an AI tool for interacting with databases.
Documentation
airy-0.1.0 has been yanked.

Development

Set up the dev environment.

$ just mysql-download-data # downloads test data

$ just docker-up # starts Docker containers
$ just migrate up # runs migrations to the latest version

$ just mysql-load-data # loads data into the database

Run chat.

$ OPENROUTER_API_KEY=[..] cargo run -- --mysql-url "mysql://employee:abc123456@127.0.0.1:3306/employee" chat

You can also provide OPENROUTER_API_KEY, MYSQL_URL and other arguments as environment variables.

Run MCP server with server-sent events.

$ cargo run -- --mysql-url "mysql://employee:abc123456@127.0.0.1:3306/employee" mcp --sse

You can test the MCP server with @modelcontextprotocol/inspector by connecting to http://localhost:8080/sse.