@atoms-agent/llm
v0.7.1
Published
Provider-neutral model adapter layer: canonical messages, capabilities, streaming contract
Maintainers
Readme
@atoms-agent/llm
Provider-neutral model adapter layer for atoms_agent.
Provides canonical messages, capability reporting, streaming contracts, and
first-class OpenAI / Anthropic adapters. Provider SDK types stay inside this
package and are not part of the public application surface used by
@atoms-agent/core.
Install
npm install @atoms-agent/[email protected]Local tarball (publish-ready verification):
npm install ./atoms-agent-llm-0.7.1.tgzUsage
import { openai, anthropic } from "@atoms-agent/llm";
const model = openai({
model: "gpt-5",
apiKey: process.env.OPENAI_API_KEY!,
});Only import from the package root. Subpath / deep imports are not supported.
Requirements
- Node.js >= 22.13
- ESM
License
MIT
