Build generative AI agents and apps with AlloyDB for PostgreSQL.
Scalable vector database with a familiar PostgreSQL interface
High-performance semantic search and natural language capabilities
Built into AlloyDB for superior performance, availability, and simplified management
Available in AlloyDB on Google Cloud and in AlloyDB Omni, so you can run it anywhere
Benefits
High-quality agentic workflows
Accelerate intelligent agent and application development with an AI-ready, PostgreSQL-compatible enterprise database that understands the semantics of structured and unstructured data.
High-performance vector operations
Generate vector embeddings directly within your database and run queries across SQL and vector data, up to 10x faster as compared to standard PostgreSQL.
Integration with the AI ecosystem
Run models in Vertex AI or any other platform and access them in your app by SQL queries. Use Google or third-party models, the MCP protocol, and popular orchestration frameworks.
Key features
Automated embeddings generation helps you easily transform operational data, including text, images, and video, into vector embeddings using text embedding or multimodal embedding models. Store embeddings in AlloyDB together with your relational data and query across all data types with a SQL interface.
The ScaNN index uses the same search algorithm as Google Search and is based on 12 years of Google research. It performs advanced semantic search with up to 10x faster index creation, up to 4x faster vector search queries, and up to 10x faster filtered vector search queries than the standard PostgreSQL HNSW index. AlloyDB AI offers additional enhancements such as parallel index build, index auto-maintenance, and enterprise-grade observability for vector indexes.
AlloyDB AI’s ScaNN index is deeply integrated with the PostgreSQL query planner to enable simple yet powerful queries across structured and unstructured data, so you don’t need to deploy or learn a separate vector database. Adaptive filtering ensures that filters, joins, and vector indexes deliver optimal performance when used together.
With AlloyDB AI query engine, you can use natural language in SQL queries to express filtering conditions and ranking criteria. The power of AI models brings reasoning and real-world knowledge to SQL queries, unlocking deep semantic insights from your enterprise data. Sign up for a preview of AlloyDB AI query engine.
Use AlloyDB AI to provide users and agents with accurate responses to natural language questions. With AlloyDB AI natural language you can overcome the ambiguity, flexibility, and security issues typically encountered in natural language interfaces. AlloyDB AI can disambiguate user questions, incorporate data from the schema, sample data, and other sources to increase accuracy, and lock down access to unauthorized data.
All features
Access models on any platform | Access Google’s Gemini models or other foundation models hosted on Vertex AI, or use model endpoint management to register model endpoints on any platform and call them from AlloyDB. Use retrieval augmented generation (RAG) to ground application responses in real-time context from the database. |
Integrate with orchestration frameworks | Modularize and simplify your code with LangChain and LlamaIndex, popular orchestration frameworks that make it easy to connect models, tools, and databases. Both frameworks allow you to plug your components for key gen AI actions such as loading a document, accessing a vector store, and reading chat history. |
Use generative AI tools | To make high quality decisions, your agent needs a way to reason, take action, and call a gen AI model repeatedly until a decision is made. AlloyDB AI is fully compatible with MCP Toolbox for Databases, an open source server for deploying gen AI tools. MCP Toolbox connects orchestration frameworks and databases to provide better manageability, observability, and security for AI agents, based on the Model Context Protocol (MCP). |
Enterprise-level scalability, availability, and security | As part of AlloyDB, AlloyDB AI benefits from the best of Google and the best of PostgreSQL. Give your gen AI agent or application superior performance and scale, a high availability SLA of 99.99% that's inclusive of maintenance, automatic detection of and recovery from most database failures, and comprehensive security and compliance. |
Pricing
AlloyDB AI is an integral part of AlloyDB and AlloyDB Omni, and is available at no additional charge.
If you choose to run additional services, such as Vertex AI, you will be charged for those services separately.
Start building on Google Cloud with $300 in free credits and 20+ always free products.