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.
🛠️ What makes it different?
It 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:
💻 cli mode: Quick, interactive AI terminal chats using npx ai-persona chat.
⚙️ sdk mode: Drop it right into your JS/TS code, chain methods seamlessly, and assign custom AI personalities (e.g., .personality('Senior developer')).
📂 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.
🔄 both mode: Unlock everything to build advanced, document-aware chatbots inside your own applications.