Code mode / Default
Everyday implementation stays conversational.
The default lane keeps chat open for edits, shell commands, tests, debugging, and fast follow-up.
- Intent rail
- Mode switch
- .afx.yaml
VS Code extension
Low-barrier spec-driven AI coding.
Chat first in VS Code. Add Code / Explore / Spec structure when the work needs traceability, clickable workflow steps, and repo-owned markdown. Backed by pi.dev today.
VS Code Marketplace · Open VSX · Changelog · r/agenticflowx
Works in VS Code, VS Code Insiders, VSCodium & Antigravity (pre-2.0).
Core workflow
AgenticFlowX keeps daily coding conversational, then lets serious work become specs, designs, tasks, notes, journals, and code context in the repo.
Working loop
A normal coding chat stays lightweight. When the work needs decisions, review, or traceability, AFX turns that same flow into files your team can inspect later.
Ask questions, mention files, switch models, run commands, and follow up while the context is still fresh.
Move from requirements to design, tasks, implementation, validation, review, and approval without leaving VS Code.
Notes, docs, boards, journals, and pipeline views sit over plain markdown files in your workspace.
Code / Explore / Spec
AgenticFlowX is not locked into one workflow. Stay loose in Code mode, inspect safely in Explore mode, then switch into Spec mode when the work needs a planned path from requirements to design, tasks, and implementation.
Code mode / Default
The default lane keeps chat open for edits, shell commands, tests, debugging, and fast follow-up.
Explore mode / Read-only
Use Explore when you want behavior tracing, option comparison, and planning without mutation.
Spec mode / Planned
Spec mode adds the workflow rail for refining requirements, authoring designs, slicing tasks, validation, review, and approval.
AFX Viewer
AFX Viewer is not just a nicer markdown preview. It puts workflow commands directly on top of your repo files, so a spec, design, task list, ADR, note, or journal can send focused context to chat, refine a section, or start coding the selected task.
tasks.md, choose a phase or task row, and draft the focused code command into chat.
IDE traceability
AFX teaches VS Code to understand @see links in source comments. Hover
a requirement or design anchor to preview the linked markdown inline, use CodeLens to
open the source document, or jump directly to anchors like [FR-1],
[DES-API], and [2.1].
@see references into native VS Code navigation.
Project Canvas
Canvas is a freeform workspace for specs, markdown files, notes, ADRs, labels, and architecture ideas. Link cards, follow project context, and send selected canvas material back into chat when an idea is ready to become work.
promote into spec or @see trace.
project.canvas file in the workspace.
Providers
Use subscription-backed sign-ins, API keys, or local-compatible runtimes from one settings surface. Backed by pi.dev today.
Already use Pi
AgenticFlowX detects your installed Pi CLI and routes every call through
Pi RPC. Whatever you’ve configured — providers, models, defaults —
stays where it is. Nothing copied, nothing re-entered.
New to Pi
The Pi SDK ships inside the extension. Add provider keys in Settings —
they’re stored in VS Code SecretStorage and passed through the bundled SDK.
No separate Pi install required.
Providers Pi supports upstream
OpenAI Anthropic Google Gemini Google Vertex GitHub Copilot OpenRouter Amazon Bedrock Azure OpenAI Groq DeepSeek Mistral MiniMax Kimi Fireworks Cerebras Hugging Face Vercel AI Gateway xAI Z.ai Ollamalocal
Plus presets for OpenAI-compatible endpoints & local runtimes
Ollamalocal LM Studiolocal vLLMlocal OpenRouter Vercel AI Gateway Moonshot / Kimi Anthropic-compatible proxy Google AI Studio Custom (OpenAI-compatible)
Workbench tour
The main flow is chat first. The workbench is where the repo-owned pieces become visible: documents, analytics, boards, notes, journals, and project context.
Workbench surfaces
A focused tour of the repo views, without repeating the chat mode story above.
Facts
If you already use pi.dev, AgenticFlowX talks to your installed Pi CLI and uses your existing config. If you don’t, AgenticFlowX stores provider keys in VS Code SecretStorage and passes them through the Pi SDK.
No. The VS Code extension includes the chat surface, Spec mode, Workbench views, and AFX workflow actions. Specs, tasks, notes, and journals stay as plain markdown in your workspace.
No. Most coding stays in chat. The spec-driven workflow is opt-in — reach for it when a piece of work needs traceability between intent, design, tasks, and code.
AgenticFlowX is open source under Apache 2.0. No vendor billing — you bring your own provider keys, subscription sign-ins, or local runtimes.
Headless
AgenticFlowX is a VS Code extension. The workflow behind it — specs, designs, tasks, journals, traceability — also runs headless via the AFX CLI. Same skills, same files, same rules.
One-line install (from your project directory)
curl -sL https://raw.githubusercontent.com/AgenticFlowX/afx/main/afx-cli | bash -s -- .
Tested with
Apache 2.0 open source.