Open Source · Self-Hosted · Production-Grade

The AI that remembers,
automates, and scales.

OpenSentinel is the open-source AI agent platform with persistent memory, workflow automation, 4 specialist sub-agents, and enterprise security. Deploy on your infrastructure in minutes.

Install npm install opensentinel
opensentinel
$ |
250+ Features
30+ Built-in Tools
15+ Integrations
20 Agent Templates
1,733 Unit Tests

AI assistants today are half-built.

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.

Typical AI Assistants

  • Memory lost after every session
  • Manual chat only — no automation
  • Single agent, sequential tasks
  • No security controls or audit trail
  • Single user, personal device only
  • Prompt templates as "plugins"
  • No observability — flying blind

OpenSentinel

  • Persistent memory with pgvector RAG
  • Workflow engine with triggers & schedules
  • 4 specialist sub-agents in parallel
  • 2FA, audit logs, GDPR, encrypted vault
  • Multi-user with SSO and quotas
  • Sandboxed plugins + MCP servers
  • Metrics, replay, alerting, dry-run

Everything you need to deploy production AI agents.

Not a framework. Not a wrapper. A complete platform with memory, tools, automation, and security built in.

Persistent Memory

PostgreSQL + pgvector RAG system with automatic extraction, importance scoring, semantic search, memory consolidation, and decay. Your AI genuinely learns over time.

Core Differentiator

Workflow Automation

IFTTT-like engine with time, webhook, and event triggers. BullMQ scheduler for reliable execution. Build once, run forever.

Sub-Agent System

Four specialized agents — Research, Coding, Writing, Analysis — with task coordination, shared context, and parallel execution.

Enterprise Security

2FA, biometric verification, encrypted vault, command sandboxing, GDPR compliance, comprehensive audit logging, and rate limiting.

15 Domain Experts

Coding, legal, medical, finance, marketing, design, data, security, DevOps, and more. Mood detection and tone adaptation built in.

File Generation

Generate PDFs, Word docs, Excel spreadsheets, PowerPoint presentations, charts, diagrams, and AI images on demand.

Multi-Channel Input

Telegram, Discord, Slack, WhatsApp, Signal, iMessage, WebSocket, web dashboard, REST API, voice wake word, and device triggers.

Full Observability

Metrics dashboard, conversation replay, tool dry-run mode, prompt inspector, cost alerting, error tracking, and anomaly detection.

Plugin & MCP Support

Sandboxed plugin system with lifecycle management plus Model Context Protocol server support for connecting to external tool ecosystems.

Use as a library.
Build anything.

OpenSentinel isn't just a running application — it's an NPM package you can import into your own projects. Persistent memory, 30+ tools, and enterprise security in one npm install.

  • Full TypeScript types included
  • Works with Node.js and Bun
  • Tree-shakeable ESM exports
  • Lazy initialization — no env vars needed at import
app.ts
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();

20 agent templates. Pick one. Ship today.

Each template is a standalone project that uses OpenSentinel as a library. Clone, configure your API key, and run.

🌐

Web Monitor

Monitor pages for changes, get intelligent alerts

💼

Sales Agent

Research leads, draft outreach, track pipeline

👥

Recruiter

Screen candidates, rank applicants, draft outreach

🖥

DevOps Agent

Server monitoring, log analysis, incident response

📈

Trading Researcher

Market research, sentiment scoring, shift detection

🎧

Customer Support

Ticket triage, response drafting, escalation routing

✍️

Content Creator

Multi-platform content from a single brief

🛡

Security Monitor

Auth log analysis, network audit, file integrity

🔍

Code Reviewer

PR review, bug detection, test coverage analysis

📊

Data Analyst

Dataset profiling, insights, anomaly detection

📧

Email Assistant

Inbox triage, reply drafting, action extraction

📝

Meeting Assistant

Transcript summaries, action items, weekly digests

🔎

Competitor Tracker

Product monitoring, pricing changes, hiring signals

🚀

SEO Optimizer

Page scoring, meta optimization, content outlines

⚖️

Legal Reviewer

Contract review, risk flagging, amendment suggestions

📢

Social Listener

Brand monitoring, sentiment analysis, trend detection

📖

Docs Writer

Auto-generate API refs, guides, changelogs

👋

Onboarding Agent

Personalized plans, Q&A, progress tracking

📦

Inventory Manager

Stock tracking, demand forecasting, purchase orders

🏠

Real Estate Analyst

Property analysis, market research, ROI estimation

Connects to everything you use.

Built-in integrations for communication, productivity, smart home, finance, cloud storage, and more.

🤖Claude
💬Telegram
🎮Discord
📨Slack
📱WhatsApp
🔒Signal
💭iMessage
📧Email
☎️Twilio
🐙GitHub
📓Notion
📅Google Cal
📆Outlook
🏠Home Assistant
🎵Spotify
📁Google Drive
📦Dropbox
💰Crypto
📈Stocks
🌍OpenAI
🎤ElevenLabs
🧠Ollama
🔌MCP Servers
🔗Webhooks

Built for production, not demos.

PostgreSQL for persistent vector memory. Redis for reliable task queues. Docker and Kubernetes for deployment at any scale.

Inputs

Telegram Discord Slack WhatsApp Signal iMessage Web UI REST API Voice WebSocket

OpenSentinel Core

Claude Brain Memory / RAG Tool Router Sub-Agents (4) Workflow Engine Plugin System Scheduler

Outputs

Text Voice (TTS) PDF / Word Excel / PPT Charts AI Images Diagrams
PostgreSQL + pgvector Redis + BullMQ Docker / Kubernetes

The AI assistant your security team will approve.

Self-hosted on your infrastructure. No data leaves your network. Full audit trail, SSO integration, and compliance tools built in.

2FA & Biometric Auth TOTP for sensitive operations, mobile biometric support
SSO Integration SAML, OAuth 2.0, and OpenID Connect
Audit Logging Complete action history with configurable retention
GDPR Compliance Data export, deletion tools, retention policies
Usage Quotas & Rate Limiting Per-user controls, cost tracking, anomaly alerts
Kubernetes Native Helm charts, horizontal scaling, health checks
Security Dashboard
2FA Status Enabled
Memory Vault Encrypted
Audit Trail Recording
Command Sandbox Active
Plugin Isolation Enforced
GDPR Compliance Compliant
Threats Blocked (24h) 0

Running in under a minute.

Choose your path. Use OpenSentinel as a library in your project, or deploy the full platform.

Library

Use in Your Project

Add AI capabilities to any Node.js or Bun application.

$ npm install opensentinel
import { configure, chat } from 'opensentinel';
configure({ CLAUDE_API_KEY: 'sk-ant-...' });
const res = await chat([...]);
Full Platform

Deploy Everything

One command installs everything: Bun, PostgreSQL, Redis, and OpenSentinel.

$ curl -fsSL https://opensentinel.ai/install.sh | bash
# Or install manually:
$ npm install -g opensentinel
$ opensentinel setup     # interactive wizard
Template

Start From a Template

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

Ready to deploy AI agents that actually work?

Open source. Self-hosted. Production-grade. Start building today.