# OpenHarness **Repository Path**: zsfsaifeng/OpenHarness ## Basic Information - **Project Name**: OpenHarness - **Description**: HKUDS开源的agent自动学习框架。OpenHarness delivers core lightweight agent infrastructure: tool-use, skills, memory, and multi-agent coordination. - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2026-04-09 - **Last Updated**: 2026-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
oh — OpenHarness: Open Agent Harness
🔄 Agent Loop
• Streaming Tool-Call Cycle • API Retry with Exponential Backoff • Parallel Tool Execution • Token Counting & Cost Tracking |
🔧 Harness Toolkit
• 43 Tools (File, Shell, Search, Web, MCP) • On-Demand Skill Loading (.md) • Plugin Ecosystem (Skills + Hooks + Agents) • Compatible with anthropics/skills & plugins |
🧠 Context & Memory
• CLAUDE.md Discovery & Injection • Context Compression (Auto-Compact) • MEMORY.md Persistent Memory • Session Resume & History |
🛡️ Governance
• Multi-Level Permission Modes • Path-Level & Command Rules • PreToolUse / PostToolUse Hooks • Interactive Approval Dialogs |
🤝 Swarm Coordination
• Subagent Spawning & Delegation • Team Registry & Task Management • Background Task Lifecycle • ClawTeam Integration (Roadmap) |
Start here: Quick Start · Provider Compatibility · Showcase · Contributing · Changelog
--- ## 🚀 Quick Start ### One-Click Install The fastest way to get started — a single command handles OS detection, dependency checks, and installation: ```bash curl -fsSL https://raw.githubusercontent.com/HKUDS/OpenHarness/main/scripts/install.sh | bash ``` **Options:** | Flag | Description | |------|-------------| | `--from-source` | Clone from GitHub and install in editable mode (`pip install -e .`) | | `--with-channels` | Also install IM channel dependencies (`slack-sdk`, `python-telegram-bot`, `discord.py`) | ```bash # Install from source (for contributors / latest code) curl -fsSL https://raw.githubusercontent.com/HKUDS/OpenHarness/main/scripts/install.sh | bash -s -- --from-source # Install with IM channel support curl -fsSL https://raw.githubusercontent.com/HKUDS/OpenHarness/main/scripts/install.sh | bash -s -- --with-channels # Or run locally after cloning bash scripts/install.sh --from-source --with-channels ``` The script will: 1. Detect your OS (Linux / macOS / WSL) 2. Verify Python ≥ 3.10 and Node.js ≥ 18 3. Install OpenHarness via `pip` 4. Set up the React TUI (`npm install`) if Node.js is available 5. Create `~/.openharness/` config directory 6. Confirm with `oh --version` ### Prerequisites - **Python 3.10+** and [uv](https://docs.astral.sh/uv/) - **Node.js 18+** (optional, for the React terminal UI) - An LLM API key ### One-Command Demo ```bash ANTHROPIC_API_KEY=your_key uv run oh -p "Inspect this repository and list the top 3 refactors" ``` ### Install & Run ```bash # Clone and install git clone https://github.com/HKUDS/OpenHarness.git cd OpenHarness uv sync --extra dev # Example: use Kimi as the backend export ANTHROPIC_BASE_URL=https://api.moonshot.cn/anthropic export ANTHROPIC_API_KEY=your_kimi_api_key export ANTHROPIC_MODEL=kimi-k2.5 # Launch oh # if venv is activated uv run oh # without activating venv ```
Oh my Harness!
The model is the agent. The code is the harness.
Thanks for visiting ✨ OpenHarness!