genai-toolbox  by googleapis

MCP server for databases, enabling easier, faster, more secure tool development

Created 1 year ago
12,368 stars

Top 4.0% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a "Toolbox" for developing Generative AI applications that interact with databases. It simplifies the process of creating, managing, and deploying database tools for AI agents, offering enhanced performance, security, and observability. The target audience includes developers building AI-powered applications that require data access.

How It Works

The Toolbox acts as a control plane between an AI orchestration framework and a database. It centralizes tool definitions, manages connections with pooling and authentication, and provides observability via OpenTelemetry. This architecture allows for easier tool updates and sharing across agents without application redeployments.

Quick Start & Requirements

  • Install: Download binary from releases, use Docker, or go install github.com/googleapis/genai-toolbox@v0.4.0.
  • Prerequisites: Go (for source compilation).
  • Run: ./toolbox --tools_file "tools.yaml"
  • SDKs: pip install toolbox-core, toolbox-langchain, toolbox-llamaindex.
  • Docs: Full documentation (link not directly provided in README, inferred from context).

Highlighted Details

  • Simplified tool integration for agents (under 10 lines of code).
  • Built-in support for connection pooling, authentication, and OpenTelemetry.
  • Centralized tool management and distribution.
  • Supports multiple database sources and tool definitions via tools.yaml.

Maintenance & Community

  • Project is currently in beta, with potential for breaking changes until v1.0.
  • Contributions are welcome via CONTRIBUTING guidelines.
  • Follows a Contributor Code of Conduct.

Licensing & Compatibility

  • License details are not explicitly stated in the README.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project is in beta, meaning breaking changes are expected. The specific license and its implications for commercial use are not detailed in the provided README.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
172
Issues (30d)
43
Star History
640 stars in the last 30 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Tobi Lutke Tobi Lutke(Cofounder of Shopify), and
33 more.

opencode by anomalyco

26.5%
60k
CLI tool for AI-assisted coding in the terminal
Created 8 months ago
Updated 10 hours ago
Feedback? Help us improve.