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 …