UNPKG

maiar-agents

Version:

Multi-provider AI agent library for interacting with various AI models

43 lines (32 loc) 659 B
# @maiar-ai/agents Add support for 10+ agents/model providers in your favorite agent framework. Current providers: - OpenAI - Anthropic (Claude) - DeepSeek - Mistral - Gemini - Agent.ai - Runway - Midjourney - Elsevier - Unity - NVIDIA - Harmonai - AudioCraft expect more providers to be added as well ## usage first install the plugin in your codebase ```sh npm add @maiar-ai/agents ``` then simply just declare your provider and you are good to go ```ts const claudeProvider = createProvider({ type: "anthropic", config: { apiKey: "your-api-key", model: "claude-3-opus-20240229", }, }); ```