{"slug": "do-you-want-ai-run-on-your-commands-in-your-app", "title": "Do you want AI run on your commands in your app ?", "summary": "A developer built a fluent AI SDK and interactive CLI tool called ai-persona that lets users bring customizable AI into Node.js applications in seconds. The tool supports Google, OpenAI, and Anthropic, and features use-case based feature locking with modes for CLI chat, SDK integration, and RAG-based document indexing.", "body_md": "Stop spending hours writing boilerplate code to integrate AI or setting up complex local data pipelines. I built a fluent AI SDK and interactive CLI tool for your terminal that lets you bring customizable AI into your node applications in seconds. It fully supports Google, OpenAI, and Anthropic.\n\n🛠️ What makes it different?\n\nIt features Use-Case Based Feature Locking. When you run the interactive setup wizard (npx ai-persona init), you choose exactly what you need, and it unlocks only those features to keep things streamlined:\n\n💻 cli mode: Quick, interactive AI terminal chats using npx ai-persona chat.\n\n⚙️ sdk mode: Drop it right into your JS/TS code, chain methods seamlessly, and assign custom AI personalities (e.g., .personality('Senior developer')).\n\n📂 rag mode: Turn local .txt and .md files into a searchable knowledge base. Run npx ai-persona rag init ./docs to index files instantly and get grounded responses.\n\n🔄 both mode: Unlock everything to build advanced, document-aware chatbots inside your own applications.", "url": "https://wpnews.pro/news/do-you-want-ai-run-on-your-commands-in-your-app", "canonical_source": "https://dev.to/yashu_jaat01/do-you-want-ai-run-on-your-commands-in-your-app--1l10", "published_at": "2026-07-08 19:11:55+00:00", "updated_at": "2026-07-08 19:41:56.776715+00:00", "lang": "en", "topics": ["developer-tools", "artificial-intelligence", "ai-tools", "large-language-models", "ai-infrastructure"], "entities": ["Google", "OpenAI", "Anthropic"], "alternates": {"html": "https://wpnews.pro/news/do-you-want-ai-run-on-your-commands-in-your-app", "markdown": "https://wpnews.pro/news/do-you-want-ai-run-on-your-commands-in-your-app.md", "text": "https://wpnews.pro/news/do-you-want-ai-run-on-your-commands-in-your-app.txt", "jsonld": "https://wpnews.pro/news/do-you-want-ai-run-on-your-commands-in-your-app.jsonld"}}