opencompany
September 18, 2026 · View on GitHub
opencompany is an AI workspace with chat, durable tasks and workflows, connected integrations, Wiki knowledge, and cloud coding sessions.
Stack
The monorepo uses Bun and Turborepo. web is the Next.js App Router presentation client deployed
on Vercel, api is the Hono product API deployed on Render, and runner is the Fastify durable
execution service deployed on Render. Data lives in branch-isolated Neon Postgres and is accessed
through Drizzle by the API and runner. WorkOS provides authentication, Electric provides authorized
live read models, and Vercel AI Gateway fronts model providers.
Maintainer quick start
bun install
bun run setup
bun run dev:web
bun run setup pulls development values from Infisical, creates or reuses a Neon branch tied to
the current Git branch, runs migrations, and writes local app env files. bun run dev and
bun run dev:web both start the opencompany web app, canonical API, runner, Stripe CLI webhook
forwarding, Electric, and the local HTTPS/tunnel support needed by integrations.
The tracked .infisical.json selects opencompany's Infisical project; it contains no credentials,
so an authenticated CLI session with project access is still required. The Vercel project binding
remains local, gitignored state, with a tracked example documenting its shape.
This setup path is currently maintainer-oriented. Community contributors can install dependencies and run the repository checks without opencompany-managed credentials, but a credential-independent core local-development path is not yet documented. Better community setup instructions are a planned follow-up; optional provider-backed features will continue to require personal credentials.
See Getting started for prerequisites and troubleshooting.
Repository layout
apps/web— the opencompany Next.js presentation client and stable public relay surface.apps/api— the canonical typed API, application services, and provider ingress handlers.apps/runner— opencompany background workers, durable turns, Wiki ingestion, and cloud coding.apps/docs— user and API documentation built with Fumadocs.apps/stripe-webhooks— local Stripe CLI forwarding for opencompany billing.apps/marketing— the public marketing site.apps/design-systemandpackages/ui— shared UI development.packages/db— opencompany schema plus isolated billing and LLM-broker compatibility schemas.packages/agent,packages/telemetry,packages/wiki— opencompany agent, telemetry, and wiki support.drizzle— immutable migration history.scripts— local setup, Neon branching, release, and operational checks.
Quality gates
bun run format:check
bun run lint
bun run typecheck
bun run build
bun run test
bun run db:migrations:check
bun run secrets:check
See CONTRIBUTING.md for the review and verification expectations.
License and community
opencompany is available under the MIT License. The owner-approved license decision, notice policy, and contribution terms are documented in OPEN_SOURCE.md. See THIRD_PARTY_NOTICES.md for copied third-party material and TRADEMARKS.md for permitted brand use.