It brings semantic search, context awareness, and balance monitoring directly into your n8n pipelines. 👉 Get started now:
Features
- 🔍 Intelligent Semantic Search – Natural language queries with embeddings
- 💬 Context Management – Add previous messages for richer answers
- 📝 Flexible Responses – Markdown or plain text output
- 📊 Balance Monitoring – Track credits and usage in real time
- ⚡ TypeScript Support – Strong typings and IDE hints
- 🧩 n8n Ready – Works as a drag-and-drop node inside your n8n editor
Installation
From npm (recommended)
From source
Run n8n with Your Extension
Windows PowerShell (edit the path)
macOS / Linux / WSL (edit the path)
You should see:
Loaded extensions from /extensions
Configuration in n8n
- Go to Credentials → New → AI Search API
- Paste your API Key (without the
Bearerprefix) - Save credentials
Usage
Search
- Resource: Search
- Operation: Search
- Parameters:
query→ your question (required)responseType→markdown | textcontext→ optional array of messagestimeout→ ms (default 30000)
Balance
- Resource: Account
- Operation: Get Balance
Error Codes
Development
dist/credentials/AiSearchApi.credentials.jsdist/nodes/AiSearchApi/AiSearchApi.node.js
TypeScript Config
CommonJS build to avoid ESM issues:Logos / Icons
Put your SVGs in:nodes/AiSearchApi/aisearchapi.svgcredentials/aisearchapi.svg
dist/...
Best Practices
- Keep your API key secret (use n8n Credentials)
- Use Markdown output for rich UI
- Reset context when changing topics
- Watch your credits with the balance endpoint
Troubleshooting
- Node not visible in n8n → Check build files exist, restart Docker, verify mounted path
- Cannot find package ‘n8n-workflow’ → Install it:
npm i n8n-workflow@1.108.2 - Build issues on Windows → Use
shxfor copy operations instead ofcp

