# Duoterm

> Control and observe shared tmux sessions across WSL and SSH directly from your agent.

Duoterm is a free AI agent skill on Agensi by sean ye, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [sean ye](https://www.agensi.io/creators/sean-ye)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/duoterm
- Tags: ai-agents, tmux, wsl, ssh, terminal

## About this skill

Duoterm is an Agent Skill that enables AI agents to share and interact with your existing terminal sessions. You can work normally while the agent reads terminal output and executes commands, eliminating manual copy-pasting.

It supports multiple named terminal sessions, including local WSL shells and remote SSH connections. The agent only operates on explicitly specified sessions.

Built with safety in mind, Duoterm ensures commands run only at idle prompts, handles interactive programs through keystrokes, and leaves passwords and host key verification under your control. It also supports one-time local execution when needed.

## Requires

- Python

## Known limitations

Requires manual user attachment of terminal windows. No background monitoring hooks. Agent cannot input sensitive credentials like passwords or tokens.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Duoterm skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Duoterm differ from a standard terminal executor skill?

Duoterm creates a bridged environment where you and your AI agent share the same tmux session, allowing the agent to 'see' and interact with your active terminal windows in real-time across WSL and SSH.

### What platforms and environments are compatible with Duoterm?

This skill is designed for Windows-based hosts using PowerShell and supports all Linux distributions within WSL, as well as remote servers accessible via SSH that have tmux installed.

### Can the agent start new terminal sessions automatically without my intervention?

No, for security and stability, you must manually open and attach your terminal windows first; the agent can then discover and join these existing sessions to assist you.

### What exactly is included in the Duoterm skill package?

Duoterm includes the core AI skill configuration, the custom CLI for shell integration, and comprehensive documentation for mapping your WSL and SSH aliases.

### How does the agent avoid interrupting my work when we are both in the same session?

The skill uses 'State Awareness' to read the terminal screen and check for busy prompts, ensuring the agent doesn't send commands while a process is already running or while you are typing.

### Which shell environments are supported for advanced process tracking?

Duoterm supports shell integration for both bash and zsh using OSC 133 sequences, allowing for precise tracking of command exits and terminal states.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
