Skip to content

feat: advisor tier — host-side consult_advisor for any provider #587

Closed

Description

@ajianaz

What problem does this solve?

A cheaper executor consulting a stronger model on hard decisions improves results at lower cost (Anthropic advisor strategy: Sonnet + Opus advisor +2.7 pp SWE-bench Multilingual at 11.9% lower cost per task). Anthropic's advisor_20260301 is a Claude Platform server-side tool, unusable through tole's OpenAI-compatible /chat/completions provider.

Proposed solution

Per docs/profiles-collaboration-secrets.md A10:

  • When a profile declares an advisor tier, register a ReadOnly consult_advisor tool.
  • tole makes a separate provider call on the advisor model with a curated context (task contract + recent transcript window, after secret redaction) and returns a short plan, correction or stop signal.
  • The advisor never calls tools and never talks to the owner.
  • advisor_max_uses per run (default 3); tokens recorded separately in the usage ledger and carved from the run budget; each consultation is a ledger entry.

Alternatives considered

Provider-specific server tools (lock-in); escalating the whole run to the heavy tier (costlier).

Are you willing to contribute the implementation?

Yes, I can do it

Before submitting

  • I searched existing issues and didn't find a duplicate

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions