OpenSentinel is the open-source AI agent platform with 9 LLM providers, persistent memory, workflow automation, 5 specialist sub-agents, and SOC 2-ready enterprise security. Deploy on your infrastructure in minutes.
npm install opensentinel
They chat. They forget. They can't automate. They can't scale. They can't pass a security review. You deserve more than a chatbot with a GitHub repo.
Not a framework. Not a wrapper. A complete platform with memory, tools, automation, and security built in.
Full agentic RAG pipeline: tool pre-classification, memory middleware (auto-search + auto-extract), pipeline orchestrator, HyDE, re-ranking, multi-step retrieval, and Redis caching. Hybrid search fuses vector, keyword, and graph results. Your AI genuinely learns over time.
IFTTT-like engine with time, webhook, and event triggers. BullMQ scheduler for reliable execution. Build once, run forever.
Five specialized agents — Research, Coding, Writing, Analysis, OSINT — with task coordination, shared context, and parallel execution.
2FA, biometric verification, encrypted vault, command sandboxing, GDPR compliance, comprehensive audit logging, and rate limiting.
Coding, legal, medical, finance, marketing, design, data, security, DevOps, and more. Mood detection and tone adaptation built in.
Generate PDFs, Word docs, Excel spreadsheets, PowerPoint presentations, charts, diagrams, and AI images on demand. Secure download links with token-based access. Upload documents for automatic parsing (PDF, DOCX, CSV, and more). Image vision analysis from Web Chat uploads.
Telegram, Discord, Slack, WhatsApp, Signal, iMessage, WebSocket, web dashboard, REST API, voice wake word, and device triggers.
Brain Dashboard with real-time pipeline visualization, activity feed, and score gauges. ML-powered anomaly detection and cost forecasting. Plus metrics, conversation replay, tool dry-run, prompt inspector, cost alerting, and brain telemetry.
Sandboxed plugin system with lifecycle management plus Model Context Protocol server support for connecting to external tool ecosystems.
9 providers: Anthropic Claude, OpenAI, xAI Grok, Google Gemini, Groq, Mistral, OpenRouter, Ollama, or any OpenAI-compatible endpoint. Switch providers per-request or set a default. Run models locally for full privacy.
Three autonomy levels — readonly, supervised, autonomous — control what the AI can do. Per-user settings, API control, and full audit trail.
5 built-in ML algorithms with zero external dependencies: Naive Bayes for intent classification, Isolation Forest for anomaly detection, K-Means clustering, Markov Chain prediction, and Linear Regression for cost forecasting and trend detection.
Standard Prometheus text format at /metrics. Request counters, token usage, latency histograms, and system gauges. Plug into Grafana instantly.
Connect your applications to OpenSentinel's AI platform. TypeScript and Python SDKs with auto-registration, cross-app memory sharing, unified notifications, and sub-agent spawning.
OpenSentinel isn't just a running application — it's an NPM package you can import into your own projects. Persistent memory, 124 tools, and enterprise security in one npm install.
import { configure, chat, chatWithTools } from 'opensentinel';
// Configure with your API key
configure({
CLAUDE_API_KEY: process.env.CLAUDE_API_KEY,
});
// Simple conversation
const response = await chat([
{ role: 'user', content: 'Summarize my inbox' }
]);
// With tools (browser, shell, files, search...)
const result = await chatWithTools([
{ role: 'user', content: 'Research competitors and create a report' }
]);
// Full platform with all services
import { OpenSentinel } from 'opensentinel';
const sentinel = new OpenSentinel({
claudeApiKey: process.env.CLAUDE_API_KEY,
telegram: true,
discord: true,
workflows: true,
});
await sentinel.start();
Each template is a standalone project that uses OpenSentinel as a library. Clone, configure your API key, and run.
Monitor pages for changes, get intelligent alerts
Research leads, draft outreach, track pipeline
Screen candidates, rank applicants, draft outreach
Server monitoring, log analysis, incident response
Exchange trading, DeFi data, on-chain analytics, order books, backtesting
Ticket triage, response drafting, escalation routing
Multi-platform content from a single brief
Auth log analysis, network audit, file integrity
PR review, bug detection, test coverage analysis
Dataset profiling, insights, anomaly detection
Inbox triage, reply drafting, action extraction
Transcript summaries, action items, weekly digests
Product monitoring, pricing changes, hiring signals
Page scoring, meta optimization, content outlines
Contract review, risk flagging, amendment suggestions
Brand monitoring, sentiment analysis, trend detection
Auto-generate API refs, guides, changelogs
Personalized plans, Q&A, progress tracking
Stock tracking, demand forecasting, purchase orders
Property analysis, market research, ROI estimation
Built-in integrations for communication, productivity, smart home, finance, cloud storage, and more.
Build on the OpenSentinel platform with the App Ecosystem SDK. These applications leverage cross-app memory sharing, unified notifications, and AI-powered intelligence.
PostgreSQL for persistent vector memory. Redis for reliable task queues. Docker and Kubernetes for deployment at any scale.
Self-hosted on your infrastructure. No data leaves your network. SOC 2-ready controls, full audit trail, SSO integration, and compliance tools built in. Production-hardened Docker Compose with non-root containers, TLS, and resource limits.
Choose your path. Use OpenSentinel as a library in your project, or deploy the full platform.
Add AI capabilities to any Bun application.
$ npm install opensentinel
import { configure, chat } from 'opensentinel';
configure({ CLAUDE_API_KEY: 'sk-ant-...' });
const res = await chat([...]);
One command installs everything: Bun, PostgreSQL, Redis, and OpenSentinel.
$ curl -fsSL https://opensentinel.ai/install.sh | bash
# Or install manually:
$ bun install -g opensentinel
$ opensentinel setup # interactive wizard
Pick a use case, clone the template, and customize.
$ git clone https://github.com/dsiemon2/OpenSentinel.git
$ cd OpenSentinel/templates/ai-sales-agent
$ bun install
$ CLAUDE_API_KEY=sk-ant-... bun run start
Open source. Self-hosted. Production-grade. Start building today.