AI Agent for Directus
Transform your Directus CMS with intelligent automation, smart data interpretation, and natural language processing.
Features
-
Natural Language Commands
Interact with your Directus CMS using plain English prompts. -
Data Insights & Querying
Use AI to read, analyze, and summarize collections, relations, and metadata. -
Semantic Understanding
AI understands schema, relationships, and context β allowing you to insert, update, and link data intelligently. -
Smart Automation
Automate workflows based on AI decision trees. -
Prompt-to-Action
Instantly convert prompts into structured actions and queries within Directus.
TESTED WITH OPENAI GPT-4o MODEL
AI can make mistakes use it with your own risk.
Extension Type
This is a Bundle Extension that includes:
Module
β Frontend UI (Chat interface, Settings, and Help)Endpoint
β Backend AI agent server (OpenAI / OpenRouter-based)
Installation
1. Install via npm
npm install directus-extension-ai-agent
Or clone manually:
https://github.com/Uncw3b-Software/directus-extension-ai-agent
Configuration
No need for .env
editing.
The extension creates a settings collection after install.
- Enter your OpenAI / OpenRouter API key
- Choose provider (
openai
,openrouter
, etc.) - Adjust model, temperature, and stream settings
Settings panel is embedded in the UI.
How to Use
Open the AI Agent module in Directus. Use prompts like:
Show me the total sales from last month
Add a new user named John with role editor
Summarize all feedback from last 7 days
Create 3 product entries with dummy values
What is the average age of users in Germany?
AI will process the prompt and return or execute it with context awareness.
Security & Sandbox
100% compatible with Directus Cloud sandbox
No direct file system access
All remote calls routed via sandbox-safe
fetch
Uses
openai
andopenrouter
public endpoints only
Screenshots
About the Developer
This extension is built by Uncw3b Software, a boutique AI & Web3 development agency.
Website: https://uncw3b.com
Telegram: https://t.me/cryptoraichu
Looking for custom AI integrations or Directus development? Reach out to us.
License
MIT License Β© Uncw3b Software