diff --git a/README.md b/README.md index c99de34..5effabe 100644 --- a/README.md +++ b/README.md @@ -1,705 +1,94 @@ -
-
-
- oh — OpenHarness & ohmo
-
-
-
-
-🔄 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 - -### 1. Install - -#### Linux / macOS / WSL +### 一键安装 ```bash -# One-click install curl -fsSL https://raw.githubusercontent.com/HKUDS/OpenHarness/main/scripts/install.sh | bash - -# Or via pip -pip install openharness-ai ``` -#### Windows (Native) +常用安装参数: -```powershell -# One-click install (PowerShell) -iex (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/HKUDS/OpenHarness/main/scripts/install.ps1') +- `--from-source`:从源码安装,适合贡献者 +- `--with-channels`:一并安装 IM channel 依赖 -# Or via pip -pip install openharness-ai -``` - -**Note**: Windows support is now native. In PowerShell, use `openh` instead of `oh` because `oh` can resolve to the built-in `Out-Host` alias. - -### 2. Configure +例如: ```bash -oh setup # interactive wizard — pick a provider, authenticate, done -# On Windows PowerShell, use: openh setup +curl -fsSL https://raw.githubusercontent.com/HKUDS/OpenHarness/main/scripts/install.sh | bash -s -- --from-source --with-channels ``` -Supports **Claude / OpenAI / Copilot / Codex / Moonshot(Kimi) / GLM / MiniMax / NVIDIA NIM** and any compatible endpoint. - -### 3. Run +### 本地运行 ```bash -oh -# On Windows PowerShell, use: openh +git clone https://github.com/HKUDS/OpenHarness.git +cd OpenHarness +uv sync --extra dev +uv run oh ``` -
-
-
-
-
- Oh my Harness!
-
- The model is the agent. The code is the harness.
-
- Thanks for visiting ✨ OpenHarness!
-
-