Hacker News new | ask | show | jobs
Show HN: LiteHarness – One SDK for Claude Agent, OpenAI Agent, Pi AI (github.com)
2 points by ij23 16 days ago
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 comments

Does it support logging in using an existing user subscription?
pretty cool, might be worth putting it on Atlasorc.com so more people can discover it and you can earn from it too.