A conversational Python agent powered by LangChain, LangGraph, and Gemini that assists with Linux tasks — responding with charm, wit, and a warm British accent.
It can execute shell commands, manage files, and search the web naturally.
- Conversational agent for Linux Mint
- Runs shell commands safely via
ShellTool - File creation and text reading
- Web search using Tavily
- Conversation summarization and memory via LangGraph
- Graceful exit with
quitorexit
Run the agent:
python agent.pyTo run in LangGraph dev mode:
langgraph devTo exit, type exit or quit.
core/
├── graph.py # Defines the conversation graph
├── settings.py # Model config
├── utils.py # System prompt loader
└── prompt.txt # System prompt text
tools/
├── files.py # File-related tools
└── search.py # Web search tool
agent.py # CLI entry point
agent-graph.py # Graph entry for LangGraph dev
langgraph.json # LangGraph config
requirements.txt
- Python 3.9+
- LangChain
- LangGraph
- Google Generative AI
- Tavily API key
GOOGLE_API_KEY=<YOUR-GOOGLE-API-KEY>
TAVILY_API_KEY=<YOUR-TAVILY-API-KEY>Install dependencies:
pip install -r requirements.txtThis project follows Semantic Versioning:
MAJOR.MINOR.PATCH
- MAJOR – breaking changes
- MINOR – new features
- PATCH – fixes and improvements
Current version: v1.1.0
MIT