Run Codex, Claude Code, and Hermes Locally with a Unified Docker Container
说明与用途
开发者可以在单个 Docker 容器中本地运行 Codex、Claude Code 和 Hermes,使用统一协议,简化设置并消除对云服务的依赖。
问题
Developers need to run multiple LLM agents (Codex, Claude Code, Hermes) on their own machines without relying on cloud APIs.
结果
Developers can run Codex, Claude Code, and Hermes locally in a single container, simplifying setup and eliminating cloud dependencies.
工作流
- 1. Clone the HarnessRouter repository:
git clone https://github.com/HarnessRouter/harnessrouter - 2. Build or pull the Docker image:
docker pull harnessrouter/harnessrouter:latest - 3. Configure environment variables (e.g., model paths, API keys if needed).
- 4. Run the container:
docker run -p 8000:8000 -e MODEL_PATH=/models -v /local/models:/models harnessrouter/harnessrouter:latest - 5. Send requests to the unified endpoint (e.g.,
http://localhost:8000/run) using the same payload format for any agent.
证据
Runs agents like Codex, Claude Code, and Hermes on your own machine using a single Docker container and unified protocol.
- 记录日期: 2026-09-15T13:24:40.963Z