Show HN: LiteHarness – One SDK for Claude Agent, OpenAI Agent, Pi AI

We built this library because agent harnesses were too fragmented and we needed a simple abstraction to call multiple coding-agent SDKs.

lite-harness has one function - query()

import { query } from "@lite-harness/sdk";

for await (const message of query({ prompt: "Fix the failing test", options: { // swap harness between: "claude-agent", "openai-agents", "pi-ai" harness: "openai-agents", model: "gpt-5.5", }, })) { console.log(message); }

2 points ij23 5 months ago 2 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton