Comprehensive documentation for Termwright - Playwright for terminals.
- API Reference - Complete API documentation for programmatic usage
- MCP Tools - MCP server tools reference for AI agents
- Examples Guide - Complete guide to all examples
- Getting Started Examples - Basic terminal operations
- Advanced Examples - Pattern matching and multi-session
- Testing Examples - CLI testing automation
| I want to... | Go to... |
|---|---|
| Use as a library | API Reference |
| Use with AI/MCP | MCP Tools |
| See code examples | Examples Guide |
| Browse examples | Examples Directory |
docs/
├── README.md # This file
├── api.md # API reference for library usage
├── mcp-tools.md # MCP tools reference for AI agents
└── examples.md # Examples guide and overview
examples/
├── getting-started/ # Basic examples
├── advanced/ # Advanced patterns
└── testing/ # Testing examples
- Universal tmux-based terminals - Works with any terminal emulator
- Headless and visible modes - PTY for automation, tmux for visibility
- Pattern matching - Wait for regex patterns in output
- Session management - Spawn, control, and cleanup multiple sessions
- MCP integration - Built-in Model Context Protocol server for AI agents
Found an error or want to improve the docs?
- Fork the repository
- Edit the markdown files in
docs/ - Submit a pull request
MIT License - see LICENSE for details.