Skip to main content

Termagent: Natural Language Terminal Agent for Windows

Termagent is a powerful, Windows-native AI agent that transforms natural language into executable PowerShell commands, professional emails, research documents, web searches, and full GitHub workflows — all from a single terminal interface. Built on LangGraph with Groq inference, it combines near-instant response times with intelligent intent routing, dual-layer safety, and a stunning Textual TUI.

🚀 Key Features

  • Natural Language → PowerShell: Convert plain English into complex PowerShell scripts instantly.
  • Smart Intent Routing: Five-way LLM classifier automatically routes to the right pipeline — command, chat, email, document, or GitHub.
  • Session Memory: Retains last few messages as history within a session for contextual follow-ups.
  • Web Search (ReAct): Answers questions with real-time information via DuckDuckGo search, synthesized through a ReAct tool-use loop.
  • Document Creation: Generates well-formatted .docx reports with headings, tables, bullet points, and inline formatting — powered by web research and LLM knowledge.
  • Email Integration: Compose and send professional emails with attachments via Gmail SMTP. Structured output handles recipient, subject, body, and multi-file attachments.
  • GitHub & Git (MCP-Powered): Full git and GitHub operations via the Model Context Protocol — commit, push, create releases, list PRs, manage issues, and more. Combines local git tools with dynamically-discovered GitHub MCP tools in a ReAct loop.
  • Coding Tasks: Capable of handling coding tasks. Plans and executes various tasks, HITL for safety.
  • File Reading: Read .docx, .pdf, .txt, and .md files for use in chat or document workflows.
  • Dual-Layer Safety: Static blacklist blocks dangerous patterns instantly; LLM security review catches context-sensitive risks.
  • Human-in-the-Loop (HITL): Risky commands always require explicit user confirmation before execution.
  • Raw PowerShell Mode: Prefix with ! to bypass the agent and run PowerShell directly.
  • Textual TUI: Dark-themed terminal UI with animated spinner, rich markdown rendering, and status indicators.

🛠️ Architecture

Termagent uses a LangGraph state machine with pre-check short-circuiting, five-way intent classification, and multiple ReAct loops for tool-augmented nodes. Inference runs on Groq (llama-3.3-70b for classification, gpt-oss-120b for reasoning) for near-instant responses.

🚀 Quick Start

pip install termagent-cli
termagent

⚠️ Safety First

Termagent executes real commands on your system. Always review flagged commands before confirming.

Metadata

Release files for termagent-cli 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termagent-cli 1.1.1
File Size Uploaded Provenance Actions
termagent_cli-1.1.1.tar.gz 29.2 kB Without provenance Details for termagent_cli-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for termagent-cli 1.1.1
File Interpreter ABI Platform Actions
termagent_cli-1.1.1-py3-none-any.whl Python 3 none any Details for termagent_cli-1.1.1-py3-none-any.whl

Total release size: 56.6 kB

Release files / termagent_cli-1.1.1.tar.gz

Download URL termagent_cli-1.1.1.tar.gz
Size 29.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7aeb3b1afba0536142dcd4ad7aad0e117affea3c6e02aad55d9151d34e578b97
BLAKE2b-256 checksum
How to use checksums
06380454ba9b490adb154a1c38ef7e6b25deb48c81ca5a36280633f8acec69b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / termagent_cli-1.1.1-py3-none-any.whl

Download URL termagent_cli-1.1.1-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0d0fbe92b197df65a66e352b4b5df9fdc49efea0fedf634058ff92f91dccea8
BLAKE2b-256 checksum
How to use checksums
9cf19825af0f086ce09c756ed88c64c771b29f5237451da1488e41ff438d511b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for termagent-cli 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page