Skip to content

Farkitect is in early access. New features arrive most weeks, and these pages are updated with them. See What's New for the latest.

Generate a model

In this tutorial you’ll use FarkiBot’s Generate M1 task to build a model from a document. You’ll write a brief, watch FarkiBot draft and check the model, read the result in the Review dialog, and import it into your project.

A model (M1) is your actual content: the elements, relationships, property values and diagrams that describe a real subject. A metamodel (M2) is the modelling language a model is written in: which element types exist, which relationships may join them, and which properties they carry. Generate M1 builds a model in a metamodel you already have. It never invents the language, which is why it works well even on cheap and free LLMs.

Prerequisites:

  • FarkiBot connected to a provider with your key. If it isn’t yet, do Get started with FarkiBot first.
  • Contributor access or above in the project. Viewers can’t run the generation tasks.

What you’ll build: A Business Model Canvas for Farquind Yachts, the fictional boatbuilder used throughout these docs, generated from the business model section of its case study.

Generate M1 needs at least one metamodel in the project. This tutorial uses M2 Business Model Canvas: nine element types (Customer Segment, Value Proposition, Channel, Customer Relationship, Revenue Stream, Key Resource, Key Activity, Key Partnership, Cost Structure) and relationship types such as Targets (a Value Proposition targets a Customer Segment) and Generates (a Customer Segment generates a Revenue Stream).

The easiest way to get it is a project made from the Business Model Canvas Starter asset:

  1. Choose File > New Project…
  2. Select the From Asset tab
  3. Find Business Model Canvas Starter and click it
  4. Click Create Project

The new project holds M2 Business Model Canvas, M2 Common, and a hand-built M1 Farquind Business Model Canvas. Keep the hand-built model: at the end you’ll compare FarkiBot’s result with it. See How to browse and import from the Farketplace for other ways to get a metamodel.

FarkiBot works from what you give it: a brief, and any files you attach. Attachments for the generation tasks can be:

File How FarkiBot reads it
.md, .txt As text
.pdf Sent to the LLM as a PDF, with no conversion step
.docx Converted to text in your browser, keeping headings and bulleted lists
.farki As text: an existing model or metamodel to work from

An old .doc file won’t attach. Save it as .docx or PDF first.

For this tutorial:

  1. Open the case study’s 2.2 Business Model section
  2. Copy it, from the Revenue streams list down to the end of Channels, into a new file called farquind-business-model.md

Why not attach the whole case study? The attachment goes into the prompt, and the prompt is most of what you pay for. A focused source also gives a focused model: FarkiBot is told to ground every element in your material, so whatever you attach is what it tries to model.

  1. Open View > FarkiBot (Ctrl+Shift+K, Cmd+Shift+K on a Mac)
  2. Set the task dropdown to Generate M1
  3. Click the Metamodel: chip. It reads All M2 (2). Untick M2 Common so only M2 Business Model Canvas is ticked. The chip now reads 1 of 2 M2
  4. Click Attach files (the paperclip) under the text box and choose farquind-business-model.md. You can also drop the file onto the panel. It appears above the text box; ✕ removes it
  5. Open the LLM: picker and choose a model. A star marks a proven model-builder; a gift marks a free one. Either will do for this task

Every metamodel you leave ticked is exported and sent with the prompt, so it costs tokens and gives the LLM more types to choose from. Untick the ones the model shouldn’t use.

Beside the picker, limit ~N tok is the output limit: how long the generated file may be. It starts at the model’s own maximum, up to 64k tokens (32k when the provider doesn’t say what the maximum is).

Attached files stay attached after a run, so you can run again on the same material. Remove any you’ve finished with.

Generate stays dimmed until you type a brief, even with a file attached. Type:

Build a Business Model Canvas for Farquind Yachts from the attached
section of the case study. Cover every revenue stream, customer segment,
channel and key partnership it names, and show how they connect.
Call the package "M1 Farquind BMC (FarkiBot)".

