Kestra AI Plugin brings AI-native orchestration to Kestra. It enables workflows to leverage large language models (LLMs), vector databases, AI providers, and intelligent agents — declaratively.
From prompt-based completions to full Retrieval-Augmented Generation (RAG) pipelines, this plugin provides all the tools you need to build AI-driven automations within Kestra.
ChatCompletion— generic chat interface for LLMs (OpenAI, Anthropic, Gemini, etc.)Classification— classify text into predefined categoriesImageGeneration— create images from text promptsJSONStructuredExtraction— extract structured data (JSON) from unstructured text
Supports multiple AI backends:
- OpenAI, Azure OpenAI, Anthropic, MistralAI, Google VertexAI, Google Gemini
- Amazon Bedrock, Ollama, LocalAI, OpenRouter, DeepSeek, DashScope
- WorkersAI (Cloudflare)
Each provider integrates authentication, model selection, and latency tracking through TimingChatModelListener.
Store and search semantic vector embeddings using:
- PGVector
- Elasticsearch
- Milvus
- Weaviate
- Chroma
- Pinecone
- Qdrant
- Redis
- KestraKVStore
- MongoDB Atlas
These integrations make it easy to build semantic search, context retrieval, or memory-augmented workflows.
Persistent conversational or vector-based memory via:
RedisKestraKVStore
Tools for Retrieval-Augmented Generation (RAG):
IngestDocument— chunk and embed documentsSearch— perform vector similarity searchesChatCompletion— combine retrieved context with a chat model
The plugin includes a flexible Agent framework and tools that can interact with external systems:
AIAgent— orchestrates tool usage dynamicallyCodeExecution— safely run code blocksKestraTask&KestraFlow— trigger Kestra workflows and tasks from within an agentGoogleCustomWebSearch,TavilyWebSearch— retrieve web content- MCP Clients (
DockerMcpClient,SseMcpClient,StdioMcpClient,StreamableHttpMcpClient) — connect to external Model Context Protocol tools
- Build chatbots that query your data using RAG pipelines.
- Use LLMs to classify, summarize, or extract information from text.
- Automate image generation tasks.
- Integrate AI directly in ETL or data processing pipelines.
- Orchestrate complex multi-agent reasoning workflows using
AIAgentandKestraFlow.