On this page

AI capabilities: built-in agix and connectors

Last updated: 2026-11-17

True AGI cannot be achieved by a single model — it requires combining different models.

Keragi has two AI paths that can be used together:

The point of built-in agix is not one model that does everything. It is putting text, vision, image, video, music and speech models on the same conversation path and dispatching to each as needed; connectors then bring in models already available on the user’s machine to cover capabilities outside the built-in catalog.

Status: entries below are marked available or reference. Since 1.0.0 the built-in models work on both native and WASM deployments; what you can actually use depends on the keys and upstream quota you configure.

1. Built-in agix

1.1 Supported models

The model name is Keragi’s routing name; the current catalog has 16 entries. The upstream model is set by model_id and can be overridden in the app.

Routing nameCapabilityInput → OutputDefault upstream modelUser key
deepseek-flashText chat + image understanding (streaming)text/image → textdeepseek-chatClient key (DeepSeek)
deepseek-v4-proText chat (streaming)text → textdeepseek-chatClient key (DeepSeek)
deepseek-ttsSpeech synthesistext → audiodeepseek-ttsClient key (DeepSeek)
deepseek-asrSpeech recognitionaudio → textdeepseek-asrClient key (DeepSeek)
qianwen-chatText chat (streaming)text → textqwen-plusClient key (Qianwen)
qwen-vlVision understandingtext+image → textqwen-vl-plusClient key (Qianwen)
qwen-imageImage generationtext → imageqwen-image-plusClient key (Qianwen)
qwen-videoText-to-videotext → videowanx2.1-t2v-turboClient key (Qianwen)
qwen-video-i2vImage-to-videotext+image → videowanx2.1-i2v-turboClient key (Qianwen)
qwen-ttsSpeech synthesistext → audioqwen-ttsClient key (Qianwen)
qwen-asrSpeech recognitionaudio → textparaformer-v2Client key (Qianwen)
seedanceText-to-video (Seedance 2.5 / Ark)text → videodoubao-seedance-2-5-260628Client key (Ark)
seedance-flashText-to-video (Seedance 2.5 Flash / Ark)text → videodoubao-seedance-2-5-flash-261115Client key (Ark)
openai-chatOpenAI text chattext → textgpt-4o (overridable)Client key (OpenAI)
claude-chatClaude text chat (OpenAI-compatible endpoint)text → textclaude-sonnet-4-5 (overridable)Client key (Anthropic)
stable-audioMusic generationtext → audiostable-audio-2.5Client key (Stability)

Notes:

1.2 Tools: search, fetch and OCR

ToolWhat it doesDependencyStatus
web-searchWeb search returning titles, links and summaries with sourcesDeepSeek Search API (/v1/tools/search); falls back to the model’s own searchavailable
web-fetchOpen a URL and return Markdown text (up to 8000 chars)DeepSeek Fetch API (/v1/tools/fetch)available
ocrExtract text from an imageReuses a vision model (qwen-vl or deepseek-flash)available

Configuration:

AGIX_WEB_SEARCH_URL=https://api.deepseek.com/v1/tools/search
AGIX_WEB_FETCH_URL=https://api.deepseek.com/v1/tools/fetch
# Search defaults to the user's own model key; do not put it in .env
AGIX_WEB_SEARCH_MODEL=deepseek-flash

The standalone DeepSeek OCR endpoint (/v1/tools/ocr, multipart) is not wired into WASM yet (the host only offers JSON HTTP calls); WASM deployments use a vision model for OCR.

1.3 Knowledge base

1.4 Tool loop

Built-in agix runs a “brain → tool → brain” loop: the text model acts as the brain, decides whether to call a tool (image, video, music, speech or knowledge base), the result is fed back, and it continues for up to AGIX_AUTO_MAX_ITER rounds (default 5). The text model handles understanding and dispatch while dedicated models do the actual generation or recognition — this is where model combination happens inside one conversation. Multi-step requests such as “look at the image, then read it aloud” or “generate a video, then explain it” are decomposed automatically.

2. Connectors

DimensionBuilt-in agixConnector
Model sourceAPI keys configured on the serverAlready signed-in client on the user machine
DeploymentServer resource (WASM or native)Separate connector server or local process
Permission boundaryServer scopes + quotaConnector approval + scopes; execution stays on the user side
Best forUniform models, central quota, keys configured centrally on the serverReusing subscriptions, local files/tools, sensitive environments

Connector notes:

3. Deployment and keys

FDE delivery note

Keep AI inside one narrow scenario, document what it may answer, when to escalate and who owns each output; see the FDE delivery guide.

4. Boundaries

5. Next steps

  1. Configure a text model and verify chat.
  2. Add image/video/music/voice models as needed, one at a time.
  3. Deploy a connector only when local files or existing subscriptions are required.