Skip to content

Releases: Nolpak14/agorio

v0.2.0

19 Feb 15:30
01c9b43

Choose a tag to compare

What's New

LLM Adapters

  • Claude (Anthropic)ClaudeAdapter with native function calling, tool_use/tool_result message format, consecutive tool result merging (#7)
  • OpenAI (GPT-4o)OpenAIAdapter with native function calling, function tool format, tool_call_id resolution (#8)

All three adapters (Gemini, Claude, OpenAI) are now available and interchangeable:

import { ShoppingAgent, GeminiAdapter, ClaudeAdapter, OpenAIAdapter } from '@agorio/sdk';

const agent = new ShoppingAgent({
  llm: new ClaudeAdapter({ apiKey: process.env.ANTHROPIC_API_KEY }),
  // or: new OpenAIAdapter({ apiKey: process.env.OPENAI_API_KEY }),
  // or: new GeminiAdapter({ apiKey: process.env.GEMINI_API_KEY }),
});

Testing

  • 73 tests (up from 37) — 18 new tests per adapter

Full Changelog

v0.1.0...v0.2.0