First project
Build a customer briefing application on the foundation.
Build a customer briefing application
This walkthrough turns a generic AI thread into a narrow first product without new infrastructure. The first useful behavior is: a signed-in customer pastes fictional notes and receives a prioritized briefing, with saved history and metered usage.
Get the foundation working
Complete the quickstart on your own database. Verify email, create an organization, fund your personal workspace, and run the first real General response. Keep this baseline while customizing.
Use synthetic notes; do not put customer secrets or regulated data into a new deployment before evaluating provider/data obligations.
Give it a product identity
Set the name to Customer Brief, application mode, and your sender. Replace brand assets and the conversation welcome copy. In apps/web/components/thread/conversation.tsx, inspect the current welcome behavior and add a brief prompt suggestion, such as:
Turn these notes into a customer briefing: problem, three next actions, and unknowns to validate.
Keep suggestions as composer text, not automatic execution. A click should let the customer edit before submitting.
Make the answer useful
Start with General and explicit user instructions: require a compact problem statement, three actions, and an uncertainty section. Read the agent registry/version contract before specializing an instruction. If you persist a new instruction version, retain the old definitions for saved runs.
The first product needs no new provider, no file upload, and no additional specialist. It benefits immediately from auth, workspace isolation, saved threads, cancellation, token usage, and credits.
Keep a real feedback loop
Create two independent accounts. A thread from the first must be inaccessible to the second. Ask for a briefing, reload, and confirm the same messages and completed run. Cancel a second task while it is running and inspect the saved terminal state. Check the ledger and ensure refreshes do not charge twice.
For structured domain records later, add a workspace-owned table and domain service. Use validated saved output and current permissions. Do not use a browser-supplied workspace ID as an access grant.
Add commerce only after the core task works
Configure your own Stripe test-mode recurring prices and webhook. Verify the initial allowance, duplicate delivery, and cancellation. Those subscriptions belong to Customer Brief; they are unrelated to the one-time FoundryLayer source license. Choose prices and starter-credit policies for your business rather than copying the reference plan blindly.
Connect a tool only when it improves this product
A GitHub read can support a developer briefing. Configure your own Composio project and connect an account in your workspace. Ask an explicitly read-only question and inspect the source. A future email-send feature must use the existing exact-action approval and durable mutation service. Do not authorize sends through natural-language consent alone.
Launch checklist
Follow deployment on a separate hosted database. Prove real email, sign-in, one AI task, persistence, isolation, the recovery schedule, and any enabled subscription/integration paths. Publish your own privacy/buyer terms and support policy. Only then invite your first customers.
FoundryLayer