A good brief says three things: what to model, from what, and anything about scope or naming you care about. Naming the package is worth doing here: the starter project already has a model called M1 Farquind Business Model Canvas, and a clash would stop the import to ask what to do.

Other briefs that work well:

From the attached PRD, model the application landscape.
Focus on integrations; leave out the user interface detail.
A logical data model for a library: members, loans, holdings,
reservations and fines.
From the attached workshop notes, model only the customer segments
and the value propositions aimed at each. Use the segment names
exactly as the notes write them.

The second works with no attachment, because the subject is well known. The third shows how to keep a run small: name the part you want.

What FarkiBot is asked to do with your brief, whatever you write:

  • Use only the element and relationship types in the ticked metamodels, and only the concrete ones
  • Fill in property values the source supports (here, for example, a Customer Segment’s Segment Type and Size)
  • Add a relationship for each connection the source states or clearly implies, with a note saying why it exists
  • Split a large subject into sub-packages, and draw one diagram per major subject area
  • Never invent facts. A thin source gives a small model rather than a padded one

Press Enter, or click Generate. The panel shows the run as it happens. The line at the top names the phase, the LLM and the current output limit:

  1. Thinking: a reasoning model’s thinking streams first, in grey italics. It is capped at 12k tokens so the model leaves room for the file. Once the file starts, the thinking folds away under Thinking (N tok)
  2. Generating: the raw .farki file streams in under Raw output. This is the model being written, as JSON
  3. Validating: FarkiBot checks the file with the same importer Farkitect uses for any .farki file, and against your metamodel. Every type has to exist in it, and every relationship has to join types its constraints allow
  4. Repairing: if anything fails, the exact errors go back to the LLM, which sends the whole file again. The line says (attempt 2) or (attempt 3)
  5. Raising the output limit: if the file was cut off, or a reasoning model spent its whole limit thinking, FarkiBot doubles the limit (up to the model’s maximum) and asks again. If that isn’t enough, it turns reasoning off, or asks for a smaller complete file

There are three attempts in all: the first, and up to two repairs. Each repair sends the conversation so far, so a run that needs repairs costs more than one that passes first time.

Validation is why a generated model is usually correct and not just plausible: nothing reaches you unless it imports cleanly and conforms to the metamodel. It doesn’t prove the content is right. That’s your job in step 6.

While it runs:

  • Stop ends the run. Nothing is staged
  • The run lives in this browser tab. Reloading or closing the tab ends it, and the panel says so afterwards
  • If nothing arrives from the LLM for two minutes, the run stops with “The model stopped responding”

When it finishes, a summary opens with the LLM, time taken, tokens, cost and attempts. Click Review to read the result, or Close.

What it costs: in our testing a Business Model Canvas from a free model cost $0.00, and a model from Kimi K3 about $0.16. OpenRouter reports each run’s cost; Anthropic and Google don’t, so their runs show “cost not reported”. See What it costs.

The result arrives as a staged card: the package name, an M1 badge, counts by element type and diagrams, the number of warnings, and the run’s LLM, tokens and cost. Nothing has been added to your project yet.

Click Review. The dialog has two tabs.

Contents shows the package as a tree, with the counts above it. Each row says what it is: an element shows its type, such as M2 Business Model Canvas:Customer Segment; a relationship shows its type and the names it joins, for example M2 Business Model Canvas:Targets · Affordable Low-Maintenance Sailing → First-Time Buyers; a diagram shows its node and edge counts. Warnings, if there are any, sit above the tree, folded: click to read them. A warning doesn’t stop an import, but read it first. Use the search box to find an element, a type or a relationship.

Source shows the raw .farki file, with its own search. These are the exact bytes Import will send, so what you review is what you get.

Under the tree is the provenance: the LLM, the provider and a fingerprint of the prompt. The same facts are written into the package’s notes, with the date, so they stay with the model after import.

Spend a few minutes on these questions:

