intelligent-terminal
AGENTS.md2k starsChanged 4 months agoMITView on GitHub
Intelligent Terminal is a Windows Terminal fork that adds first-class AI agent workflows. The inherited Windows Terminal build, architecture, and C++ conventions are documented in .github/copilot-instructions.md; this file contains only the fork-specific context. - WTA (tools/wta/) is the Rust orchestrator. - ACP means Agent Client Protocol. wta-master owns a pool of agent CLI processes keyed by agent identity, execution source, and command; helpers using the same key share one process and multiplex sessions through it. Installed, policy-allowed native host agents…
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about microsoft/intelligent-terminal
- @awakecoding.com“"Intelligent Terminal is an experimental fork of Windows Terminal with native agent integration." Microsoft …”Bluesky · Sep 16, 2026 · 2 likes
- yeelam-gordon/intelligent-terminal“Historical validation: agent-pane lifetime and cross-window transfers (#898)”GitHub · Sep 21, 2026
- yeelam-gordon/intelligent-terminal“Defer WSL shell integration installation until a new tab opens”GitHub · Sep 10, 2026
- yeelam-gordon/intelligent-terminal“Make session MCP tool schemas safe for strict function-calling providers”GitHub · Aug 27, 2026
- microsoft/terminal“Tamil Language Text Overlaps in Terminal.”GitHub · Aug 27, 2026
The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 10
Talked about on GitHub and Bluesky (10 times).
On GitHub · 9
- Sep 21, 2026Historical validation: agent-pane lifetime and cross-window transfers (#898) — yeelam-gordon/intelligent-terminal0 reactions
- Sep 10, 2026Defer WSL shell integration installation until a new tab opens — yeelam-gordon/intelligent-terminal0 reactions · 3 comments
- Aug 27, 2026Make session MCP tool schemas safe for strict function-calling providers — yeelam-gordon/intelligent-terminal0 reactions · 3 comments
- Aug 27, 2026Tamil Language Text Overlaps in Terminal. — microsoft/terminal0 reactions · 14 comments
- Jul 15, 2026Mirror of #218 upstream-sync skill (for review loop) — yeelam-gordon/intelligent-terminal0 reactions
4 more on GitHub
- Jul 14, 2026integrate Intelligent Terminal with b00t ACP — bridge to Windows desktop — elasticdotventures/_b00t_0 reactions · 1 comment
- Jul 14, 2026Add release-notes agent skill (mirror of #408 for review loop) — yeelam-gordon/intelligent-terminal0 reactions
- Jun 17, 2026New version: Microsoft.IntelligentTerminal version 0.1.1681.0 — microsoft/winget-pkgs0 reactions · 8 comments
- May 29, 2026jun 2026 — kimtth/azure-openai-llm-notes0 reactions · 1 comment
On Bluesky · 1
- Sep 16, 2026"Intelligent Terminal is an experimental fork of Windows Terminal with native agent integration." Microsoft is forking its own Windows… — @awakecoding.com2 likes and reposts
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository9 other files it gives its agents.
- tools/wta/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- add-acp-agent-supportSkill
- copilot-pr-review-loopSkill
- ensure-localizationSkill
- pr-integration-testSkill
- release-notesSkill
- store-listing-localizerSkill
- upstream-syncSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 120
Always use the explicit Windows target.
- Distinctive: line 144
After C++, XAML, IDL, packaging, resource, or mixed Debug changes, deploy with:
- Very specific: line 151
Do not perform a full package deployment for a wta.exe-only change.
- Very specific: line 184
Use WTA_LOG=debug or WTA_LOG=trace for additional Rust tracing.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Intelligent Terminal
Intelligent Terminal is a Windows Terminal fork that adds first-class AI agent
workflows. The inherited Windows Terminal build, architecture, and C++ conventions
are documented in .github/copilot-instructions.md; this file contains only the
fork-specific context.
Architecture
WindowsTerminal.exe
|-- TerminalProtocolComServer (COM, discovered through WT_COM_CLSID)
|-- SharedWta --> wta-master --> agent CLI pool (ACP over stdio)
+-- one wta-helper pane per tab
|
+-- helper/master ACP over a named pipe
+-- session-scoped MCP tools
Agent or human CLI --> wta/wtcli --> COM IProtocolServer --> Windows Terminal- WTA (
tools/wta/) is the Rust orchestrator. - ACP means Agent Client Protocol.
wta-masterowns a pool of agent CLI processes keyed by agent identity, execution source, and command; helpers using the same key share one process and multiplex sessions through it. Installed, policy-allowed native host agents other than Gemini initialize in the background at master startup and remain resident. Gemini is excluded from automatic sidebar discovery; explicit Gemini and other selections initialize on demand. - WT Protocol is the terminal-control boundary.
wtcli.exeactivatesIProtocolServerthrough the package COM registration. - Session MCP exposes
run_command_in_current_shell,create_workspace,delegate_task_in_new_workspace, andrequest_user_input. It routes requests to the owning helper and never executes terminal actions itself. - Agent panes are ordinary
ConptyConnectionpanes hostingwta-helper; C++ does not speak ACP.
See doc/specs/Multi-window-agent-pane.md for the detailed lifecycle and
tools/wta/AGENTS.md for WTA-specific implementation rules.
Supported agents and settings
Built-in ACP and delegation providers are Copilot, Claude, Codex, Gemini, and
OpenCode. Custom providers use a custom:<name> ID plus the matching custom
command setting.
{
"acpAgent": "copilot",
"acpModel": "",
"acpCustomCommand": "",
"delegateAgent": "copilot",
"delegateModel": "",
"delegateCustomCommand": "",
"agentPanePosition": "bottom",
"autoErrorDetectionEnabled": true,
"autoFixEnabled": false,
"aiIntegration.coordinator.enabled": false,
"aiIntegration.coordinator.commandline": "wta",
"aiIntegration.coordinator.profile": "{fd19208a-412b-4857-8a2d-9ca592b4b16e}",
"aiIntegration.confirmation.readOperations": "auto",
"aiIntegration.confirmation.createOperations": "auto",
"aiIntegration.confirmation.inputOperations": "auto"
}The settings model is authoritative; check
src/cascadia/TerminalSettingsModel/MTSMSettings.h and
src/cascadia/inc/AgentRegistry.h before documenting defaults or providers.
User-facing behavior
| Trigger | Behavior |
>Toggle AI assistant | Stash or restore the current tab's agent pane |
?<prompt> | Delegate a prompt through WTA |
? | No-op |
&<prompt> | Reserved background-task entry point; currently a no-op |
Important invariants:
- Each eligible tab pre-warms one stashed helper. Skip pre-warm when WTA is unavailable, policy blocks all agents, the tab has no active terminal, or a dragged-in agent pane already exists.
- Toggling an agent pane stashes/restores it; it does not destroy the helper, ACP session, or chat history.
- Per-tab events carry tab and window identity. Route responses to the owning tab instead of broadcasting across panes or windows.
- Autofix requires a connected helper session. Failures received before the session connects are not replayed later.
- Terminal mutation requested by an agent goes through the confirmation-gated session MCP action path. Agent-owned shell tools are a separate execution path.
Key files
| Area | Path |
| Terminal integration | src/cascadia/TerminalApp/TerminalPage.cpp |
| Protocol bridge | src/cascadia/TerminalApp/TerminalPage.Protocol.cpp |
| Tab lifecycle and pre-warm | src/cascadia/TerminalApp/TabManagement.cpp |
| Agent pane chrome | src/cascadia/TerminalApp/AgentPaneContent.cpp |
| Stash/restore | src/cascadia/TerminalApp/Tab.cpp |
| Shared WTA process | src/cascadia/TerminalApp/SharedWta.cpp |
| COM server | src/cascadia/WindowsTerminal/TerminalProtocolComServer.cpp |
| Protocol IDL | src/cascadia/TerminalProtocol/TerminalProtocol.idl |
| Agent registry | src/cascadia/inc/AgentRegistry.h |
| Settings | src/cascadia/TerminalSettingsModel/MTSMSettings.h |
| WTA master/helper | tools/wta/src/master/mod.rs, tools/wta/src/helper/mod.rs |
| Runtime agent prompt | tools/wta/prompts/terminal-agent.md |
Build and validation
WTA and Terminal use separate build systems. Build WTA before packaging changes
that need a refreshed wta.exe.
WTA
Always use the explicit Windows target. CascadiaPackage.wapproj prefers this
output over the host-target fallback, so mixing target layouts can silently
deploy a stale binary.
cargo build --target x86_64-pc-windows-msvc --manifest-path tools/wta/Cargo.toml
cargo test --target x86_64-pc-windows-msvc --manifest-path tools/wta/Cargo.tomlOutput: tools/wta/target/x86_64-pc-windows-msvc/debug/wta.exe.
A live WTA process may lock the output. Stop only processes whose executable
path exactly matches the binary being rebuilt; never terminate every wta.exe
or WindowsTerminal.exe by name.
Terminal
cmd.exe /c "tools\razzle.cmd && bcz no_clean"For Release use bcz rel no_clean. For a project-local incremental build, enter
the project directory in the same razzle CMD session and use bx.
After C++, XAML, IDL, packaging, resource, or mixed Debug changes, deploy with:
.\build\scripts\Invoke-IntelligentTerminalDebugDeployment.ps1 `
-AppxRecipePath src\cascadia\CascadiaPackage\bin\x64\Debug\CascadiaPackage.build.appxrecipeDo not perform a full package deployment for a wta.exe-only change. Static
assets such as wt-agent-hooks do require packaging.
Runtime data and diagnostics
Packaged state and cache data are package-private:
- State:
Packages\<PFN>\LocalState\IntelligentTerminal - Cache/logs:
Packages\<PFN>\LocalCache\Local\IntelligentTerminal - Logs:
logs\<package-version>\
Unpackaged development falls back to
%LOCALAPPDATA%\IntelligentTerminal. Resolve paths through the shared runtime
path helpers; do not hard-code %TEMP% or a bare LocalAppData path.
Primary logs are:
wta-main_master.<UTC-date>.logwta-main_helper-{pid}.<UTC-date>.logwta-cli.<UTC-date>.logwta-delegate.<UTC-date>.logwta-probe.<UTC-date>.logwta-install-hooks.<UTC-date>.logwta-panic.<UTC-date>.logwta-ensure-host.logwta-acp-debug.logterminal-agent-pane.log
Rust WTA streams with dated names rotate daily and retain up to three matching
files. If a daily writer cannot initialize, that stream uses the fixed
wta-<stream>.log name in the same directory. Per-PID helper logs are also
reclaimed after three days.
Use WTA_LOG=debug or WTA_LOG=trace for additional Rust tracing. See
tools/wta/README.md for current diagnostics and CLI usage.
Focused design references
- Multi-window helper/master lifecycle:
doc/specs/Multi-window-agent-pane.md - Session tracking:
doc/specs/hybrid-agent-session-tracking.md - Security boundaries:
doc/security-model.md - Installer:
doc/building-installer.md - WTA customization:
tools/wta/CUSTOMIZATION.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

