Logo Lanfrica

emmanuelerogian723-alt/stew-ai

Domain:

natural language processing

Record type:

software
Creator:
emm
Host:
Africa's #1 AI Agent API SDK β€” 60+ skills, web research, document generation, code execution, OCR, 100-agent swarm. Zero dependencies. Naira billing. # stew-ai πŸ₯˜ **Africa's #1 AI Agent API** β€” 60+ skills, web research, document generation, code execution, OCR, and a 100-agent swarm. Zero dependencies. > **S.T.E.W** = **S**mart **T**ask **E**xecution **W**orker One SDK. Every skill your app needs. Chat with 6 AI providers (automatic failover), search the web, generate PDF/DOCX/XLSX/PPTX, run Python code, OCR images, and spawn 100 AI agents β€” all from a single SDK. 🌐 **Live API**: stew-agent.onrender.com Β· πŸ“š **Docs**: stew-agent.onrender.com --- ## Install ```bash npm install stew-ai ``` Or install globally for CLI access: ```bash npm install -g stew-ai ``` --- ## Quick Start (3 lines) ```js const Stew = require('stew-ai'); const stew = new Stew({ apiKey: 'stew_your_key_here' }); const res = await stew.chat.send('Hello from Africa!'); console.log(res.response); ``` Get a free API key at stew-agent.onrender.com β€” no credit card needed. --- ## CLI Usage ```bash # Save your API key stew login stew_your_api_key_here # Chat stew chat "What is the capital of Nigeria?" stew chat "Latest news in Lagos" --web stew chat "Write a poem" --json # Search stew search "top Nigerian fintechs 2026" # Skills stew skills stew skills run generate_cv '{"name":"Emmanuel","role":"Developer"}' # Documents stew doc pdf '{"title":"Report","content":"Hello"}' --output report.pdf # Fine-tune stew finetune --persona doctor --instructions "Always cite NHS guidelines" # Status stew status # Piping cat file.txt | stew chat "Summarize this" ``` --- ## SDK Methods ### Chat ```js const stew = new Stew({ apiKey: 'stew_xxx' }); // Basic chat const res = await stew.chat.send('What is 2+2?'); // Chat with web search const res = await stew.chat.send('Latest news in Nigeria?', { webSearch: true }); // Chat with persona (requires fine-tuning) await stew.finetune.set({ persona: 'doctor' }); const res = await stew.chat.send('What are malaria symptoms?'); ``` ### Web Search ```js // Search the we …