110 autonomous AI agents working 24/7 so you never touch a spreadsheet again.
Quick Start · Architecture · Features · API Docs · Contributing
Small and medium businesses spend 120+ hours per year on bookkeeping. Manual invoice processing, bank reconciliation, and financial reporting drain time, money, and sanity. Hiring a full-time bookkeeper costs $45K–$65K/year. Outsourcing to a firm? $500–$2,500/month.
ClawKeeper deploys a full AI accounting department — a CEO agent that orchestrates 9 team leads and 100 specialized workers — to handle your entire bookkeeping operation autonomously. One natural language command. 110 agents. Zero spreadsheets.
"Generate monthly P&L report and reconcile all accounts"
That's it. ClawKeeper's CEO agent decomposes the task, delegates to the right teams, and delivers results in real-time.
| Feature | Traditional | ClawKeeper |
|---|---|---|
| Invoice Processing | Manual entry, 5–10 min each | AI OCR + auto-categorization in seconds |
| Bank Reconciliation | Hours of matching transactions | Automatic matching with discrepancy detection |
| Financial Reports | Days to compile | Generated on-demand, any time |
| Cost | $45K–$65K/year (in-house) | Self-hosted, pay only for AI inference |
| Availability | Business hours | 24/7/365 |
| Multi-Tenant | One client at a time | Unlimited tenants, full data isolation |
- One-Prompt Deployment — Deploy 110 AI agents with a single natural language command
- Autonomous Invoice Processing — AI-powered OCR via Google Document AI, validation, and categorization
- Bank Reconciliation — Automatic transaction matching and discrepancy detection via Plaid
- Financial Reporting — P&L, Balance Sheet, Cash Flow, AP/AR Aging, and custom reports
- Multi-Tenant Architecture — Complete tenant isolation with Row-Level Security and RBAC
- 110-Agent Hierarchy — CEO + 9 orchestrators + 100 specialized workers
- DeepSeek AI Integration — Cost-efficient AI reasoning (10–100x cheaper than GPT-4)
- Real-Time Execution Streaming — Watch agents collaborate live via WebSocket + SSE
- Production Security — Rate limiting, circuit breakers, PII detection, audit trails
- Modern Dashboard — React + Vite + Tailwind + Shadcn with Command Center UI
ClawKeeper follows a hierarchical multi-agent architecture inspired by how real accounting departments operate:
ClawKeeper CEO (Top-Level Orchestrator)
│
├── CFO Agent ──────────────── 8 workers (Strategic planning, forecasting, budgeting)
├── Accounts Payable Lead ──── 15 workers (Invoice processing, payments, expense tracking)
├── Accounts Receivable Lead ─ 15 workers (Customer invoicing, collections, revenue tracking)
├── Reconciliation Lead ────── 12 workers (Bank matching, discrepancy resolution)
├── Compliance Lead ─────────── 10 workers (Tax compliance, audit preparation)
├── Reporting Lead ──────────── 12 workers (Financial reports, dashboards, analytics)
├── Integration Lead ────────── 12 workers (Plaid, Stripe, QuickBooks, Xero sync)
├── Data/ETL Lead ───────────── 10 workers (Data import, transformation, validation)
└── Support Lead ────────────── 6 workers (User assistance, error recovery)
| Layer | Technology |
|---|---|
| Runtime | Bun |
| Language | TypeScript (strict mode) |
| API Server | Hono |
| Dashboard | React 18 + Vite + Tailwind CSS + Shadcn/UI |
| Database | PostgreSQL with RLS + RBAC |
| AI Engine | DeepSeek AI |
| OCR | Google Document AI |
| Banking | Plaid |
| Payments | Stripe |
| Accounting Sync | QuickBooks, Xero |
| Real-Time | WebSocket + Server-Sent Events |
Detailed setup instructions: See STARTUP.md for troubleshooting and advanced configuration.
- Bun >= 1.0.0
- PostgreSQL >= 14
- DeepSeek API Key — Get one here
git clone https://github.com/Alexi5000/ClawKeeper.git
cd ClawKeeper
bun installcp .env.example .envSet your DEEPSEEK_API_KEY in .env (and optionally Plaid, Stripe, QuickBooks, Xero keys).
# One-command setup (schema + RLS + RBAC + seed data)
bun run setup:fullOr manually:
createdb clawkeeper
bun run db:setup
bun run setup:demo# Terminal 1: API Server (default port 9100)
bun run dev
# Terminal 2: Dashboard (default port 3000)
bun run dashboard:devOpen http://localhost:3000 and log in:
| Field | Value |
|---|---|
admin@demo.com |
|
| Password | password123 |
Navigate to Command Center, type a command like "Generate monthly P&L report and reconcile all accounts", and watch 110 agents go to work.
ClawKeeper ships with 8 production-ready skills that agents use to perform specialized tasks:
| Skill | Description |
|---|---|
invoice-processor |
OCR extraction, validation, and categorization of invoices |
bank-reconciliation |
Automatic transaction matching and discrepancy detection |
financial-reporting |
P&L, Balance Sheet, Cash Flow, and custom report generation |
payment-gateway |
Payment processing and disbursement via Stripe |
compliance-checker |
Tax compliance validation and audit trail generation |
document-parser |
Multi-format document parsing (PDF, images, spreadsheets) |
data-sync |
Bidirectional sync with QuickBooks and Xero |
audit-trail |
Immutable logging of all financial actions |
POST /api/auth/login # User authentication
POST /api/auth/register # New user registration
GET /api/invoices # List invoices
POST /api/invoices/upload # Upload invoice for AI processing
POST /api/invoices/:id/approve # Approve invoice
POST /api/invoices/:id/pay # Mark as paid
GET /api/reports/:type
Supported types: profit_loss, balance_sheet, cash_flow, ap_aging, ar_aging
POST /api/reconciliation/start # Start reconciliation task
GET /api/reconciliation/:id/status # Check reconciliation status
WS /ws # WebSocket for live agent execution updates
Full API documentation: docs/API.md
ClawKeeper is built for production financial workloads with enterprise-grade security:
- Row-Level Security (RLS) — Tenant data isolation enforced at the database level
- Role-Based Access Control — 4 roles:
super_admin,tenant_admin,accountant,viewer - Immutable Audit Trail — Every financial action is logged and tamper-proof
- Rate Limiting — Per-tenant and per-endpoint rate limits
- Circuit Breaker — Automatic protection for external API failures
- Input Validation — Zod schemas enforce strict typing on all API inputs
- PII Detection — Prevents sensitive data from leaking to LLM providers
Full security documentation: SECURITY.md
ClawKeeper/
├── agents/ # 110 agent definitions (CEO + orchestrators + workers)
│ ├── clawkeeper/ # CEO agent
│ ├── orchestrators/ # 9 team lead agents
│ └── workers/ # 100 specialized worker agents
├── skills/ # 8 production-ready skills
├── src/
│ ├── api/ # Hono API server
│ ├── agents/ # Agent runtime implementations
│ ├── core/ # Types, orchestrator engine, scheduler
│ ├── integrations/ # Plaid, Stripe, QuickBooks, Xero, Document AI
│ ├── memory/ # Agent memory and context system
│ ├── guardrails/ # Security, validation, PII detection
│ └── db/ # Database queries and migrations
├── dashboard/ # React admin dashboard (Vite + Tailwind + Shadcn)
├── db/ # SQL schema, RLS policies, RBAC, seed data
├── docs/ # Extended documentation
├── config/ # Configuration files
└── scripts/ # Deployment and utility scripts
| Document | Description |
|---|---|
| STARTUP.md | Detailed startup guide with troubleshooting |
| Architecture | System design and agent hierarchy |
| API Reference | Complete API documentation |
| Deployment Guide | Production deployment instructions |
| Multi-Tenancy | Tenant isolation and RBAC configuration |
| Security | Security model and best practices |
| Contributing | Contribution guidelines |
- Create the agent definition:
agents/<category>/<name>/AGENT.md - Implement the runtime:
src/agents/<name>.ts - Register in
src/agents/index.ts - Deploy:
./scripts/deploy.sh
- Create the skill definition:
skills/<name>/SKILL.md - Update the skills index:
SKILLS.md - Deploy:
./scripts/deploy.sh
bun test # Run all tests
bun run typecheck # TypeScript type checking
bun run lint # ESLint- Multi-currency support
- AI-powered cash flow forecasting
- Automated tax filing preparation
- Mobile companion app
- Slack/Teams integration for notifications
- Custom agent builder UI
MIT — see LICENSE for details.
Built by Alex Cinovoj · Powered by TechTide AI
Stop doing bookkeeping. Start building your business.
