Skip to content

Subagents (Task tool) fail 100% on all BYOK models — "No output received" / "Task failed" #691

@HaydenLundin

Description

@HaydenLundin

Summary

The Task tool fails to execute any subagent when using BYOK custom models. Tested across 5 different models, 2 different providers, and 2 different provider types — all produce the same ⚠ Task failed with no output. The simplest possible task ("respond with the word hello") fails every time.

The default worker droid (shipped by Factory) fails on every BYOK model. This is not a droid configuration issue.

This appears related to closed FAC-12629 (same symptoms). The underlying issue persists.


Environment

  • OS: Windows (PowerShell)
  • Droid CLI version: [run droid --version and fill in]
  • Plan: Free (BYOK only, no Factory-hosted models available)
  • Droid files: Factory defaults (worker.md, scrutiny-feature-reviewer.md)
  • Custom Droids: Enabled in /settings

Reproduction

Prompt used (identical for all 5 tests)

Run the Task tool with subagent worker with prompt "respond with the word hello"

Results

# Model Provider API Type Result
1 Kimi K2.5 NVIDIA NIM generic-chat-completion-api ⚠ No output received
2 MiniMax M2.5 NVIDIA NIM generic-chat-completion-api ⚠ Task failed
3 Qwen 3.5 NVIDIA NIM generic-chat-completion-api ⚠ Task failed
4 GLM5 NVIDIA NIM generic-chat-completion-api ⚠ Task failed
5 Arcee Trinity Large OpenRouter openai ⚠ Task failed

5 out of 5 BYOK models fail. The failure is identical regardless of:

  • Model (tested 5 different models from 5 different labs)
  • Hosting provider (NVIDIA NIM vs OpenRouter)
  • Provider type (generic-chat-completion-api vs openai)

All 5 models work perfectly as the parent model for normal tasks (file reading, code editing, git commands, etc.). Only subagent delegation via the Task tool fails.


BYOK Configuration

{
  "customModels": [
    {
      "name": "minimax-m2.5",
      "displayName": "MiniMax M2.5 (NVIDIA Free)",
      "model": "minimaxai/minimax-m2.5",
      "baseUrl": "https://integrate.api.nvidia.com/v1",
      "apiKey": "REDACTED",
      "provider": "generic-chat-completion-api"
    },
    {
      "name": "kimi-k2.5",
      "displayName": "Kimi K2.5 (NVIDIA Free)",
      "model": "moonshotai/kimi-k2.5",
      "baseUrl": "https://integrate.api.nvidia.com/v1",
      "apiKey": "REDACTED",
      "provider": "generic-chat-completion-api"
    },
    {
      "name": "glm5",
      "displayName": "GLM5 (NVIDIA Free)",
      "model": "z-ai/glm5",
      "baseUrl": "https://integrate.api.nvidia.com/v1",
      "apiKey": "REDACTED",
      "provider": "generic-chat-completion-api"
    },
    {
      "name": "qwen3.5-397b-a17b",
      "displayName": "Qwen 3.5 (NVIDIA Free)",
      "model": "qwen/qwen3.5-397b-a17b",
      "baseUrl": "https://integrate.api.nvidia.com/v1",
      "apiKey": "REDACTED",
      "provider": "generic-chat-completion-api"
    },
    {
      "name": "trinity-large",
      "displayName": "Arcee Trinity Large (OpenRouter Free)",
      "model": "arcee-ai/trinity-large-preview:free",
      "baseUrl": "https://openrouter.ai/api/v1",
      "apiKey": "REDACTED",
      "provider": "openai"
    }
  ]
}

Droid File (Factory default)

~/.factory/droids/worker.md:

---
name: worker
description: >-
  General-purpose worker droid for delegating tasks. Use for non-trivial tasks
  that benefit from parallel execution, such as code exploration, Q&A, research,
  analysis.
model: inherit
---
# Worker Droid

Complete the requested task and report back concisely. In your response, include your chain of
thought and a paper trail of relevant resources (e.g. files, code, git commits, web searches, etc)
following the order and logic through which you discovered them.

What I Cannot Test

I am on the free tier with BYOK only — I have no access to Factory built-in models. This means:

  • I cannot do a control test to confirm subagents work on built-in models
  • I have no workaround for this issue
  • If subagents require Factory-hosted tokens, free BYOK users are completely blocked with no error message explaining why

Documentation Gap

The [BYOK docs](https://docs.factory.ai/cli/byok/overview) state all features work with BYOK. The [Custom Droids docs](https://docs.factory.ai/cli/configuration/custom-droids) show model: inherit as the standard pattern with no caveats about BYOK compatibility.

If subagents require a paid subscription, this should be documented clearly on both pages.


Expected Behavior

  • Subagent spawns using the parent session's BYOK model and credentials
  • Subagent executes and returns output
  • model: inherit propagates the BYOK configuration to the subagent

Actual Behavior

  • Task tool invokes subagent
  • Subagent produces no output (or returns 402)
  • Parent model silently falls back to doing the work itself
  • User has no clarity on what went wrong

Request

  1. Confirm or deny: Do subagents work with BYOK models on the free plan?
  2. If yes (bug): Fix credential propagation to subagent processes
  3. If no (by design): Update BYOK and Custom Droids docs to state this limitation, and replace the silent "No output received" error with a clear message like "Subagents require a Factory subscription"
  4. Either way: Improve error reporting — silent failures waste significant user debugging time

Related Issues

  • FAC-12629 — Specialist Droid hangs on requests (closed, same symptoms)
  • FAC-12288 — Droid Exec headless mode doesn't support custom models
  • FAC-12403 — Feature request for custom models in droid exec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions