๐ Your Data. Your Server. Your Agents. Zero SaaS Bills.
๐ธ The SaaS Tax Is Real
Let's do some quick math. ๐งฎ
- ๐๏ธ Trello for tasks โ $10/user/mo
- ๐ Notion for docs โ $10/user/mo
- ๐ง Gmail + Google Workspace โ $7/user/mo
- โก Zapier for automation โ $30+/mo
- ๐ค An AI chatbot tool โ $20+/user/mo
A 10-person team is spending $400โ700/month just to manage work. That's $5,000โ8,000/year on tools that don't even talk to each other.
Five tabs. Five bills. Five places where context goes to die. ๐
What if you replaced all of it with one thing you run yourself?
That's HiveOps. ๐
๐ง What Is HiveOps?
HiveOps is an open-source, AI-powered company operating system. It's not another chatbot wrapper. It's not a toy project. It's a full-stack application that handles:
| Feature | Description |
|---|---|
| โ Task Management | Priority levels, status tracking, assignments |
| ๐ค AI Agents | Per-department agents that execute tasks automatically |
| โ๏ธ Workflow Automation | Triggers, conditions, and actions |
| ๐ง Real Email | SMTP + IMAP โ not a mock |
| ๐ Knowledge Base | Full-text search across articles |
| ๐ฌ Real-Time Chat | Socket.IO with typing indicators |
| ๐ Dashboard | Live stats and insights |
| ๐ Auth | JWT with role-based access control |
And it runs in one Docker container on your own server. ๐ณ
๐ฅ The Killer Feature: AI Agents That Actually Work
Most "AI tools" are chatbots. You type a question, they type an answer. That's not automation. That's a search engine with extra steps. ๐ค
HiveOps agents are different.
๐ข Each department gets its own agent
๐ฃ Marketing Agent โ Custom system prompt, marketing context
๐ป Engineering Agent โ Custom system prompt, dev context
๐ง Support Agent โ Custom system prompt, support context
โก They execute tasks autonomously
Assign a task to an agent. It runs it. Not "suggests next steps." Actually runs it.
Here's the execution loop:
๐ฅ Task assigned to agent
โ ๐ค Agent picks it up
โ โถ๏ธ Executes
โ โ
Success? Mark complete.
โ โ Failed? ๐ Retry (3x, exponential backoff)
โ ๐ Still failing? Dead letter queue + notify the creator
That's production-grade execution logic. Not a demo. ๐ช
๐ Agents can delegate to each other
Complex workflow? Agent A can delegate a sub-task to Agent B. Your engineering agent can hand off a deployment verification to the ops agent. Chain them together.
โ๏ธ Workflow Automation Without the Zapier Tax
Zapier charges $30+/month for basic automation. HiveOps has it built in. Free. ๐ธ
How it works:
Triggers ๐ โ Conditions ๐ฏ โ Actions โถ๏ธ
| ๐ Triggers | ๐ฏ Conditions | โถ๏ธ Actions |
|---|---|---|
| ๐ Task created | Priority is urgent | ๐ Notify manager |
| โ Task completed | Due date past | ๐ Update task fields |
| ๐ค User registered | Field contains text | โ Create new task |
| โฐ Schedule (daily) | Status is blocked | ๐ฌ Send channel message |
Build your ops logic once. It runs forever. ๐ No per-action billing. No "premium tier required."
๐ง Real Email, Not a Placeholder
A lot of "all-in-one" tools skip email. HiveOps doesn't. ๐
- ๐ฌ Full inbox โ sent, drafts, starred, labels
- ๐ IMAP polling โ automatically pulls new mail and notifies you
- ๐ค SMTP outbound โ works with Gmail or custom SMTP servers
- โ๏ธ AI drafts replies โ the agent reads the email and drafts a response
- ๐ Search โ find anything across your inbox
It's not a mock. It's actual email integration. ๐ฏ
๐ ๏ธ The Tech Stack (For the Builders)
HiveOps isn't a spaghetti project. Here's what's under the hood:
๐ฅ๏ธ Backend โ Node.js + Express
server/
โโโ src/
โ โโโ config/
โ โ โโโ db.js ๐๏ธ Dual SQLite/PostgreSQL adapter
โ โ โโโ logger.js ๐ Pino structured logging
โ โ โโโ migrate.js ๐ Versioned migrations
โ โโโ middleware/
โ โ โโโ auth.js ๐ JWT + role-based access
โ โ โโโ rateLimit.js ๐ก๏ธ Brute-force protection
โ โ โโโ validate.js ๐งน Input sanitization
โ โโโ routes/ ๐ฃ๏ธ 12 API route modules
โ โโโ services/
โ โโโ ai-engine.js ๐ง LLM integration
โ โโโ email-real.js ๐ง SMTP + IMAP
โ โโโ execution-loop.js ๐ Retry + backoff + DLQ
โ โโโ scheduler.js โฐ DB-persisted cron
โ โโโ workflows.js โ๏ธ Rule engine
โ โโโ notifications.js ๐ Socket.IO broadcast
โโโ __tests__/ ๐งช 58 tests (Jest + Supertest)
๐จ Frontend โ Next.js 14 (App Router)
web/
โโโ app/ ๐ 12 pages
โโโ components/ ๐งฉ Shared UI
โโโ lib/ ๐ API client + auth
๐๏ธ Database Flexibility
Same API, two backends. Switch with one env var. ๐
| Mode | When | Best for |
|---|---|---|
| ๐ข SQLite | Default | Local dev, prototyping, <10 users |
| ๐ต PostgreSQL |
DATABASE_URL set |
Production, scale, JSONB queries |
14 tables: users, departments, agents, tasks, task_comments, messages, knowledge_base, workflows, workflow_logs, emails, notifications, uploads, scheduled_tasks, schema_migrations ๐
๐ง LLM Agnostic
Works with any OpenAI-compatible API:
- ๐ข OpenAI
- ๐ก Ollama (local models)
- ๐ต Any OpenAI-compatible endpoint
No vendor lock-in. No API key required โ simulated fallback mode works out of the box. ๐ฆ
โก Setup: 60 Seconds
# 1๏ธโฃ Clone the repo
git clone https://github.com/mamoor123/hiveops.git && cd hiveops
# 2๏ธโฃ Copy the env file
cp .env.example .env
# 3๏ธโฃ Generate a secret
openssl rand -base64 32 # paste into .env as JWT_SECRET
# 4๏ธโฃ Launch everything ๐
docker-compose up --build
| Service | URL |
|---|---|
| ๐ฅ๏ธ Dashboard | http://localhost:3000 |
| ๐ API | http://localhost:3001 |
| โค๏ธ Health | http://localhost:3001/api/health |
Postgres + API + Frontend. One command. ๐ฏ
๐ The Comparison That Matters
| Feature | ๐ด SaaS Stack | ๐ข HiveOps |
|---|---|---|
| ๐ฐ Cost | $50โ500/mo per tool | Free. Forever. |
| ๐๏ธ Data | Their servers | Your servers |
| ๐ค AI | Separate subscription | Built-in agents |
| โก Automation | Zapier at $30+/mo | Included |
| ๐ Setup | Sign up, configure, integrate | docker-compose up |
| ๐ Lock-in | They own your data | You own everything |
You own the code. You own the data. You own the infrastructure. ๐
๐ฏ Who Is This For?
- ๐ Startups that can't afford $500/mo in SaaS tools before they even have revenue
- ๐ Remote teams that want one platform instead of five disconnected ones
- ๐ฉโ๐ป Developers who prefer self-hosted over vendor-dependent
- ๐ค Anyone tired of the SaaS tax and ready to take control
๐ Open Source. No Strings.
HiveOps is fully open source. No "open core" trickery. No "premium features" behind a paywall. No "contact sales for pricing." ๐ซ
git clone https://github.com/mamoor123/hiveops.git
โญ Star it. ๐ด Fork it. ๐ Deploy it. ๐ Own it.
๐ github.com/mamoor123/hiveops
๐ Stop renting your tools. Start owning them.
Tags: opensource, selfhosted, ai, productivity, devops
Top comments (0)