task | — | What to build, change or debug (omit on a terminal to open an interactive session) |
-p [TASK], --print [TASK] | — | Run one task and print the result. Takes the task directly, or reads it from stdin when given alone. |
-m MODEL, --model MODEL | — | Model to use |
--provider PROVIDER | — | Provider for a bare model id (e.g. openai, groq, cerebras, gemini, together, fireworks, replicate, anthropic, hf). Equivalent to the "provider:model" prefix. |
-w DIR, --workspace DIR | — | Directory the agent reads and writes (created if missing). Sets EFFGEN_WORKSPACE for the run; nothing outside it is written. |
--plan | — | Propose the change without writing a file or running a command |
--auto-edit | — | Apply file writes and sandboxed runs without asking; shell commands still need confirmation |
-y, --yes | — | Apply writes, sandboxed runs and shell commands without asking (still confined to the workspace) |
--review [TARGET] | — | Review instead of change: read-only, with no tool that writes a file or runs a command. TARGET is uncommitted (the default), staged, or any revision or range git accepts (HEAD~3, main...HEAD). Combine with -f/--file, or use -f/--file alone to review files outside a repository. |
-f PATH, --file PATH | — | Include a workspace file in the review, in full. Repeatable. Used with --review, or on its own to review files without a diff. |
--session-id ID, --resume ID | — | Continue a persistent session by id (the same store as `effgen chat --session-id` and `effgen sessions list`). Prior turns are recalled and new ones saved, along with the workspace, files in context and files written; a new id starts a fresh session. |
--commit | — | After the run, offer to commit the files it wrote (y/N; needs --yes without a terminal). Only those files are committed, and it never pushes, amends, resets or discards your work. |
--commit-message MSG | — | Commit message for --commit (default: a message naming the changed files and the task) |
--undo | — | Reverse the last applied edit(s) in the workspace instead of running a task, restoring the previous file content |
--undo-count N | — | With --undo, how many recent edits to reverse (default 1) |
--max-iterations MAX_ITERATIONS | — | Iteration cap for the plan/run/fix loop (default: the coding preset's) |
--temperature TEMPERATURE | — | Temperature |
--max-tokens MAX_TOKENS | — | Max output tokens per call (raise for reasoning models that spend part of the budget before any visible text) |
--json | — | Emit the result as one JSON document on stdout (answer, files_written, diffs, actions, tokens, cost). Human output goes to stderr. |
-v, --verbose | — | Verbose output (show DEBUG/INFO logs) |
-q, --quiet | — | Quiet output (answer only) |
--no-animation | — | Disable live spinners/progress animation |