method

How Frenchie Method and Kit save agent tokens

Frenchie reduces agent context waste by keeping large file results on disk and keeping product work in reviewable artifacts.

Agent work gets expensive when every step has to carry every detail.

A PDF becomes a full Markdown dump in chat. A meeting transcript gets pasted into the conversation. A requirement lives only in the prompt history. The agent keeps dragging old context forward because there is nowhere better to put it.

Frenchie reduces that waste in two separate ways.

Kit keeps file outputs out of the chat by default. Method keeps product decisions in files the agent can read when needed.

Kit saves tokens by returning metadata first

Run the install:

npx @lab94/frenchie install
npx @lab94/frenchie login

Then ask your agent to OCR, transcribe, or extract a file.

In local stdio mode, Frenchie Kit writes the heavy result to disk:

.frenchie/project-prd/result.md

The tool response stays small:

{
  "status": "done",
  "savedTo": ".frenchie/project-prd/result.md",
  "wordCount": 8421,
  "creditsUsed": 18
}

The agent gets the path and metadata. It reads the file only when the next task needs the content.

That is the whole trick. Do not stuff the context window with a 40-page file when a path will do.

Method saves tokens by making state durable

Frenchie Method writes the workflow trail under .frenchie/docs/feature/<feature-name>/.

Instead of re-explaining the project every time, the agent can read:

  • 01-requirement.md
  • 02-acceptance-criteria.md
  • 03-test-case.md
  • 04-implementation-plan.md
  • 06-test-report.md
  • 08-review-report.md

Those files become the shared memory for the feature.

The human can review them. Another agent can pick up the work. A later session can recover the decisions without asking you to paste the old chat.

The pattern is simple

Use Kit when source material is too large or too file-shaped for chat.

Use Method when product work needs a trail.

Together, they change the shape of the agent loop:

file -> Kit -> .frenchie/<source>/result.md
idea -> Method -> .frenchie/docs/feature/<feature>/*.md
agent -> reads only the file needed for the next step

You still decide what matters. Frenchie just gives the agent better places to put context.

Less paste. Less drift. More work that survives the session.