Introduction

AICR Platform Documentation

Welcome to the AI Code Rally (AICR) platform documentation. AICR is an enterprise governance platform for AI-assisted development, providing policy enforcement, usage metering, audit trails, and multi-tenant governance.

Quick Links

Platform Capabilities

🏛️ Governance Spine

Orthogonal governance layer that cuts across all platform surfaces:

  • AI Interceptor with 7-step gating
  • Proposal-based governance with 16-state machine
  • Policy engine with deterministic evaluation
  • Immutable audit trail via Spine

📦 Pack System

Modular capability delivery with 4-level hierarchy:

  • Rally - Atomic capability units (routes, widgets)
  • Pack - Bundles of rallies with dependencies
  • SuperPack - Unlockable capability sets
  • Domain - Summit product mastery

🎯 Multi-Tenant Architecture

Enterprise-grade isolation and customization:

  • Tenant-scoped data isolation
  • RealmKey-based context
  • Per-tenant pack enablement
  • Stage-based environments (lab/stage/prod)

Tech Stack

LayerTechnology
FrontendNext.js 14, TypeScript, Tailwind, Radix UI
DatabaseNeon PostgreSQL + pgvector (via Prisma)
AuthNextAuth 5.0
AIOpenAI, Anthropic (via AI Gateway)
EventsTransactional outbox pattern

Getting Started

# Clone the repository
git clone https://github.com/AICodeRally/AICR.git
 
# Install dependencies
pnpm install
 
# Start development server
pnpm dev

Platform URLs