Skip to main content

Install the Core Package

npm install @openharness/core

UI Packages (Optional)

If you’re building a chat UI, install the framework-specific package:
npm install @openharness/react

AI SDK Provider

OpenHarness uses Vercel’s AI SDK for model access. Install the provider for your preferred model:
npm install @ai-sdk/openai
Any AI SDK-compatible provider works with OpenHarness.

Environment Variables

Set the API key for your model provider:
# OpenAI
export OPENAI_API_KEY=sk-...

# Anthropic
export ANTHROPIC_API_KEY=sk-ant-...

# Google
export GOOGLE_GENERATIVE_AI_API_KEY=...

Clone the Repository

To run the examples or contribute:
git clone https://github.com/MaxGfeller/open-harness.git
cd open-harness
pnpm install
pnpm build