github VoltAgent/voltagent create-voltagent-app@0.2.18

12 hours ago

Patch Changes

  • #955 1b00284 Thanks @omeraplak! - feat: add a model registry + router so you can use provider/model strings without importing provider packages

    Usage:

    import { Agent } from "@voltagent/core";
    
    const openaiAgent = new Agent({
      name: "openai-agent",
      instructions: "Summarize the report in 3 bullets.",
      model: "openai/gpt-4o-mini",
    });
    
    const anthropicAgent = new Agent({
      name: "anthropic-agent",
      instructions: "Turn notes into action items.",
      model: "anthropic/claude-3-5-sonnet",
    });
    
    const geminiAgent = new Agent({
      name: "gemini-agent",
      instructions: "Translate to Turkish.",
      model: "google/gemini-2.0-flash",
    });

Don't miss a new voltagent release

NewReleases is sending notifications on new releases.