Skip to content
Meet Garden. Finance starts with a conversation.Take a look
Garden for developers

A financial workspace. A foundation to build on.

Build billing into your product. Bring your own agents into the financial conversation. GardenKit, Planter and the Keystone contract provide clear integration boundaries for the work.

Garden, in conversationProduct vision
Your revenue agentClover · Garden chief
Your agent

Clover, here is the revenue context for our next month-end review.

Garden

Let’s pick up the conversation and compare the periods.

ContextCloverDraft
Garden · Product vision
NORTH STUDIO · ILLUSTRATIVE DATA

Two years. One clearer picture.

2022 — 2023 · Annual comparison · USD

Illustrative 2022 and 2023 financial comparison for North Studio
Metric20222023
Revenue$840,000$1,080,000
Operating profit$210,000$324,000
Operating margin25.0%30.0%

Revenue grew 28.6%, while operating profit grew 54.3%. Operating margin increased by 5 percentage points.

Source context stays attached.North Studio · sample annual P&Ls, 2022 and 2023. Prepared by Clover from your revenue agent's illustrative context.

Product vision · fictional company and illustrative figures. This example does not connect to an outside agent or financial account.

Illustrative dataExplore the possibilities
GardenKit / Core surface

The billing work, in a few clear calls.

Checkoutgarden.checkout.create(...)

Create a hosted or embedded checkout session.

Customer portalgarden.portal.link(...)

Create a customer billing portal link.

Usage meteringgarden.usage.ingest(...)

Record usage with a stable event identity.

Invoicesgarden.invoices.list(...)

Read invoices for the scoped customer.

Payment methodsgarden.paymentMethods.list(...)

Read the account's payment methods.

Webhooksgarden.webhooks.route(...)

Verify and route incoming billing events.

A place for your outside agents

Bring the financial context into your own workflow.

The product vision connects agents outside Garden through authorized API and MCP integrations. Use the relevant service contract for the operation, with identity and access supplied through the platform boundary.

Garden, in conversationProduct vision
Your agent

Keep me in the loop when an invoice changes.

A conversation that travels.
  1. Invoice updatedThe context starts here.
  2. Garden eventA structured signal for your workflow.
  3. Your outside agentReady for the next conversation.
Illustrative dataExplore the possibilities
Shared platform. Clear ownership.

Keep the boundaries intentional.

Auth owns identity and sessions. IAM owns roles, grants and entitlements. Garden owns billing accounts, usage, invoices, wallets and plans. Applications use the Keystone contract to bring those pieces together.

A contract across frameworks

@l1fe/keystone@l1fe/keystone-next@l1fe/keystone-tanstack@l1fe/keystone-vite

A GardenKit bridge

@l1fe/garden/keystone

The GardenKit adapter connects tenant context to checkout, usage ingestion and portal links.

TypeScript, with framework entrypoints

Bring billing to your existing application.

GardenKit exposes entrypoints for Next.js, Hono, Express and Keystone. Configure your authorized API endpoint, account context and credentials on the server.

Events & integrations

Stay connected to the financial workflow.

Webhooks

GardenKit includes webhook verification and routing helpers. Use the configured secret and current service contract, with durable duplicate handling appropriate to your deployment.

Explore webhooks

Agent integrations

Explore the available developer tools and service-specific integration contracts. Agent access follows the permissions configured for your workspace.

Explore the agent experience
Good questions.

Start with the right contract.

What is the difference between Keystone and GardenKit?

Keystone is the application-facing platform contract for identity, access and billing. GardenKit is the typed Garden billing SDK and includes a Keystone adapter.

Where should API credentials live?

Configure privileged credentials on your server. Pass the appropriate account context through the platform integration and keep secrets out of browser bundles.

Does the preview show a connected developer account?

No. The website preview uses sample data. Your available developer tools and services depend on your account and deployment.

How do I add an embedded billing interface?

Explore Planter, the React billing experience exported from @l1fe/garden/planter, with data helpers in @l1fe/garden/planter/server.

Build a little more Garden into your world.