Use farmwork just, standard recipes, and Farmwork Tycoon with your agents
Generate a shared justfile, run recipes with farmwork just, follow a simple daily agent workflow, and watch it all live in Farmwork Tycoon.
Farmwork keeps a shared justfile in every project so you and every AI agent run the exact same commands, whether that's tests, a build, or a full quality check. This guide covers farmwork just, the standard recipes, a simple daily routine, and how to watch your agents work in Farmwork Tycoon.

What you can skip
- You don't need to write a justfile.
farmwork initcreates one for your stack. - Skip
--forceunless you really want to replace a justfile you already have. - Farmwork Tycoon is optional. Everything here works without it.
1. Generate or check your justfile
farmwork just # list recipes and descriptions
farmwork just --init # create a starter justfile if you don't have one
farmwork just --init -f # replace your existing justfile
farmwork just check # run one recipe
farmwork just shows the file, whether the just command is installed, and each recipe with its comment. Install just from just.systems to run recipes yourself.
2. The standard recipes
Every generated justfile uses the same names, so muscle memory carries across projects:
| Recipe | Runs | Use it to |
|---|---|---|
just |
just --list --unsorted |
See every recipe |
just dev |
Your dev server, when Farmwork finds one | Start the app locally |
just lint |
commands.lint |
Check code style |
just test |
commands.test |
Run tests |
just build |
commands.build |
Build the project |
just check |
farmwork gates |
Run all quality gates |
just security |
farmwork security |
Secrets and dependency scan |
just audit |
farmwork audit |
Refresh FARMHOUSE.md |
just status |
farmwork status |
Show the health score |
just view |
farmwork view |
Open the Local Farm Viewer |
just ready |
bd ready |
Show unblocked Beads tasks |
just issues |
bd list --status open |
List open tasks |
just sync |
bd sync |
Save tasks to git |
lint, test, build, and dev only appear when Farmwork knows the command. Keep a # comment above any recipe you add so it shows a description.
3. How agents use recipes
Agents use the farmwork_just tool with three actions:
listshows recipes and descriptions.runruns one recipe by name, with optionalargs. It must be a recipe that's actually in your file.initcreates a starter justfile (force: trueto replace one).
Recipes stop after 120 seconds when run this way. Farmwork also watches for drift. If your gate commands change in .farmwork.json but the justfile doesn't, farmwork doctor and farmwork audit flag it so your agents never run stale commands.
4. A simple daily workflow
Here's a routine that works with Claude Code, Codex, or Antigravity:
- Start:
just statusandjust readyto see your score and what's unblocked. - Plan big things first: Run the
planprompt, review the plan in_PLANS/, then turn it into Beads tasks. See Planning and launch checklists. - Work: Your agent claims a Beads task, makes the change, and plants any side ideas in the garden instead of building them.
- Check:
just checkbefore every commit. - Finish: Run the
shipprompt. It verifies, closes tasks, updates the checklist, and refreshes the audit.
Agents also read AGENTS.md, which lists these same commands. Keep it under 180 lines so it stays easy for them to follow.
5. Watch it live with Farmwork Tycoon
Farmwork Tycoon is a Mac app that turns each Farmwork project into a small farm and each AI agent into a vehicle driving around it. It reads the scores Farmwork already writes, so there's nothing to add to your repo.
| Farmwork score | Tycoon building |
|---|---|
| Security audit | Silo |
| Performance audit | Windmill |
| Code Quality audit | Barn |
| Accessibility audit | Market |
| Quality gates | Workshop |
| Idea Garden | Greenhouse |
| Checklist and plans | Fields |
| Overall score | Farmhouse |
Claude Code drives an orange truck, Codex a green tractor, and Antigravity a blue van. Each one heads to the building that matches the tool it's using. A farm looks run down below 3/10 and turns into a robotic farm at 8.5 and up. Run just audit and just check and you'll watch it change.
Troubleshooting
| If you see | Try this |
|---|---|
No justfile found in this repository. |
Run farmwork just --init |
just CLI: not installed |
Install just from just.systems, then run just --list |
Invalid just recipe name |
Use only the recipe name, like check, not just check |
farmwork doctor flags justfile drift |
Update the recipe to match commands in .farmwork.json |
| Your project's farm doesn't show in Tycoon | Make sure the repo has .farmwork.json, then run farmwork audit |
Related guides
Frequently Asked Questions
Do I need the just command installed?
Farmwork writes the justfile either way, but you need just installed to run recipes. Get it from just.systems, then run just --list to check.
Will farmwork just --init overwrite my existing justfile?
No. If a justfile already exists, Farmwork leaves it alone. Pass --force only if you want to replace it.
Does Farmwork Tycoon need any extra setup in my repo?
No. Tycoon finds projects that have a .farmwork.json file and reads the scores Farmwork already writes. Running farmwork audit and farmwork gates keeps the farm up to date.