Skip to main content

Natural language terminal agent for Windows PowerShell

Project description

Termagent: Natural Language PowerShell Agent

Termagent is a powerful, Windows-native AI agent that transforms natural language instructions into executable PowerShell commands. Built for both non-technical users and power developers, it bridges the gap between intent and execution through a sophisticated agentic workflow.

🚀 Key Features

  • Natural Language Translation: Convert plain English into complex PowerShell scripts instantly.
  • Stateful Orchestration: Built on LangGraph, allowing the agent to remember context, navigate directories, and handle multi-step operations.
  • Session Memory: Retains conversation history within the session, enabling highly contextual interactions and follow-up adjustments.
  • Clean Agent Graph: Utilizes a streamlined, robust graph architecture for efficient intent routing.
  • Dual-Layer Safety Architecture:
    • Static Blacklist: Prevents system-critical operations (e.g., System32 access, Registry edits) before they reach the LLM.
    • LLM Security Review: A second layer of reasoning that flags context-specific risks.
  • Human-in-the-Loop (HITL): Risky commands are never executed without explicit user confirmation.
  • Textual TUI: A beautiful, responsive terminal user interface for a premium CLI experience.
  • Email Integration: Compose and send professional emails with attachments directly from the terminal.

🛠️ Architecture

Termagent utilizes a Directed Acyclic Graph (DAG) state machine to manage the conversation flow, tool selection, and command validation. By running inference on Groq, it ensures near-instant response times while maintaining high reasoning quality.

🚀 Quick Start

Get started in under 3 minutes!

pip install termagent-cli
termagent

⚠️ Safety First

While Termagent is designed to be helpful, it executes real commands on your system. Always review flagged commands before confirming execution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termagent_cli-0.5.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

termagent_cli-0.5.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file termagent_cli-0.5.0.tar.gz.

File metadata

  • Download URL: termagent_cli-0.5.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for termagent_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 759255ab449d20cec17cbb30d6ca6d8abbc7cb1d038571f553e6f8da8d172fad
MD5 1ab4a689fae64f8ea9daf578cc2ad25a
BLAKE2b-256 314ba8b77ee6185af591f1bfce46f4cc45436a655531c9c1ab892d3ff66c0dc9

See more details on using hashes here.

File details

Details for the file termagent_cli-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: termagent_cli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for termagent_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efd21a1b677725bdbfa5002512da6fcd474bf74ed986f6c13fa9621a8fa1fa2e
MD5 0f9c154fbd447a99678cfdfc899faeb7
BLAKE2b-256 5180dce70585beb0fc3c192303171956bd9fc369b9334ab0f5125bd88fe92be9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page