Zero dependencies
Pure Node.js · feather-light
Less switching. Fewer interruptions. Zero waste.
A question comes up. Just ask. The answer's right by your cursor.
Click to copy
Zero dependencies
Pure Node.js · feather-light
Commands & directives
Covers your whole AI workflow
AI providers
OpenAI · Claude · DeepSeek · Ollama…
Persistent memory
Context that never drops
A question comes up.
Don't switch windows.
Let ifq answer.
Nine dimensions. Everything you need from AI in the terminal.
ifq "your question" — one line, without leaving the terminal. Ask, translate, look up, write, review — every step gets shorter.
ifq askifq translateifq shellQuery several models in parallel, then synthesize an expert consensus. For the big calls, get more than one opinion.
ifq deepContext never drops. Automatic semantic compaction. Isolated sessions — one each for work, ops, and learning.
ifq chatifq --session workGenerate .ifq, IFQ.md, and a code index in the current directory. Get project context in place before you ask or review.
ifq initifq configifq --lang zhReview a git diff directly. Generate a Conventional Commit in one shot. Scan across security, performance, and quality.
ifq reviewifq commitBuilt for scripts, CI, and automation. Quiet, no-color, JSON — drops right into your own toolchain.
ifq --jsonifq --quietifq --no-colorAuto-detect available AI tools, then classify, route, and synthesize across agents. From solo to in sync.
ifq teamifq routeVersioned prompts. Auto-evolve system / agent / soul. Diff, roll back, encrypted storage.
ifq evolveifq skills12 pro modes (launch film / keynote / dashboard / whitepaper / business card / brand system…) + 24 hand-drawn SVG icons. One line back a deliverable design, signed by ifq.ai by default.
ifq design initifq design modesifq design new M-08ifq config --url https://api.openai.comSet your API. Auto-detect the provider and available models.
ifqDrop into a persistent session. Context holds automatically.
/deep compare microservice frameworksParallel analysis across models. Expert consensus in one step.
/evolveSelf-tuning prompts. The more you use it, the better it knows you.
ifq ask or ifq "question"ifq explain · ifq shellifq review · ifq commitifq deep — multi-model consensusifq evolve — versioned promptsifq skills — install, create, invokeAuto-detect providers. Switch models with one command. ifq m for interactive picking.
One line in. Zero friction.
Classify the question. Dispatch it smartly.
One model for speed. Many for depth.
Semantic compaction. Persistent storage.
Prompts that iterate on themselves. Stronger the more you use it.
Deeper shell integration. Native pipe support. Real-time workflows.
Stable API. Performance tuning. Error recovery. Production-grade reliability.
Learns your patterns. Predicts your intent. Suggests proactively.
A skills marketplace. A plugin system. From tool to platform.
ifq CLI is a command-line AI tool by IFQ.AI (created by peixl) that brings AI directly into your terminal workflow — ask questions, explain code, review diffs, generate shell commands, run multi-model deep analysis, and more, without ever leaving the shell.
Install it globally with npm: npm install -g @peixl/ifq. Then set your API key with ifq config --key sk-your-api-key and run ifq to start a session.
ifq CLI works with OpenAI, Anthropic (Claude), OpenRouter, DeepSeek, Ollama, and any OpenAI-compatible API. It auto-detects providers and lets you switch models with a single command (ifq m).
Yes. ifq CLI is free to use and published on npm under the MIT license as @peixl/ifq.
Instant Q&A (ifq ask), code explanation (ifq explain), code review (ifq review), commit messages (ifq commit), natural-language shell commands (ifq shell), multi-model deep analysis (ifq deep), persistent sessions (ifq chat), multi-agent teamwork (ifq team), self-evolving prompts (ifq evolve), and IFQ Design Skills (ifq design). Over 50 commands and directives in total.
IFQ Design Skills is a design system built into ifq CLI: 12 pro modes (launch film, keynote, dashboard, whitepaper, business card, brand system and more) plus 24 hand-drawn SVG icons. One line gives you back a shippable design, signed by ifq.ai by default. See https://cli.ifq.ai/design.
Yes. With Ollama — or any local OpenAI-compatible endpoint — ifq CLI can run fully local models offline, so no data leaves your machine.
ifq CLI runs on macOS, Linux, and Windows. It requires Node.js (version 18 or newer) and ships with zero dependencies (pure Node.js, feather-light).
Today, it answers.
Tomorrow, it collaborates.
Beyond that, it'll know what you need before you do.
One day you'll open the terminal, and it's already waiting.