From 7b0289d46dbbae53bdc2d6d2c90b89916226c655 Mon Sep 17 00:00:00 2001 From: wold9168 Date: Tue, 2 Jun 2026 07:04:41 +0800 Subject: [PATCH 1/2] Add Agnes provider Add Agnes 1.5 Flash and Agnes 2.0 Flash model to this provider. Signed-off-by: wold9168 --- packages/core/src/family.ts | 3 +++ providers/agnes/models/agnes-1.5-flash.toml | 22 +++++++++++++++++++++ providers/agnes/models/agnes-2.0-flash.toml | 22 +++++++++++++++++++++ providers/agnes/provider.toml | 5 +++++ 4 files changed, 52 insertions(+) create mode 100644 providers/agnes/models/agnes-1.5-flash.toml create mode 100644 providers/agnes/models/agnes-2.0-flash.toml create mode 100644 providers/agnes/provider.toml diff --git a/packages/core/src/family.ts b/packages/core/src/family.ts index 28beadca5..9b3a9f406 100644 --- a/packages/core/src/family.ts +++ b/packages/core/src/family.ts @@ -1,6 +1,9 @@ import { z } from "zod"; export const ModelFamilyValues = [ + // Sapiens AI / Agnes AI + "agnes", + // Arcee "trinity", "trinity-mini", diff --git a/providers/agnes/models/agnes-1.5-flash.toml b/providers/agnes/models/agnes-1.5-flash.toml new file mode 100644 index 000000000..bca5d67ce --- /dev/null +++ b/providers/agnes/models/agnes-1.5-flash.toml @@ -0,0 +1,22 @@ +name = "Agnes 1.5 Flash" +family = "agnes" +release_date = "2026-03" +last_updated = "2026-05" +attachment = true +reasoning = false +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.07 +output = 0.15 + +[limit] +context = 256_000 +output = 65_536 + +[modalities] +input = ["text", "image"] +output = ["text"] diff --git a/providers/agnes/models/agnes-2.0-flash.toml b/providers/agnes/models/agnes-2.0-flash.toml new file mode 100644 index 000000000..6c86bafdb --- /dev/null +++ b/providers/agnes/models/agnes-2.0-flash.toml @@ -0,0 +1,22 @@ +name = "Agnes 2.0 Flash" +family = "agnes" +release_date = "2026-05" +last_updated = "2026-05" +attachment = true +reasoning = false +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.1 +output = 0.2 + +[limit] +context = 256_000 +output = 65_536 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/agnes/provider.toml b/providers/agnes/provider.toml new file mode 100644 index 000000000..e5ed2a4aa --- /dev/null +++ b/providers/agnes/provider.toml @@ -0,0 +1,5 @@ +name = "Agnes AI" +env = ["AGNES_API_KEY"] +npm = "@ai-sdk/openai-compatible" +doc = "https://agnes-ai.com/doc/overview" +api = "https://apihub.agnes-ai.com/v1" From 5d7b0f12139147ac08658f6e714bee85f4e85bf4 Mon Sep 17 00:00:00 2001 From: wold9168 Date: Tue, 2 Jun 2026 08:25:36 +0800 Subject: [PATCH 2/2] Add LOGO for Agnes Provider The original LOGO file comes from https://artificialanalysis.ai/img/logos/sapiens_small.svg. Signed-off-by: wold9168 --- providers/agnes/logo.svg | 219 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 219 insertions(+) create mode 100644 providers/agnes/logo.svg diff --git a/providers/agnes/logo.svg b/providers/agnes/logo.svg new file mode 100644 index 000000000..351078c25 --- /dev/null +++ b/providers/agnes/logo.svg @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +