This repo contains Rubric's, UI library, docs, and code config.
This makes it easier to
- Share code across projects
- Coordinate global style changes with a single PR
- Skip common setup in new projects: Tailwind, Biome, Typescript, etc.
This monorepo includes the following packages and apps:
Core framework packages for building agentic applications:
- @rubriclab/actions: Type-safe API primitives that can be chained together, designed for both developers and AI systems
- @rubriclab/agents: Core agent functionality and types
- @rubriclab/blocks: UI components for generative interfaces
- @rubriclab/chains: Type-safe chaining primitives for structured outputs
- @rubriclab/events: Type-safe event system
- @rubriclab/auth: Agent-native authentication and authorization
- @rubriclab/ui: React component library with modern design system
- @rubriclab/webhooks: Webhook handling utilities
- @rubriclab/memory: Flexible fact-keeping system for AI agents
Development and tooling:
- @rubriclab/cli: Type-safe CLI framework built with Zod
- @rubriclab/codegen: Code generation tools for type-safe file watching and template generation
- @rubriclab/create-rubric-app: Scaffold new AI-powered applications with our opinionated stack
- @rubriclab/package: Tools for scaffolding and publishing NPM packages
- @rubriclab/config: Shared Biome, TypeScript, Tailwind, and other configurations
Notable applications built with our framework:
- rOS: Operating system for AI agents
- chat: Real-time chat application
- x: Core agent system with iOS integration
- And more experimental applications
To build all apps and packages, run:
bun build
To develop all apps and packages:
bun dev
To develop a specific app:
cd apps/[app_name]
bun run dev
To add a dependency to a specific app:
cd apps/[app_name]
bun i dependency
To add a global dependency:
bun add -W dependency
- Bun.js for fast JavaScript runtime and package management
- TypeScript for static type checking
- Next.js for full-stack React applications
- Turborepo for monorepo management
- Biome for fast, modern code linting and formatting
MIT