@nativeharness/adapter-cohere
v0.1.0
Published
A nativeharness ModelAdapter for Cohere, through its native v2 API.
Readme
@nativeharness/adapter-cohere
Cohere v2, behind the ModelAdapter interface.
npm install @nativeharness/adapter-cohereimport { CohereAdapter } from "@nativeharness/adapter-cohere";
import { Harness } from "nativeharness";
const harness = new Harness({ root: "./data", model: new CohereAdapter() });Reads COHERE_API_KEY.
Including the tool plan, which Cohere streams before the tool calls themselves.
Adapters are the only packages that know a vendor. Swapping one changes no line of the harness.
Part of nativeharness — the agent harness native to your app. Apache-2.0 · docs · source
