About Simple Agent
Simple Agent is an MCP server in the Productivity category: 从零构建的 AI Agent · 无框架 · 2000行代码 · 15工具 · MCP协议 · 知识图谱 · 插件系统.
The repository has 2 stars and 0 forks.
Install
git clone https://github.com/app-vitals/simple-agentThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Simple Agent
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Simple Agent
An execution efficiency assistant that helps you optimize daily task execution through context-aware AI guidance. Built on Unix philosophy principles with a clean command-line interface.
Ask "what should I work on next?" and get intelligent recommendations based on your current work context, time tracking, task boards, and calendar.
Guiding Principles
This project follows Unix philosophy principles:
- Do one thing well - AI assistance through a clean CLI interface
- Programs that work together - Integration with standard Unix tools
- Modularity - Simple, well-defined components
- Simplicity - Minimal design, avoid complexity
- Plain text - Text-based interface for everything
Additional agent interaction principles:
- Focused scope - One task at a time
- Ask, don't guess - Clarify intent through questions
- Less is more - Concise, relevant responses
Features
Core Capabilities
- Context-Aware Assistance - Builds structured, human-readable context through interactive compression
- Intelligent Recommendations - Ask "what should I work on next?" for prioritization help
- Natural Interaction - Just type your request in plain language
- File Operations - Read, write, and edit files with AI assistance
- Command Execution - Run shell commands with confirmation
Context & Integrations
- Interactive Compression Workflow - Convert conversations to structured markdown context files (3-4x token reduction)
- Human-Readable Context - Visible
context/directory with markdown files you can edit - Project-Scoped Context - Different context for different projects
- MCP Integration Support - Connect to external services via Model Context Protocol
- Time tracking services (Toggl)
- Task management tools (Trello, Linear)
- Calendar applications
- Issue trackers
- Any MCP-compatible service
Interactive CLI
- Command completion with Tab
- Multi-line input support with backslash continuation
- History navigation with arrow keys
- Syntax highlighting and styled output
- Slash commands:
/help,/exit,/clear,/compress
Technical
- Claude API integration via LiteLLM
- Stateful conversation management
- Tool-based architecture with explicit permissions
- 85%+ test coverage
Development
This project uses uv for package management and prompt_toolkit for the interactive CLI.
# Install dependencies
uv add <package-name>
# Run code quality tools
./lint.sh # Black, Ruff, MyPy
./test.sh # Pytest with 85% coverage requirement
Continuous integration runs on all PRs and pushes to main.
Installation
Option 1: Using pip (Recommended)
# Install directly from the repository
pip install git+https://github.com/app-vitals/simple-agent.git
# Or install in development mode from a local clone
git clone https://github.com/app-vitals/simple-agent.git
cd simple-agent
pip install -e .
Option 2: Using uv
# Clone the repository
git clone https://github.com/app-vitals/simple-agent.git
cd simple-agent
# Set up a virtual environment and install
uv venv
uv pip install -e .
Configuration
Basic Configuration
# Configure environment variables
cp .env.example .env
# Edit .env with your API key
nano .env
MCP Server Configuration (Optional)
To enable integrations with external services via Model Context Protocol:
# Create MCP server configuration in your project directory
nano .simple-agent/mcp_servers.json
Example configuration:
{
"server-name": {
"command": "mcp-server-command",
"env": {
"API_KEY": "your_api_key_here"
}
}
}
Simple Agent can integrate with any MCP-compatible server for time tracking, task management, calendars, issue trackers, and more. See vision.md for details.
Running Simple Agent
Once installed, you can run Simple Agent from anywhere:
# Run the agent
simple-agent
Alternatively, you can run the module directly:
python -m simple_agent
Example Interactions
Execution Efficiency
> what should I work on next?
Based on your context:
- You have 90 minutes before your next meeting
- Currently working on API refactor (context from recent files)
- Sprint ends in 2 days with 3 tickets remaining
- One urgent task flagged in your task management system
Recommendation: Focus on ticket ENG-456 (auth bug - high priority)
Reasoning:
- Sprint deadline approaching
- Task fits your available time block
- Unblocks other team members
File Operations & Code Assistance
> Read src/main.py and suggest improvements
[Analyzes file and provides recommendations]
> Write a function that calculates fibonacci numbers recursively
[Provides implementation with docstring]
Context Management
> /compress
[Reviews conversation, updates context/ files interactively]
[Archives session to context-archive/]
[Clears messages for fresh start]
> /clear
[Clears message history without compression]
> /help
[Shows all available commands]
Context is stored in visible context/ directory as markdown files you can edit directly.
Press Tab for command completion and use arrow keys for history navigation.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.