Introduction
Foundry is the operating layer for a growing fleet of SaaS products. It gives every app the same source of truth for project metadata, tasks, comments, deployment state, product widgets, audit results, and agent handoffs.
It is API-first on purpose: the cockpit is useful for humans, but the REST API, TypeScript SDK, and fnd api CLI are what make it easy for agents and scripts to keep the fleet current.
The Operating Loop
Section titled “The Operating Loop”| Layer | Purpose | Key Components |
|---|---|---|
| Registry | Know what exists | Project slugs, prod links, GitHub repos, notes, limits |
| Tasks | Know what needs work | Comments, blockers, PR status, deploy state, agent handoffs |
| Widgets | Add product surfaces fast | Feedback, changelog, testimonials, waitlist |
| Audits | Keep the fleet healthy | GitHub, Cloudflare, auth, smoke, performance checks |
| Standards | Reduce drift | Shared configs, docs, CLI recipes, fleet guidance |
Core Services
Section titled “Core Services”Foundry provides high-quality modules you can drop into any product:
- Project metadata: production URLs, GitHub links, README summaries, rate limits, and operating notes.
- Symphony tasks: durable task records with comments, blockers, branch/PR/deploy fields, and audit history.
- Widgets: embeddable React components for feedback, changelogs, testimonials, and waitlists.
- Fleet audits: repeatable checks across GitHub, Cloudflare, production smoke, auth, and performance.
- Free AI first: gateway patterns that prefer free/local AI before paid providers.
Architecture
Section titled “Architecture”- Workers API — Hono on Cloudflare Workers, backed by D1.
- Cockpit — Next.js dashboard for projects, tasks, and fleet state.
- Docs — copy-paste recipes for API, CLI, SDK, and widgets.
- CLI — the unified interface for agents and scripts.
Next Steps
Section titled “Next Steps”- Quickstart — Create a project and call the API.
- CLI — Manage projects, tasks, and fleet metadata from scripts.
- Widgets — Add a product surface without building a backend.