Skip to content
Goatfied

CLI & API

Sessions

Conversations persist on disk so you can pick them up where you left off.

One-shot vs. saved

Every non-print run and every REPL session is saved to ~/.goatfied/sessions/<id>.json. Print mode (-p) never saves — see Automation.

Interactive mode

Run goatfied with no prompt to open a REPL. Type, press Enter, and the reply streams back. The conversation is kept in context across turns. Use /model <class> to switch models mid-session and /exit to quit.

$ goatfied
you › what does src/queue.ts do?
goat › …
you › /model aiarco-comet-1.0
you › now write a test for it

List and resume

goatfied sessions                       # list saved conversations
goatfied ls -o json                     # list as JSON
goatfied --resume 4f3c1a2b "and add tests for that"

Continue the latest

-c / --continue picks up your most recent session without needing its id:

goatfied -c "now write a changelog entry"
Next
Goatfied — The AI code editor