Broker credentials, not behavior
Connect owns OAuth state, refresh tokens, API keys, and short-lived token delivery. Your runtime owns provider capabilities such as email.send.
OSS preview Apache-2.0
Layups Connect is a small, self-hosted credential broker for agentic software—compatible with the Vercel Connect runtime contract and designed to run on Cloudflare.
// Inside an Activity, job, or agent tool const { token } = await getToken({ connector: 'google', subject: { type: 'user', id: accountEmail, }, }); // Use it, then let it go.
Connect owns OAuth state, refresh tokens, API keys, and short-lived token delivery. Your runtime owns provider capabilities such as email.send.
Use familiar Connect request and response shapes with a configurable origin. Move off a hosted broker without rewriting every caller.
Run the broker, encrypted grant store, and policy checks in your Cloudflare account. No application filesystem and no shared credential SaaS required.
The production entry point and the marketing site ship together. Durable Object SQLite provides the coordination boundary for grants and OAuth state, while Wrangler manages the deployment.
# 1. Clone and verify git clone git@github.com:layups-ai/layups-connect.git cd layups-connect mise install pnpm install --frozen-lockfile pnpm check # 2. Add deployment secrets pnpm --filter @layups/connect-worker exec wrangler secret put \ CONNECT_ENCRYPTION_KEYRING_JSON # Repeat for GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET. # 3. Review wrangler.json, then ship pnpm deploy