Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.
Rust ai-agentsai-assistantai-botautomationbotbots-teamchatbotclaude-duetgrokgrok-botgrok-bot-alternativeharnessllmmulti-agentopenai-dotsopenbotpersonal-agentrustself-hostedselfhosted-ai
Say Anthropic-format Custom API accounts get tools (item 8)
Lin (kwant bot)df79f2658454
diff --git a/frontend/src/profiles.ts b/frontend/src/profiles.tsindex a8b04785..deb420eb 100644--- a/frontend/src/profiles.ts+++ b/frontend/src/profiles.ts@@ -71,7 +71,7 @@ export const KIND_LABELS: Record<ProfileKind, string> = {export const PROTOCOLS: Array<{ id: CustomProtocol; label: string; hint: string }> = [{ id: 'openai-chat', label: 'OpenAI-compatible', hint: 'Bots can use tools' },- { id: 'anthropic-messages', label: 'Anthropic-compatible', hint: 'No tools' },+ { id: 'anthropic-messages', label: 'Anthropic-compatible', hint: 'Bots can use tools' },];export const protocolLabel = (p: CustomProtocol | string) => PROTOCOLS.find((x) => x.id === p)?.label ?? p;diff --git a/src/drivers/custom.rs b/src/drivers/custom.rsindex aaa26799..0807aa8f 100644--- a/src/drivers/custom.rs+++ b/src/drivers/custom.rs@@ -40,10 +40,10 @@ impl Protocol {}}- /// Whether turns on this protocol get the bot's MCP tools. OpenAI chat sends them as- /// `tools` and kwnt runs the calls; the Anthropic Messages path has no tool support yet.+ /// Whether turns on this protocol get the bot's MCP tools. Both send them as `tools` and+ /// kwnt runs the calls; kept for clients that still show a "no tools" badge.pub fn supports_tools(self) -> bool {- self == Protocol::OpenaiChat+ true}}diff --git a/src/server/profile_routes.rs b/src/server/profile_routes.rsindex fbbc5f2a..92d841b6 100644--- a/src/server/profile_routes.rs+++ b/src/server/profile_routes.rs@@ -76,7 +76,7 @@ pub struct CustomOut {/// What the server listed at the last check.pub models: Vec<crate::drivers::engines::EngineModel>,pub checked_at: Option<chrono::DateTime<chrono::Utc>>,- /// Whether turns on it can call MCP tools (OpenAI chat: yes; Anthropic Messages: not yet).+ /// Whether turns on it can call MCP tools (both protocols now do).pub supports_tools: bool,}diff --git a/tests/custom_api_test.rs b/tests/custom_api_test.rsindex ddca9173..d23f864a 100644--- a/tests/custom_api_test.rs+++ b/tests/custom_api_test.rs@@ -370,7 +370,7 @@ async fn anthropic_compatible_account_streams_the_bots_pinned_model() {let custom = &acct["custom"];assert_eq!(custom["base_url"], format!("{root}/api/anthropic/v1"));assert_eq!(custom["status"], "ready", "{custom}");- assert_eq!(custom["supports_tools"], false);+ assert_eq!(custom["supports_tools"], true, "Anthropic-format accounts get tools too");assert_eq!(custom["models"][0]["label"], "Claude Sonnet 4");let kid = env.bot(&space, "Sage", "custom:claude-sonnet-4").await;