Governance intelligence platform for protocol DAOs. AI-powered proposal generation optimized for voting patterns. Built for governance teams.
- Context-aware proposals using Claude Sonnet 4
- Optimized for DAO-specific voting patterns
- Success keyword integration (based on historical data)
- Risk signal avoidance (keywords correlated with failure)
- Real-time execution tracking
- Live Snapshot voting statistics
- 20 pre-loaded top DAOs (Arbitrum, Uniswap, ENS, Gitcoin, Optimism, etc.)
- Real-time metrics: quorum %, voting periods, success rates
- Voting pattern analysis: power distribution, proposal success patterns
- Keyword extraction: risk signals vs success signals
- Behavioral intelligence: voter profiling, governance activity tracking
- Intelligence-driven optimization: proposals designed to pass
- Google OAuth: One-click sign in for governance teams
- MetaMask: Web3-native wallet authentication
- Dual auth tracking in Supabase
- User session management
- Free Tier: 10 proposals/month
- Pro Tier: Unlimited proposals ($999/month)
- Usage tracking per user (both auth types)
- Hard limit enforcement with upgrade path
- Self-serve monetization ready
- Ghost Layer aesthetic: calm, lethal, zero theater
- Mobile-responsive tactical layout
- Smart input locking during execution
- Usage counter with limit enforcement
- One-click copy/download proposals
Frontend: Next.js 16, React 19, TypeScript
Styling: Tailwind v4, Ghost Layer design system
AI: Anthropic Claude Sonnet 4
Auth: Supabase Auth (Google OAuth + custom)
Wallet: wagmi (MetaMask connector)
Data: Snapshot GraphQL, Supabase
Deploy: Vercel-ready
Prerequisites
- Node.js 20+
- Anthropic API key
- Supabase project
- Google OAuth credentials (for auth)
Install
git clone https://github.com/intenxe-ops/dao-autopilot.git
cd dao-autopilot
npm installEnvironment
cp .env.example .env.localRequired variables:
# Anthropic
ANTHROPIC_API_KEY=your_anthropic_key
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# Snapshot (optional - uses default hub URL if not set)
SNAPSHOT_HUB_URL=https://hub.snapshot.org/graphql
# Alchemy (optional - for enhanced RPC)
ALCHEMY_API_KEY=your_alchemy_key
Database Setup Run SQL migrations in Supabase:
-- Run supabase/schema.sql for initial setup
-- Includes: profiles, user_proposals tables
-- RLS policies for both Google + wallet usersRun
npm run devNavigate to http://localhost:3000
src/
βββ app/
β βββ api/
β β βββ proposals/generate/ β AI proposal endpoint
β βββ providers.tsx β Wagmi + Auth providers
β βββ globals.css β Ghost Layer color system
β βββ layout.tsx β Root layout
β βββ page.tsx β Landing + auth gates
βββ components/
β βββ ProposalGenerator.tsx β Main UI (usage tracking + limits)
β βββ SignInModal.tsx β Google + MetaMask auth
βββ lib/
β βββ auth-context.tsx β Auth provider (dual auth)
β βββ wagmi-config.ts β MetaMask connector
β βββ claude.ts β Claude API client (intelligence-aware)
β βββ dao-data.ts β Top 20 DAO constants
β βββ snapshot-api.ts β Snapshot GraphQL (stats)
β βββ voting-analysis.ts β Voting intelligence engine
β βββ usage-tracking.ts β Free tier limits + tracking
β βββ supabase.ts β DB client
βββ types/
βββ index.ts β TypeScript definitions
Sign In
- Click "Sign In" β Choose Google OAuth or MetaMask
- Authenticate and gain access to generator
- Free tier: 10 proposals/month
Generate Proposal
- Select DAO from dropdown or enter custom Snapshot space
- Review live governance stats (quorum, voting period, success rate)
- π Analyze voting intelligence (power distribution, success patterns)
- Describe proposal idea
- Generate β AI creates optimized proposal
- Copy/download for Snapshot
π§ Voting Intelligence
- Analyzes last 50 proposals + 1000 votes from selected DAO
- π Power distribution: whale voters and concentration %
- π Success patterns: proposal categories with pass rates
- ποΈ Keyword analysis: language correlated with success/failure
- β‘ Activity level: governance velocity tracking
- π― Agent optimization: proposals written to maximize pass rate
π° Upgrade to Pro
- Hit 10 proposal limit β Upgrade prompt appears
- Contact for Pro tier: unlimited proposals
- Admin sets
tier = 'pro'in profiles table
Phase 1: Generation β Complete
- AI proposal generation with Claude
- DAO selector with live stats
- Ghost Layer UI/UX
Phase 2: Intelligence β Complete
- Voting pattern analysis
- Voter power distribution profiling
- Proposal category success detection
- Keyword extraction (risk vs success)
- Context-aware agent optimization
Phase 2.5: Authentication β Complete
- Google OAuth integration
- MetaMask wallet connect
- Dual auth tracking in Supabase
- User session management
Phase 2.6: Revenue β Complete
- Usage tracking (both auth types)
- Free tier limits (10 proposals/month)
- Hard enforcement at limit
- Pro tier ready ($999/month unlimited)
Phase 3: Automation π Next
- Stripe integration (self-serve Pro upgrades)
- Multi-DAO dashboard
- Proposal lifecycle tracking
- Auto-monitor quorum thresholds
- Team collaboration features
Ghost Layer aesthetic principles:
- β οΈ Calm lethal energy
- π« Zero corporate speak
- π― Operator-grade interfaces
- π‘ Maximum information density
- β‘ Minimal friction workflows
Color: Pure grayscale (#0a0a0a β #ffffff)
Type: Thin display, tactical mono tracking
Spacing: Generous breathing room, sharp edges
Motion: Subtle, purposeful, no theater
POST /api/proposals/generate
{
"daoSpace": "gitcoindao.eth",
"idea": "Allocate 100K GTC for developer tooling grants"
}Response:
{
"success": true,
"proposal": "# [Proposal] Developer Tooling Grant Program\n\n## Summary\n...",
"usedIntelligence": true,
"metadata": {
"daoSpace": "gitcoindao.eth",
"generatedAt": "2026-03-11T18:30:00Z"
}
}Intelligence Integration
- Agent receives voting intelligence context
- Optimizes language for success keywords
- Avoids risk signals from historical failures
- Adapts to DAO-specific patterns
profiles
- id (uuid, pk)
- email (text, nullable)
- wallet_address (text, nullable, unique)
- tier (text: 'free' | 'pro' | 'enterprise')
- auth_type (text: 'google' | 'wallet')user_proposals
- id (uuid, pk)
- user_id (uuid, nullable, fk profiles.id)
- wallet_address (text, nullable)
- dao_space (text)
- proposal_text (text)
- created_at (timestamp)Usage Tracking
- Free tier: 10 proposals/month
- Count resets on calendar month boundary
- Queries:
WHERE created_at >= start_of_month
Vercel (Recommended)
vercel --prodRequired Environment Variables
ANTHROPIC_API_KEY
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
Google OAuth Setup
- Create OAuth app in Google Cloud Console
- Add credentials to Supabase Auth providers
- Configure redirect URL:
{SUPABASE_URL}/auth/v1/callback
Database Migrations
Run supabase/schema.sql in Supabase SQL Editor before deployment.
Building in public. Operator-first development.
Current Focus
- Stripe integration for self-serve Pro upgrades
- Team collaboration features (multi-seat Pro tier)
- API access for Pro users
- Proposal template library
Stack Requirements
- TypeScript strict mode
- Ghost Layer design compliance
- Zero fluff, maximum utility
- Operator-first UX
Free Tier
- 10 proposals/month
- Full voting intelligence
- All 20 pre-loaded DAOs
- Download/copy proposals
Pro Tier ($999/month)
- Unlimited proposals
- Team seats (10 users)
- API access
- Priority support
Enterprise (Custom pricing)
- White-label deployment
- Unlimited seats
- Custom integrations
- Dedicated support channel
Revenue Infrastructure
- Self-serve auth (Google + MetaMask)
- Usage tracking per user
- Hard limit enforcement
- Upgrade path ready
- Stripe integration planned
MIT
Governance intelligence platform built for protocol DAOs. Not just tools. Revenue-ready infrastructure for DAO operations teams.
Open Source β’ Built in Public β’ Operator-Grade