Discover and explore top open-source AI tools and projects—updated daily.
MaxGfellerCode-first SDK for building powerful AI agents
Top 76.0% on SourcePulse
Summary
OpenHarness is a code-first, composable Software Development Kit (SDK) designed for building powerful, general-purpose AI agents. Inspired by Vercel's AI SDK and agent harnesses like Codex, it targets developers seeking to programmatically construct sophisticated AI applications. The SDK offers a flexible architecture, enabling agents to interact with tools, manage conversations, and integrate seamlessly with frontend frameworks like React and Vue.
How It Works
The core of OpenHarness revolves around the Agent class, which orchestrates AI model interactions and tool execution. Agents can be equipped with pre-built or custom tools, such as filesystem access (createFsTools) and bash command execution (createBashTool), powered by Node.js providers. Session objects manage multi-turn conversations, incorporating automatic context window compaction and retry mechanisms. Composability is achieved through a middleware system (apply, withTurnTracking, withCompaction, withRetry), allowing developers to chain and customize agent behavior.
Quick Start & Requirements
To get started, install the core packages: npm install @openharness/core @ai-sdk/openai. Running the provided examples requires cloning the repository, navigating to the project directory, creating a .env file with your OPENAI_API_KEY, and executing pnpm install && pnpm build. A Node.js environment and an OpenAI API key are necessary prerequisites. Comprehensive documentation is available at docs.open-harness.dev.
Highlighted Details
Session API.@openharness/react, @openharness/vue) facilitate building streaming chat UIs.Maintenance & Community
The provided README snippet does not contain specific information regarding notable contributors, community channels (e.g., Discord, Slack), sponsorships, or project roadmaps.
Licensing & Compatibility
OpenHarness is released under the MIT license. This permissive license allows for broad usage, including commercial applications and integration into closed-source projects without significant restrictions.
Limitations & Caveats
The current implementation, as presented in the quick start and examples, is heavily dependent on the OpenAI API. The README does not specify support for alternative LLM providers or outline strategies for offline agent execution.
2 days ago
Inactive