Kosmoi is a comprehensive "City OS" platform designed to integrate user services, business management, and AI-driven autonomous agents.
To understand this project, please consult the following files which serve as the single source of truth:
- SPEC.md: Technical Specifications, Architecture, and Data Models.
- AGENTS.md: Registry of all AI Agents, their roles, models, and capabilities.
- Node.js (v18+)
- Supabase Account
npm installnpm run devThe system is powered by a multi-agent architecture.
- Agents are defined in
src/services/agents/registry/. - Orchestration is handled by the
BoardRoomandAgentService. - Documentation: See
AGENTS.mdfor a full list of agents.
src/: Source codeapi/: API clients (Supabase)components/: Reusable UI componentspages/: Application pagesservices/: Business logic and AI services
scripts/: Utility scripts for maintenance and diagnosis
Ensure these are set in your .env (local) and Supabase Project Settings (Production):
VITE_SUPABASE_URL: Your Supabase Project URL.VITE_SUPABASE_ANON_KEY: Your Supabase Anon Key.RESEND_API_KEY: (Backend/Edge Only) For sending emails.STRIPE_SECRET_KEY: (Backend/Edge Only) For generating payment links.
We use Supabase Edge Functions for secure operations. Deploy them using the CLI:
supabase functions deploy send-email --no-verify-jwt
supabase functions deploy create-payment-link --no-verify-jwtThe frontend is deployed to kosmoi.site.
- Ensure all Edge Functions are deployed.
- Run
npm run buildto verify the build. - Push to
mainbranch (triggers CI/CD if configured).
Important: This section is a placeholder. Please provide the correct information about the Admin Modules.
We have several admin modules available to manage the platform. Details on accessing and using these modules will be documented here.
Documentation is automatically synchronized and can be found in the docs folder. Refer to these documents for up-to-date information on the system.