An open API service indexing awesome lists of open source software.

https://github.com/lewisallena17/pantheon

Self-improving AI agents that work 24/7. Next.js 14 + Supabase + Claude.
https://github.com/lewisallena17/pantheon

ai-agents autonomous-agents claude-ai dashboard multi-agent nextjs self-improving supabase tailwindcss typescript

Last synced: 2 months ago
JSON representation

Self-improving AI agents that work 24/7. Next.js 14 + Supabase + Claude.

Awesome Lists containing this project

README

          

# ๐Ÿ‘ Autonomous AI Task Dashboard

> **Self-improving AI agents that work 24/7, learn from failures, auto-commit their edits, and tell you when they break.**

A production-ready **Next.js 14 + Supabase + Claude API** starter kit. The God agent improves its own code every cycle โ€” each edit is version-controlled and auto-reverted if it breaks the build. Specialist agents pick up tasks in parallel. You watch it work in real time.

[![Subscribe](https://img.shields.io/badge/๐Ÿ“ง-Subscribe-0891b2?style=for-the-badge)](https://task-dashboard-sigma-three.vercel.app/subscribe)
[![Live Demo](https://img.shields.io/badge/Live%20Dashboard-vercel-black?style=for-the-badge)](https://task-dashboard-sigma-three.vercel.app)
![Stack](https://img.shields.io/badge/Next.js-14-black?style=flat) ![Claude](https://img.shields.io/badge/Claude-Opus%204.7-ff6a00?style=flat) ![Supabase](https://img.shields.io/badge/Supabase-live-3ecf8e?style=flat) ![TypeScript](https://img.shields.io/badge/TypeScript-5-3178c6?style=flat)

---

## What makes it different

Most AI agent frameworks are brittle โ€” they forget context between runs, silently burn credits, and give you no visibility. This one is built to run continuously and self-correct.

- ๐Ÿง  **Self-improving God orchestrator** โ€” wakes every 2 min, surveys state, creates tasks, learns from failures. Edits its own dashboard + agent scripts every N cycles.
- โšก **4 parallel specialist pools** โ€” critical / high / medium / orchestrator, plus db-specialist + ui-specialist + revenue agent + promote agent.
- ๐Ÿ“ฅ **Task Inbox** โ€” God proposes, you approve or veto. Auto-approve available.
- ๐Ÿ’พ **Auto-commit + auto-revert** โ€” every God edit is a git commit. If it introduces new TypeScript errors, it's reverted automatically.
- ๐Ÿ’ฐ **Cost controls** โ€” daily $ cap, per-task cap, rate-of-spend circuit breaker. Track spend live per agent.
- ๐Ÿ“ข **Notifications** โ€” Discord / Slack / Pushover / Telegram on credit exhaustion, failures, reverts.
- ๐Ÿ™ **Pixel-art agent office** โ€” watch agents move between zones (Revenue ยท Dev ยท QC ยท God Chamber). Not a gimmick; genuinely useful for spotting stuck agents.
- ๐Ÿ›ก **Stuck-task watchdog** โ€” any task in_progress > 15โ€“25 min gets auto-failed + logged.
- ๐Ÿ“Š **Contribution graph** โ€” 365-day heatmap of commits (human in green, God in amber).
- ๐Ÿงต **Memory dedup** โ€” Jaccard similarity on wisdom tokens; near-duplicate lessons collapsed automatically.
- ๐Ÿค– **GitHub Actions CI** โ€” every commit type-checks and builds. Status shown in the dashboard.
- ๐Ÿ“จ **Email capture + subscriber list** โ€” public `/subscribe` page, CSV export, embed HTML for dev.to.
- ๐ŸŽฏ **Revenue engine** โ€” drafts dev.to articles, generates Gumroad listings, prepares HackerNews + Reddit promotion URLs.

## Quick tour

```
Command palette โŒ˜K / Ctrl+K from anywhere
Switch tab 1โ€“5
Live agents http://localhost:3000 ยท Agents tab
Stop/start agents Agents tab โ†’ Agent Controls (no SSH needed)
Revenue dashboard Revenue tab โ†’ Marketplace Listings + Dev.to stats
Git history Code tab โ†’ click any commit to revert
```

## Architecture

```
โ”Œโ”€ GOD AGENT โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ every 2 min: โ”‚
โ”‚ survey todos + metrics โ”‚
โ”‚ convene council of perspectives โ”‚
โ”‚ propose tasks toward self-chosen goals โ”‚
โ”‚ extract lessons from failures AND successes โ”‚
โ”‚ web-search errors for fixes โ”‚
โ”‚ every 5 cycles โ†’ edit dashboard files โ”‚
โ”‚ every 10 cycles โ†’ edit agent scripts โ”‚
โ”‚ every 10 cycles โ†’ prune duplicate lessons โ”‚
โ”‚ every 10 cycles โ†’ write SEO landing page โ”‚
โ”‚ every 15 cycles โ†’ generate new goals โ”‚
โ”‚ every 20 cycles โ†’ research inspiration repo โ”‚
โ”‚ every 25 cycles โ†’ meta-reflection on self โ”‚
โ”‚ every 50 cycles โ†’ cut a GitHub release โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ–ผ
โ”Œโ”€ TASK INBOX โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ status: 'proposed' โ†’ user approves โ”‚
โ”‚ โ†’ status: 'pending' โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ–ผ
โ”Œโ”€ ORCHESTRATOR โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ auto-assigns pending tasks to best pool โ”‚
โ”‚ using past success rate per agent per โ”‚
โ”‚ category. Reaps stuck tasks > 15 min. โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ–ผ
โ”Œโ”€ SPECIALIST POOLS (4 parallel) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ruflo-critical ยท ruflo-high โ”‚
โ”‚ ruflo-medium ยท ruflo-orchestrator โ”‚
โ”‚ db-specialist ยท ui-specialist โ”‚
โ”‚ Claude tool use, web search, per-task cost โ”‚
โ”‚ cap, context compression, auto-revert. โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

## Get started

```bash
git clone https://github.com/lewisallena17/pantheon.git
cd task-dashboard
npm install
cp .env.example .env.local
# fill .env.local โ€” see INSTALL.md for each variable
npx supabase db push # runs all migrations
pm2 start ecosystem.config.cjs
npm run dev # dashboard at localhost:3000
```

Full setup guide: [INSTALL.md](./INSTALL.md)

## Tech stack

| Piece | Choice |
|---|---|
| Frontend | Next.js 14 (App Router) + React 18 + Tailwind |
| Backend | Next.js API routes + Supabase (Postgres + Realtime) |
| AI | Anthropic Claude (Opus / Sonnet / Haiku routing) |
| Process mgmt | PM2 |
| Deploy | Vercel (UI) + your own box (agents) |

## Pricing

| Tier | Price | What you get |
|---|---|---|
| **Open Source (this repo)** | Free | Everything visible here. Roll your own deploy. |
| **Complete Starter Kit** | [$39 on Gumroad](https://ltagb.gumroad.com/l/gferg) | Source code + deployment guide + pre-configured `.env.example` + priority email support |
| **Done-for-you setup** | $297 one-time | I personally wire up your Supabase, env vars, deploy to Vercel, and hand you the URL |
| **Custom builds** | from $1500 | Modify agent roles for your team's workflow. Email me. |

## What others are building with it

- **[Add yours here]** โ€” email `lta.gb@outlook.com` with a link and I'll feature you.

## Promote pantheon & earn

Want to earn commission promoting Autonomous AI Task Dashboard? Apply to the affiliate program:
๐Ÿ‘‰ **[ogkush.lemonsqueezy.com/affiliates](https://ogkush.lemonsqueezy.com/affiliates)**

## Articles

- [I Built an AI System That Runs Itself 24/7](https://dev.to/lewisallena17/i-built-an-ai-system-that-runs-itself-247-heres-what-actually-happened-1p17)
- [Building a Self-Improving God Agent with Claude AI](https://dev.to/lewisallena17/building-a-self-improving-god-agent-with-claude-ai-2g4m)
- [The Real Cost of Running Autonomous AI Agents (with live data)](https://dev.to/lewisallena17/the-real-cost-of-running-autonomous-ai-agents-with-live-data-acm)

## Roadmap

Open to-dos live in the dashboard's **Task Inbox** โ€” God is perpetually adding. High-level:

- [x] 5 parallel agent pools with intelligent routing
- [x] Auto-commit + auto-revert on TS regression
- [x] Task Inbox approval workflow
- [x] Cost + rate-of-spend controls
- [x] Discord/Slack/Pushover/Telegram notifications
- [x] Reddit OAuth auto-promotion
- [x] Marketplace listing generator (Gumroad/LS/IH/PH/CodeCanyon)
- [ ] Stripe-direct checkout (skip marketplace fees)
- [ ] Multi-tenant hosted SaaS version
- [ ] Vector memory via pgvector (replace flat wisdom.json)
- [ ] Agent A/B testing framework

## Contributing

PRs welcome. Please:

1. Run `npx tsc --noEmit` before pushing โ€” it must be clean.
2. If you add a migration, number it sequentially in `supabase/migrations/`.
3. Prefer small, focused PRs. God reviews its own code now; happy to extend that to human PRs.

Bug reports via [Issues](https://github.com/lewisallena17/pantheon/issues) โ€” they sync into the dashboard's Task Inbox, so God might actually fix them while you sleep.

## Sponsors

Building this in public. If the repo or articles helped you, [GitHub Sponsors](https://github.com/sponsors/lewisallena17) keeps me shipping. Tiers start at $5/mo.

## License

MIT for the source code. Commercial deployments are fine โ€” not for reselling the code itself (Gumroad buyers get an extended license).

---

Built by [@lewisallena17](https://github.com/lewisallena17). Watching the agents do the work so I don't have to.