A first-time founder usually asks a spreadsheet template or a chat assistant whether an idea can work. The template assumes they already know HPP, break-even and payback; the assistant produces margins and break-even points that look precise but are not calculated from anything. AgentBuff Co-Founder keeps the model away from the arithmetic: it proposes assumptions and writes the words, and tested code computes every number.

The problem

A first-time founder usually starts from a spreadsheet template or a chat with a general AI assistant. Templates assume the user already knows terms such as HPP (cost of goods sold), BEP (break-even point) or payback. A chat assistant will happily produce margins, break-even points and market sizes that look precise but are not calculated from anything.

For a small business a wrong number has a real cost: a price that never covers fixed costs, or capital that runs out before break-even. Market claims without a source are hard to check, and a proposal, a deck and a plan written separately rarely show the same figures.

UsuallyWith Co-Founder
A chat assistant writes the margins and the break-even pointThe model proposes assumptions; tested code computes every number
Spreadsheet templates full of jargonPlain Bahasa Indonesia with a tap-to-open glossary for HPP, BEP, ROI, payback, NPV and TAM
Market claims with no sourceEach research finding links its source; claims without one are labelled as estimates
Plan, proposal and deck drift apartDocuments bind numbers from the same engine output as the plan
An AI agent cannot use the toolNine MCP tools give an agent the same engine, with read-only or read and write tokens
What changes for the founder

So the rule of the app is simple: the model proposes, code computes. The model suggests assumptions and writes the narrative, tested code computes the financials and the validation score, and the documents bind those exact numbers.

Who it is for

Co-Founder is written in Bahasa Indonesia for solopreneurs and small businesses (UMKM) who have an idea but no business background. Jargon is underlined, and tapping a term opens a short definition with an example. The same engine also serves AI agents and developers who want to run it themselves.

WhoWhat they do
Solopreneur or UMKM ownerSigns in with Google, gives a short profile and an idea, then validates it and builds the plan, brand and documents with their own AI key
Founder testing numbersUses the financial calculator and the validation score tool, which need no AI key, to see whether an idea can break even
The founder's AI agentConnects to the MCP endpoint with a token to list projects and calculate financials and scenarios; with a write token it can create projects or generate plans
Self-hosting developerRuns the app in memory on a laptop, then adds PostgreSQL, Redis, S3 storage and model overrides through environment variables
Who uses Co-Founder, and how

From idea to pitch deck

One project in Co-Founder

Each step inherits the one before. When the research changes, the plan is flagged as needing an update instead of being overwritten.

  1. Profile

    Sector, stage, goal and budget band

  2. Idea

    One to three sentences become the first project

  3. Validate

    Grounded research, then a 0 to 100 score from code

  4. Plan

    Engine numbers and three scenarios, with a narrative around them

  5. Brand

    Names, taglines, tone and a palette computed in code

  6. Documents

    A4 proposal and 16:9 deck bound to the same numbers

The financial calculator and the validation score tool work without any AI key, so anyone can test whether an idea breaks even before linking a provider. Research, plan narratives, brand kits and documents need the user's own key; the app has no AI key or AI budget of its own.

Inside the app

A three-step wizard built for a phone: a short profile, the idea and an optional AI key. The idea becomes the first project right away, and the key step can be skipped and done later in settings. A pasted key is checked with the provider before it is stored.

Phone screens: sign-in, profile, idea and the key step, with an invented user and idea.

Numbers from code, words from the model

The deterministic core has no input or output of its own. The financial engine computes unit economics, break-even, monthly projections, loans, growth models, payback, ROI, NPV, IRR, runway and tax modes in plain TypeScript functions. The validation score and the brand palette are plain functions too. Language models sit behind one provider interface, and the app treats whatever they return as untrusted until it is checked.

  • Plans: the engine computes the numbers and the three scenarios first; the model then writes the narrative with those numbers injected as fixed values.
  • Research: source links from the model are reduced to absolute http(s) links before any page shows them, and claims without a source are labelled as estimates.
  • Documents: the model fills JSON text slots defined by the template; the server escapes every slot and takes every number from the engine output.
  • Model output is validated against JSON schemas before use, and grounded or imported text is wrapped as data to resist prompt injection.

In a local run on 26 November 2026, 331 tests in 43 files passed: engines, services, MCP, OAuth, encryption and storage, plus contract tests for each AI provider adapter. Coverage on the financial and research engines is gated at 100% for lines, branches, functions and statements, and TypeScript runs in strict mode. The README also records a review of the financial engine that found and fixed an IRR bracketing bug and a numeric overflow case.

The same engine for AI agents

Real MCP calls: the nine-tool list, a financial calculation and a write tool refused for a read-only token
Real calls on the local run: the tool list, calculate_financials with the bakery inputs, and a write tool refused for a read-only token.
  • Nine tools over JSON-RPC at /api/mcp: create, list and get projects; calculate financials and scenarios; validate an idea; generate a brand kit, a document or a business plan.
  • Tokens are created in settings, shown once and stored only as a SHA-256 hash with a short prefix.
  • Scopes: each tool needs read or write, the dispatcher checks it, and every call goes to an audit log.
  • Same answers: the tool runs on the same service as the web app, as that user, so an agent gets the numbers the calculator shows.

MCP clients can also register through the built-in OAuth 2.1 server with PKCE, so an agent the founder already uses can work on the same projects without a copied token.

Settings with two demo agent tokens, one read-only; the new token value is masked.

How it is built

  • One engine, several adapters

    Pages, API routes and the MCP endpoint are thin adapters over the same services, so nothing is calculated twice.

  • Your own key, encrypted

    A fresh data key encrypts each provider key with AES-256-GCM, and a master key, which can sit in KMS, wraps the data key.

  • In memory by default

    It runs on a laptop with no database; PostgreSQL, Redis jobs, S3 storage and PDF rendering switch on through environment variables.

  • Safe production defaults

    In production the server refuses to start without a session secret and a master key, and state-changing routes reject cross-origin requests.

  • Model choices in one file

    AI vendors rename and retire models often, so model IDs live in one routing file and each task can be overridden by configuration.

  • Data rights

    In line with Indonesia's personal data law, users can download all their data as JSON or delete their account and its data.

Settings: linked AI keys and their health, usage, agent tokens and data rights (no key linked in this run).

Want a tool your AI agent can use safely?

I build software where the numbers come from tested code and agents work through scoped tokens.

Questions people ask

  • An open-source web app in Bahasa Indonesia, built by Nugraha Labib Mujaddid under the AgentBuff name, that takes a small-business founder from an idea to a validation score, a business plan with a financial model, a brand kit, a proposal and a pitch deck.
ShareLinkedInXWhatsApp