compile_events · live
awaiting first compile…
Flatland CLI

A terminal agent, purpose-built for modeling.

Open a terminal, describe a business, get a compiled financial model with live Excel export. No Claude Code or Cursor required — bring your own LLM API key.

$ npx flatland-agent

flatland setup
  Flatland API key (fl_live_...): ········  ✓ ok
  LLM provider — [1] Anthropic (default)  [2] OpenAI: 1
  Anthropic API key (sk-ant-...): ········

✓ Flatland session ready · harness 1.0

flatland> a DTC coffee brand: 3,000 subscribers at $24/mo, 35% COGS

Not a general-purpose assistant

The Flatland CLI is focused exclusively on financial and quantitative reasoning. Its entire tool surface is the Flatland engine: generate, compile, iterate, sensitivity, export. Every session stays in the domain — there is no web search, no file system access, no general-purpose tooling.

Your keys, your terms

You bring two keys. Your Flatland key meters engine answers — same plan as every other client. Your LLM provider key (Anthropic or OpenAI) pays for inference, billed by your provider at your rates, sent only to your provider. Both live in ~/.flatland/config.json on your machine and nowhere else.

The engine does the math

Nothing is computed in your terminal. Every number on screen comes from the Flatland engine over HTTPS — deterministic, typed, assertion-checked. The CLI draws a hard visual line between the two kinds of output: engine results render as labeled ✓ … · engine outputtables; the agent's commentary is plain text. You always know which is which.

Scope that updates itself

The agent's operating instructions are served by the Flatland API at launch, not baked into the binary. Modeling skills sharpen and scope tightens server-side — every session starts current, no reinstall.

Install

Get an API key at flatlandfi.com/install (50 free answers, no card), then:

$ npx flatland-agent        # run without installing
$ npm i -g flatland-agent   # or install globally

Requirement: Node.js 20+. Works with Anthropic and OpenAI keys.

Prefer your existing agent? The MCP plugin gives Claude Code and Cursor the same engine. Programmatic? The HTTP API is the same public surface this CLI uses.

Flatland · index of everything
© 2026 Flatland · made for systems of record · live pulse · awaiting first compile