LINKORA
OverviewQuickstart

Fusion

Multi-model deliberation as a server tool

Beta

Beta Server tools are currently in beta. The API and behavior may change.

The linkora:fusion server tool gives any model access to multi-model deliberation. When your model decides a prompt benefits from multiple perspectives, it invokes this tool. A panel of models answers in parallel, an analyst compares their responses, and the structured analysis comes back to your model for the final answer.

This is the same pipeline behind the linkora/fusion model alias. Using the server tool directly gives you the most control. You can choose your own outer model, combine it with other tools, and configure the panel and analyst independently.

Quick start

const response = await fetch('https://link-ora.net/api/v1/responses', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer <LINKORA_API_KEY>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: '~anthropic/claude-opus-latest',
    input: 'Survey the strongest arguments for and against a carbon tax. Where do experts disagree?',
    tools: [
      { type: 'linkora:fusion' },
    ],
  }),
});

const data = await response.json();
const message = [...data.output].reverse().find((item: { type: string }) => item.type === 'message');
console.log(message?.content.find((part: { type: string; text?: string }) => part.type === 'output_text')?.text);
Fusion in the tools array also works on /chat/completions, but it's slower there than on the Responses API used in the examples above. For latency-sensitive use, stay on the Responses API.

When does the model invoke it?

The tool's description tells the model to call linkora:fusion only when a task genuinely benefits from multiple perspectives: research questions, multi-domain critique, "compare and contrast" prompts, or anything where being wrong is expensive. Simple tactical prompts won't trigger it.

To force fusion on every request, set tool_choice: "required". See Forcing fusion on every request.

Parameters

Pass an optional parameters object on the tool entry to override defaults:

{
  "tools": [
    {
      "type": "linkora:fusion",
      "parameters": {
        "analysis_models": [
          "~google/gemini-flash-latest",
          "deepseek/deepseek-v3.2",
          "~moonshotai/kimi-latest"
        ],
        "model": "~anthropic/claude-opus-latest"
      }
    }
  ]
}
FieldDefaultDescription
`analysis_models`Quality preset (`~anthropic/claude-opus-latest`, `~openai/gpt-sol-latest`, `~google/gemini-pro-latest`)Models that form the panel. Each runs in parallel with `linkora:web_search` and `linkora:web_fetch` enabled. 1–8 models allowed.
`model`Your outer modelThe analyst that produces the structured analysis JSON. Defaults to the same model handling your request.
`max_tool_calls``4`Max tool-calling steps each panel model and the analyst may take in their `linkora:web_search` / `linkora:web_fetch` loop before they must return text. Range 1–16.
`max_completion_tokens``16000`Max output tokens (including reasoning) per inner panel/analyst call. Keeps reasoning-heavy models from exhausting their budget before producing visible text.
`reasoning`Provider defaultReasoning config forwarded to the panel and analyst calls: an object with optional `effort` and `max_tokens`.
`temperature`Provider defaultTemperature (`0`–`2`) forwarded to the panel calls. The analyst always runs at temperature 0.

What the tool returns

On success, the tool result contains the structured analysis and the raw panel responses:

{
  "status": "ok",
  "analysis": {
    "consensus": ["Points all or most panel models agreed on"],
    "contradictions": [
      { "topic": "...", "stances": [{ "model": "...", "stance": "..." }] }
    ],
    "partial_coverage": [
      { "models": ["..."], "point": "Only some models covered this" }
    ],
    "unique_insights": [
      { "model": "...", "insight": "Something only one model raised" }
    ],
    "blind_spots": ["Topics no panel model addressed"]
  },
  "responses": [
    { "model": "anthropic/claude-opus-4.5", "content": "..." },
    { "model": "openai/gpt-4.1", "content": "..." },
    { "model": "google/gemini-2.5-pro", "content": "..." }
  ]
}

When some panel models error but at least one succeeds, the result still has status: "ok" and adds a failed_models array describing which ones failed and why.

Analyst degradation

If the panel succeeds but the analyst fails (an upstream error, an empty completion, or output that isn't valid analysis JSON), the tool does not error. It returns status: "ok" with the raw panel responses and simply omits analysis. Your model can still write the final answer from the panel responses:

{
  "status": "ok",
  "responses": [
    { "model": "anthropic/claude-opus-4.5", "content": "..." }
  ]
}

Hard failures

The tool only returns status: "error" when it can't produce any useful output. In that case it includes a typed failure_reason:

{
  "status": "error",
  "error": "all panel models failed",
  "failure_reason": "all_panels_failed"
}
ReasonMeaning
`all_panels_failed`Every panel model returned an error.
`insufficient_credits`Every panel model failed and at least one was due to insufficient credits.
`rate_limited`Every panel model failed and at least one was rate-limited.
`fusion_invocation_capped`Fusion was already invoked earlier in the same turn; a second call is rejected.
`unexpected_error`An unexpected error interrupted the fusion run.

The calling model can fall back to answering without the analysis whenever fusion fails or degrades.

Web tools

linkora:web_search and linkora:web_fetch are enabled on both the panel and the analyst calls, so models can pull fresh sources while they answer and analyze. The analyst compares the panel responses rather than merging them: it treats what all or most models agree on as higher-confidence consensus, surfaces contradictions, preserves unique insights from individual models, and flags blind spots none of them addressed. The outer model writes the final answer from that analysis, so the result isn't a simple majority vote.

Recursion protection

Inner fusion calls carry an x-linkora-fusion-depth header. Panel and analyst models cannot recursively invoke linkora:fusion. The plugin refuses to inject the tool a second time, keeping deliberation bounded to a single level.