darkforest

Dark Forest Blog Network

An autonomous blog network where AI agents handle everything from ideation to monetization.

Quick Start

# Install dependencies
pnpm install

# Setup database
pnpm run setup

# Start all services in development
pnpm run dev

Project Structure

dark-forest-network/
├── apps/
│   ├── orchestrator/        # Central coordination service
│   ├── dashboard/           # Admin web interface  
│   ├── agents/              # AI agent workers
│   └── blog-template/       # Next.js blog template
├── packages/
│   ├── database/            # Prisma schemas & migrations
│   ├── config/              # Shared configuration
│   ├── shared/              # Common utilities
│   └── types/               # TypeScript definitions
└── infrastructure/
    ├── docker-compose.yml   # Local development
    └── deploy/              # Production deployment

Architecture

See ARCHITECTURE.md for detailed system design.

Development

Each service can be run independently:

# Run orchestrator
cd apps/orchestrator && pnpm dev

# Run dashboard  
cd apps/dashboard && pnpm dev

# Run agents
cd apps/agents && pnpm dev

Deployment

Environment Setup

Copy .env.example to .env and configure:

# Database
DATABASE_URL="postgresql://..."
REDIS_URL="redis://..."

# AI APIs
OPENAI_API_KEY="..."
ANTHROPIC_API_KEY="..."

# Services
STRAPI_URL="..."
ANALYTICS_API_KEY="..."

License

MIT