Skip to content
Proyectos

Acerca de

Open-source, composable full-stack packages an AI can wire correctly. Swap any provider in one line. Export anytime.

IA y aprendizaje automático

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

molecule

1,900+ free, open-source building blocks across 150+ categories for almost any web, mobile, or backend app.

Drop polished features and infrastructure into your existing app in minutes, or build a fresh one from scratch. Every piece is swappable, so changing tools or providers later never means rewriting your app.

Website · Catalog · CLI & MCP (mlcl) · For AI Agents · Apache-2.0

Why Molecule

Drops into existing apps

  • Built for B2B products, internal tools, and customer apps.
  • Leaves your existing router, entry point, and tests alone.

Works out of the box for brand-new apps too

  • Compose a fresh full-stack app from the packages you need with npx mlcl create or at molecule.dev.

Zero lock-in

  • Every backend service, frontend framework, styling library, and integration sits behind a swappable interface.
  • Change one connection instead of rewriting your app.

Covers the full stack

  • 1,900+ tested packages across 150+ categories, growing daily.
  • Backend infrastructure, APIs, rich UI features, native mobile tools, translations in dozens of languages, testing, and CI/CD.

Faster and cheaper with AI

  • Agents install tested packages instead of burning tokens rebuilding common features from scratch.
  • Docs generated from source let even smaller models wire packages cleanly.

Plain TypeScript you own

  • Apache-2.0, standard Node.js tools, no proprietary runtime.
  • Export any molecule.dev project anytime.

Built to keep improving

  • Analytics, error tracking, and user feedback are packages too.
  • On molecule.dev, AI reads real usage and helps iterate.

Quick Start

1. Connect your AI coding tools

Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, and more:

npx mlcl setup

2. Ask your agent for what you need

  • "Add a data table with search, filters, and translations"
  • "Add Stripe subscriptions"
  • "Switch our email from Mailgun to AWS SES"

Your agent finds the right packages, wires them up, and verifies tests pass.

Prefer building in the browser? Open molecule.dev. (You can also run mlcl commands directly; see For AI Agents.)

What's Included

A sample of the 1,900+ packages across 150+ categories, growing daily (browse full catalog):

Backend (@molecule/api-*) Examples
Databases & storage PostgreSQL, MySQL, SQLite, DuckDB, Redis, file uploads, search, migrations
Logins & security Auth, OAuth, sessions, roles, secrets, rate limiting, audit logs
Payments & billing Stripe, PayPal, Apple, Google, RevenueCat, subscriptions, invoicing
Email & messaging Mailgun, AWS SES, Resend, SendGrid, SMS, push, webhooks, WebSockets
Jobs & files Queues, cron, PDFs, media processing
AI & automation Multi-provider LLMs, embeddings, vector search, agent workflows
Analytics & ops Mixpanel, PostHog, Axiom, logging, error tracking, feature flags
Frontend (@molecule/app-*) Examples
Frameworks React, Vue, Svelte, Solid, Angular, React Native
UI & themes Accessible components, themes, swappable styling (UIClassMap)
App basics Routing, state, forms, API clients, login flows, storage
Rich features Charts, maps, rich text, data tables, calendars, uploaders
Mobile & device Native APIs, push notifications, offline storage, media

Standard stack: TypeScript, Node.js (>= 22), Vite, Vitest, ESLint, Prettier, any CI/CD.

How It's Built

Core + Bond pattern

Every capability is split into a core interface (@molecule/api-database) and a bond for a specific vendor (@molecule/api-database-postgresql).

import { setPool, setStore } from '@molecule/api-database'
import { pool, store } from '@molecule/api-database-postgresql' // swap to -mysql or -sqlite

setPool(pool)
setStore(store)

Your app only calls the core (findMany, create, updateById). Swap the bond import to change providers.

Frontend, styling, and translations

Swappable frontends

  • React, Vue, Svelte, Solid, Angular, and React Native share the same core interfaces.

Swappable styling

  • UIClassMap lets any styling library work across every framework.

Built-in translations

  • UI packages ship with pure-data locale packs in dozens of languages.

Add Your Service

Service providers

  • Open a GitHub issue with your API and auth flow.
  • We build, document, and publish the bond under @molecule/*.

Developers

  • Open an issue or PR against any public core interface.

Companies

  • Build private bonds for internal services using the same contracts.

Roadmap

Today

  • 1,900+ TypeScript packages across 150+ categories.
  • 6 frontend frameworks, CLI + MCP server, source-generated docs, and molecule.dev.

Next

  • Deeper agent maintenance and migrations.
  • More languages beyond TypeScript/Node, plus desktop and edge targets.
  • Enterprise compliance (SOC2, HIPAA, GDPR), private registries, and a bond marketplace.

For AI Agents

Fits almost any JS/TS project (existing or new, B2B SaaS, API, web, mobile, internal tools). Use @molecule/* packages via the molecule MCP server or mlcl CLI instead of hand-writing integrations.

  • Strict abstract core types with docs generated from src/index.ts JSDoc.
  • Uniform bond, UIClassMap, and t() conventions across all 1,900+ packages.
  • Always call @molecule/api-* and @molecule/app-* cores directly, never vendor SDKs.
  • add --inject wires providers in src/bonds/ without changing existing routers, entry points, or tests.
Step Command What it does
Setup npx mlcl setup Configures MCP server, skills, and project conventions
Search npx mlcl search <capability> Finds packages by capability (or search_packages in MCP)
Docs npx mlcl docs @molecule/<name> Reads source-generated API, examples, env vars, peer deps
Examples npx mlcl examples "<feature>" Shows tested patterns with file maps
Install & wire npx mlcl add @molecule/<name> --inject Installs package and wires provider in src/bonds/
Swap provider npx mlcl swap @molecule/<new-provider> Switches vendors without touching app code
Verify npx mlcl check Runs typecheck, lint, build, and tests
New project npx mlcl create Scaffolds a fresh app

Guides: AGENTS-AND-HARNESSES.md · INTEGRATE-EXISTING-APP.md

Development

git clone https://github.com/molecule-dev/molecule.git
cd molecule
npm install
npm run build
npm test
npm run lint
npm run format:check

Molecule keeps its own npm install so sibling workspaces can link its source without changing its dependencies.

Contributing · Security · Apache-2.0 (Copyright 2026 Molecule Dev, Inc.)

Explorar proyectos relacionados

Cargando…