AI toolkit
Build AI agents and useful tools that have access to all of your Nhost data and services.

query {
graphiteSearchMovies(
args: {
query: "comedy in space",
amount: 5
}
) {
name
overview
genre
score
}
}
AI-powered backend
Enhance your backend with AI tools
Create and deploy AI-powered applications with a few lines of configuration
[ai]
version = '0.1.0'
webhookSecret = '{{ secrets.GRAPHITE_WEBHOOK_SECRET }}'
[ai.autoEmbeddings]
synchPeriodMinutes = 5
[ai.openai]
apiKey = '{{ secrets.OPEANAI_API_KEY }}'
organization = 'my-org'
[ai.resources.compute]
cpu = 125
memory = 256
AI for everyone
Use cases for every application
The AI toolkit extends the Nhost stack providing AI super-powers to your application.
AI agents
Create customized AI agents so your users can interact with your data using natural language and get intelligent responses.
Automatic embeddings
Generate embeddings for your data automatically as it is inserted or modified, enabling powerful semantic search capabilities.
Developer assistant
Boost your development speed with a custom AI assistant that has access to your project's database and GraphQL schema.
Talk with your files
Upload files to Nhost Storage and let your AI agents interact with them.
Smart integration
Key advantages of our AI toolkit
Key advantages by running alongside your Nhost stack
Integrated permissions
AI features are fully integrated with your project's permissions scheme, ensuring secure access control across your application.
Automatic embeddings
Vector embeddings are generated and kept up to date automatically, with no manual intervention required as your data changes.
Seamless workflows
Implement AI-powered workflows with no hassle, leveraging GraphQL to access all AI features directly from your frontend applications.
Enhanced development
Accelerate your development process with AI-powered developer assistants that understand your specific project structure and requirements.
File stores
Agents that talk to your data
Files automatically uploaded to Nhost Storage are embedded and available to your agents
Complete AI solution
Advanced features
Semantic search
Find information based on meaning, not just keywords, with powerful vector-based search capabilities
Document processing
Add documents to your AI knowledge base for assistants to reference when answering questions
Function calling
Allow AI assistants to execute functions in your backend code to retrieve data or perform actions
GraphQL integration
Access all AI features through your familiar GraphQL API, keeping your tech stack unified
Security controls
Full control over which data can be accessed by AI features with granular permission settings
Your backend platform
Explore the Nhost ecosystem
AI tools is just one part of your backend stack. Discover how all our services work together to power your applications.
Postgres database
Enterprise-grade SQL database, instantly ready.
GraphQL API
Instant, real-time API for your data.
Authentication
Secure user sign-up, sign-in, & management.
Storage
File uploads, downloads, & CDN.
Serverless Functions
Scalable JS/TS backend logic. No servers.
Bring your own containers
Deploy your services written in any language.
AI toolkit
Auto-Embeddings, Assistants, File Stores, and more.

Start building your next big thing
Get a complete backend up and running in minutes. Focus on building features your users will love, not wrestling with infrastructure. No credit card required for the free tier.
Join thousands of developers shipping faster with Nhost