Parallax

Commands

All available slash commands in Parallax.

Overview

Parallax relies on quick slash commands for manipulating sessions. Type / in the input prompt to pull up a fuzzy-findable command list.

Supported Commands

CommandDescription
/modelOpen an interactive list to switch between Gemini models (Flash, Pro)
/parallaxSpawns a Master Coordinator Agent with subagents to run parallel executions for massive tasks
/skillsInstalls new semantic agent skills natively from skills.sh
/compactTell the agent to summarize and compress the current chat history, saving tokens and speeding up prompts
/newInstantly start a new clean session, wiping the console display
/loadOpen an interactive historical session picker to jump back into a past conversation
/initLet the agent auto-generate a PARALLAX.md file to baseline project constraints
/commitTriggers a shell sub-process to commit your current diffs, using the LLM to write the commit message

Deep Dives

/model <name>

You can pass a partial string to fast-switch immediately (e.g. /model 2.5-pro), or you can just run /model and Parallax will pop up an Ink ListPicker.

Because we run purely natively mapped to Gemini API structures, switching models instantly redirects the internal function signatures and keeps the history intact.

/parallax <objective>

This command elevates Parallax from an assistant into a true swarm architecture. When you cast a /parallax instruction, the system swaps to the high-logic gemini-3.1-pro-preview model, assigning it a Master Coordinator identity.

The Master Coordinator isolates dependent steps of your task and begins invoking massive asynchronous loops of lightweight gemini-3-flash-preview subagents using the underlying parallel function-calling API.

Each subagent individually edits files, checks statuses, or generates content before returning fully constructed code chunks back to the Coordinator, resolving massive refactors concurrently in seconds.

/compact

Long sessions inevitably eat up tokens. Instead of constantly resetting and losing context, you can run /compact.

When invoked, Parallax spins up a background agent specifically tasked with reading your last few hundred messages. It extracts the raw summary of decisions made, files altered, and paths referenced, inserts that summary into the context head, and flushes the bulk messages. Context resets to tiny string sizes but you keep all the knowledge.

/load

Conversations are automatically dumped as JSON inside ~/.parallax/[session-id].json. Running /load brings up the most recent UI session list to jump back into a past conversation while keeping the app hot. It picks right back up where the internal ReAct loop left off.

/commit

This delegates a small sub-task to Parallax. It runs git diff, sends those diffs internally to generate an accurate commit title and body, and executes the sequence. It's great for taking atomic steps before asking the agent to break your code again.

On this page