Ask Why
Is everything from the source there? The section names six revenue streams and four customer segments. Count them in the tree
Is anything there that the source doesn’t say? FarkiBot is told not to invent, but check. A partner or channel you don’t recognise needs a look
Are the relationships meaningful? A Generates from each segment to the revenue it brings is insight; a model where nothing connects isn’t
Are the names yours? The Review dialog is read-only. If names are wrong, it’s quicker to say so in a new brief than to rename 30 elements later
Is the size plausible? A handful of elements from a long document means it skipped most of it

Back on the card:

Button What it does
Import Adds the package to the project
Save .farki… Saves the file without importing it, to keep, share or import later
Discard Removes the card

Click Import. M1 Farquind BMC (FarkiBot) appears as a new top-level package in the Explorer, the card says Imported, and Discard becomes Dismiss. Farkitect runs the integrity check on the project straight after.

If a package with the same name and layer already exists, a dialog asks whether to Replace it, Import as Copy (with a number added to its name), or Skip. See If a package with the same name exists.

Not ready to decide? Cards are kept in this browser, for you and this project, so they are still there after a reload or the next day. Up to 10 waiting cards are kept; an 11th removes the oldest.

The imported model is an ordinary model. Nothing marks it as AI-made apart from its notes, and you can edit, diagram and export it like anything you built by hand.

  1. Select the package and read its Notes. The first line says which LLM generated it, from which file, on which date, and to review it before relying on it
  2. Select a few elements and read their notes. Each should say which part of the source it came from, or that it is a structural inference
  3. Open one of the generated diagrams and check its layout. Tidy it as you would any diagram
  4. Open M1 Farquind Business Model Canvas, the hand-built one, and compare. What did FarkiBot find that the hand-built model lacks, and what did it miss?

If the LLM can’t produce a valid file in three attempts, or the provider returns an error, you get a red failure card in place of a staged one. It lists what went wrong, numbered. Its buttons:

  • Download raw output saves the LLM’s last answer, so nothing is lost
  • Try again runs the same brief again, with the LLM now chosen in the picker. Change the LLM first if this one has failed
  • Dismiss removes the card

What usually helps:

  • “Generation failed validation”: a smaller model often can’t write a valid file. Try a starred model, or a different free one before paying
  • Cut off at the output token limit: narrow the brief (one subject area, fewer diagrams), or pick a model with a larger output limit
  • “…remaining credit can’t cover the full output budget”: your key’s spending cap is lower than the output limit needs. FarkiBot first tries again with what the key can afford; if that fails, raise the cap or top up
  • “Generation interrupted”: the tab reloaded during the run. Try again

The full list is in Error messages.

Generate M1 is the most forgiving generation task, because the metamodel in the prompt does much of the work. Free and low-cost open-weight models often succeed; in our testing nvidia/nemotron-3-ultra-550b:free produced a good Business Model Canvas. Starred models are the safe choice for large or messy source material. See The split that matters: M1 vs M2.

When the source doesn’t hold everything you need, such as what a published standard defines, turn on Web research. That is the subject of Research the web.

  • Generate M1 builds a model in a metamodel you already have, from a brief and the files you attach
  • The Metamodel: chip decides which metamodels the result must conform to; untick the ones it shouldn’t use
  • A good brief says what to model, from what, and anything about scope and naming
  • Every result is validated against the importer and the metamodel, with up to two repairs, before you see it
  • The Review dialog shows the package as a tree of names, plus the exact source that will be imported
  • Nothing enters your project until you click Import, and staged cards wait in your browser until you decide
  • A failed run keeps its raw output, and Try again reruns the brief with any LLM

Farkitect

Model anything.

“Welcome back — your diagrams have been plotting without you.”


Release 385 · 27 Nov 2026

Top packages: Inclusion and Sharing; Create New Version; Delete from Project

Release
385
Released
27 Nov 2026, 21:29 UTC
Built
27 Nov 2026, 21:30 UTC
Environment
Production
Surface
Docs
Commit
a5968f3
Branch
main