A multi-tenant workspace platform that combines structured documentation (like Notion) with AI-powered development assistance (like Cline), specifically designed for knowledge workers and development teams.
co-intel/
βββ memory-bank/ # Memory Bank documentation system
β βββ projectbrief.md # Core project vision and requirements
β βββ productContext.md # User experience goals and market positioning
β βββ systemPatterns.md # Technical architecture and design patterns
β βββ techContext.md # Technology stack and development environment
β βββ activeContext.md # Current work state and decision tracking
β βββ progress.md # Status tracking and milestone management
βββ backend/ # FastAPI backend application
β βββ app/
β β βββ api/v1/ # API endpoints
β β β βββ endpoints/ # Route handlers
β β β βββ api.py # Router configuration
β β βββ core/ # Core configuration
β β β βββ config.py # Settings management
β β β βββ database.py # Database connection
β β βββ main.py # FastAPI app entry point
β βββ requirements.txt # Python dependencies
β βββ Dockerfile # Backend container config
βββ frontend/ # Next.js frontend application
β βββ src/
β β βββ app/ # Next.js App Router
β β βββ globals.css # Global styles with Tailwind
β β βββ layout.tsx # Root layout
β β βββ page.tsx # Home page
β β βββ providers.tsx # React providers
β βββ package.json # Node.js dependencies
β βββ next.config.js # Next.js configuration
β βββ tailwind.config.js # Tailwind CSS configuration
β βββ tsconfig.json # TypeScript configuration
β βββ Dockerfile # Frontend container config
βββ docker-compose.yml # Local development environment
βββ .env.example # Environment variables template
βββ README.md # This file
- FastAPI - High-performance async API framework
- Supabase - PostgreSQL database with built-in auth and real-time features
- SQLAlchemy - Database ORM with async support
- Redis - Caching and session management
- Pydantic - Data validation and settings management
- PydanticAI - Type-safe AI agent framework for LLM integration
- Next.js 14 - React framework with App Router
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first CSS framework
- Radix UI - Accessible component primitives
- TanStack Query - Server state management
- Zustand - Client state management
- CopilotKit - AI assistant integration framework
- ProseMirror - Rich text editor (planned)
- Docker - Containerization
- uv - Ultra-fast Python package installer and dependency management
- pnpm - Fast Node.js package manager
- ESLint & Prettier - Code formatting and linting
- Docker and Docker Compose
- Node.js 18+ (for local development)
- Python 3.11+ (for local development)
git clone <repository-url>
cd co-intel
# Copy environment variables
cp .env.example .env
# Edit .env with your configuration# Start all services
docker-compose up -d
# View logs
docker-compose logs -f- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Database: localhost:5432
- Redis: localhost:6379
cd backend
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies with uv
uv pip install -r requirements.txt
# Or install from pyproject.toml
uv pip install -e .
# Run development server
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000cd frontend
# Install dependencies
npm install
# Run development server
npm run dev- Memory Bank documentation system
- Project structure and scaffolding
- Backend API framework with FastAPI
- Frontend setup with Next.js 14
- Docker Compose development environment
- Basic API endpoints (stub implementations)
- Configuration management
- Tailwind CSS styling setup
- Database schema implementation
- Authentication system integration
- Multi-tenant data isolation
- Basic UI components
- ProseMirror rich text editor
- Real-time collaboration with Y.js
- AI agent integration
- Document templates system
- User management interface
- Organization and project management
- Organizations - Top-level tenant isolation
- Users - Can belong to multiple organizations with roles
- Projects - Organization-owned workspaces
- Documents - Project-specific or team-wide documents
- Row Level Security (RLS) - Database-level tenant isolation
- JWT Authentication - Supabase Auth integration
- Role-Based Access Control - Granular permissions
- Agent Registry - Public and private AI agents
- Capability System - Granular permissions for AI actions
- Context-Aware - AI agents understand document and project context
This project implements a comprehensive Memory Bank system for maintaining context across development sessions:
- projectbrief.md - Foundation document with core requirements
- productContext.md - Product vision and user experience goals
- systemPatterns.md - Technical architecture and design patterns
- techContext.md - Technology stack and development setup
- activeContext.md - Current work focus and decisions
- progress.md - Status tracking and milestone management
- Read the Memory Bank documentation to understand the project context
- Follow the development setup instructions
- Create feature branches for new work
- Update relevant Memory Bank files when making architectural decisions
- Ensure tests pass and code follows style guidelines
This project is licensed under the MIT License - see the LICENSE file for details.
- FastAPI Documentation
- Next.js Documentation
- Supabase Documentation
- Tailwind CSS Documentation
- ProseMirror Documentation
Note: This is an early-stage project. Many features are planned but not yet implemented. Check the Memory Bank documentation for the most current project status and roadmap.