Skip to content

Introduction

Cosmos is an AI-first development platform designed to help you build modern applications faster. It consists of:

A web component library optimized for AI consumption. Built with Lit and Preact Signals, Stitch components are:

  • AI-readable - Clean, predictable APIs that AI can understand and generate
  • Framework-agnostic - Works with React, Vue, Svelte, or vanilla JS
  • Fast - Reactive updates via signals, minimal bundle size
<script type="module">
import 'https://cdn.getcosmos.dev/stitch.esm.min.js';
</script>
<stx-button variant="primary">Click me</stx-button>

REST API for authentication, AI generation, and data management. Built with Hono on Cloudflare Workers.

  • Auto-documented - OpenAPI spec with Scalar UI
  • Type-safe - Zod validation on all endpoints
  • Edge-deployed - Low latency globally

Native desktop application built with Tauri v2. Features:

  • Local-first architecture with SQLite
  • Syncs with cloud when online
  • Cross-platform (Windows, macOS, Linux)

Cosmos is built around one core idea: AI is the primary consumer of your code.

This means:

  • APIs are designed to be predictable and well-documented
  • Components have clear, consistent interfaces
  • Everything is type-safe and validated

Ready to get started? Check out the Quick Start guide.