Build AI agents — importable n8n workflows + a TS SDK
An AI agent orchestration kit combining importable n8n workflows with a lightweight TypeScript agent SDK: agent-tool loop, tools, memory and a deterministic offline fallback.
What's included
- 2 n8n workflows — Customer Support Agent + Content Research Agent (import-ready JSON)
- Agent-tool loop — with
maxIterations and step tracing
- Calculator tool — real arithmetic parser, no
eval
- Web search tool — mock with pluggable interface
- Conversation memory — FIFO with capacity limit
- Offline reasoner — deterministic fallback, no API key needed
- Fully typed — TypeScript strict
Quick Start
npm install
npm run build
node -e "import('./dist/index.js').then(m=>console.log(typeof m.Agent))"
Stack
TypeScript · Node.js · n8n workflow JSON
Use cases
- Customer support agents
- Research assistants
- Automation prototypes
- Learning agent orchestration