π’ Lazy Terminal
@Heterohabilis
An LLM-based smart terminal for lazy guys :P
Overview
What is Lazy Terminal?
Lazy Terminal is an intelligent command-line assistant that connects language models with external tools through the Modular Component Protocol (MCP). It dynamically determines whether a query should be directly answered or passed to a registered tool, enabling seamless terminal automation and smart interaction.
How to use Lazy Terminal?
Install dependencies with pip install -r requirements.txt, edit config/models.yaml to add model credentials and config/mcp_servers.yaml to list MCP servers, set required API keys as environment variables, then launch the assistant with python main.py.
Key features of Lazy Terminal
- Dynamic tool routing between direct response and tool invocation
- Contextual memory with default 50 interaction retention
- Multi-model support via Coagent integration
- Robust JSON extraction and processing from model responses
- Secure bash execution through controlled MCP tools
Use cases of Lazy Terminal
- Automate file operations like listing and saving directory contents
- Execute safe bash scripts directly from a conversational interface
- Offload repetitive terminal tasks to an intelligent assistant
- Integrate multiple language models with external tools through a unified interface
FAQ from Lazy Terminal
What models does Lazy Terminal support?
It supports multiple language models via Coagent integration; you configure credentials in models.yaml.
How do I configure Lazy Terminal?
Edit config/models.yaml for model credentials and config/mcp_servers.yaml for MCP server definitions, then set corresponding API keys as environment variables.
Is bash execution secure?
Yes, Lazy Terminal runs only safe, controlled bash scripts through its MCP tools.
How many conversation turns does Lazy Terminal remember?
It maintains context by default for the last 50 interactions.
What runtime dependencies are required?
Python with packages listed in requirements.txt; install via pip install -r requirements.txt.