Introducing FerixCode
A powerful CLI for development with Ralph loops. Built on top of Claude, Cursor & OpenCode.
Run Autonomously
Start a task and step away. Perfect for long-running jobs that complete while you're AFK.
Provider Agnostic
Works with Claude, Cursor, and OpenCode. Use your preferred AI provider with a single flag.
End-to-End Workflows
From task to PR in one command. Create branches, run tests, and open pull requests automatically.
npm i -g ferix-codeInstall ferix-code globally with npm
ferix "Add auth to my app"Run your first task with a simple command
-i, --iterations <n>Max iterations-c, --verify <commands...>Verify commands--branch <name>Create branch--pushPush to remote--prCreate PR--provider <name>LLM provider--no-yoloRequire permission prompts (yolo mode is default)-d, --debugEnable debug logging to .ferix/logs/All available command-line flags
ferix "Add user authentication"Describe what you want in plain English
ferix "Fix login bug" -c "bun test" -c "bun lint"Run tests and linting after completion
ferix "Refactor the API layer" -i 10Run multiple iterations for complex refactoring
ferix "Add dark mode support" \
--branch feat/dark-mode \
--push --prCreate a branch and open a pull request
ferix "Complete all tasks in PRD.md"Complete tasks from a structured specification file
ferix "Add caching layer" --provider cursorUse Claude, Cursor, or OpenCode as the LLM
01SetupCreate session → Setup worktree → Capture base branch02DiscoverySpawn fresh LLM → Break down task → Generate session name03IterationBuild prompt → Spawn fresh LLM → Parse signals → Update plan04CompletionCommit changes → Push branch → Create PRThe Ferix loop follows a structured flow: setup, discovery, iteration, and completion
while :; do cat PROMPT.md | claude ; doneThe original pattern: same prompt piped to Claude in a bash loop
ferix run --iterations 5 --verify 'bun test'Enhanced RALPH with orchestration, signals, and git isolation
How Ferix extends the pure RALPH pattern