← Back to all entries
2026-04-10 🧭 Daily News

Advisor Tool Beta, Claude Code v2.1.98 Security Fix & Messages API on Bedrock

Advisor Tool Beta, Claude Code v2.1.98 Security Fix & Messages API on Bedrock — visual for 2026-04-10

🧭 Advisor Tool: Near-Advisor-Quality Output at Executor-Model Prices

Anthropic has shipped the Advisor Tool in public beta — a new primitive that lets you pair two models in a single inference call. A fast, inexpensive "executor" model handles the bulk of token generation while a higher-intelligence "advisor" model is invoked at strategic decision points to provide guidance mid-generation. The result is task quality close to running the advisor model solo, but at a cost profile much closer to the executor model alone.

Access requires the beta header anthropic-beta: advisor-tool-2026-03-01; the Python and TypeScript SDKs set it automatically when you pass the advisor parameter.

When the advisor kicks in

The executor decides autonomously when to pause and consult the advisor — similar to how a junior engineer knows when to ask a senior colleague for a review rather than guessing. You can also configure an explicit advisor_triggers list (tool names or event types) to force a consultation at known high-stakes moments, such as before irreversible tool calls like file writes or API mutations.

Practical configuration

import anthropic

client = anthropic.Anthropic()

response = client.messages.create(
    model="claude-haiku-4-5",          # executor: fast + cheap
    advisor={
        "model": "claude-opus-4-6",    # advisor: strategic guidance
        "advisor_triggers": [
            {"type": "tool_use", "tool_name": "bash"},
            {"type": "tool_use", "tool_name": "write_file"},
        ]
    },
    max_tokens=4096,
    tools=[...],
    messages=[{"role": "user", "content": "..."}],
    betas=["advisor-tool-2026-03-01"],
)
Cost-quality sweet spot for long-horizon agentic workloads

The Advisor Tool is most valuable for multi-step tasks where the majority of steps are routine (file reads, search queries, text formatting) but occasional steps are genuinely hard (deciding between two architectures, reasoning about a tricky edge case). Routing only those hard steps to Opus 4.6 while keeping everything else on Haiku can reduce costs by 60–80% on typical agentic workloads with negligible quality loss on the overall task.

Three limitations to be aware of in the current beta: the advisor cannot initiate tool calls directly (it can only provide textual guidance to the executor); the advisor's tokens count toward a separate token budget and are billed at the advisor model's rate; and the feature is not yet available on Amazon Bedrock or Google Vertex AI.

Advisor Tool beta dual-model cost optimisation agentic executor

🧭 Claude Code v2.1.97–v2.1.98: Focus View, Subprocess Sandboxing & a Security Patch

Two Claude Code releases landed in quick succession. v2.1.97 introduced a Focus View toggle (Ctrl+O) that collapses the terminal UI down to three elements: the prompt, a single-line tool summary with diff stats, and the final model response. Developers working on long-running refactors report that hiding the verbose tool trace cuts visual noise enough to maintain context across hours of autonomous edits.

v2.1.98 is the more security-significant release. It addresses a Bash tool permission bypass where a backslash-escaped flag in a command string could be auto-classified as read-only and granted execution without a separate approval prompt — allowing arbitrary code to run under the guise of a read-only filesystem operation. If you are running Claude Code with a custom allowlist that auto-approves read-only Bash operations, update immediately.

Other v2.1.98 additions

Action required if you use auto-allow rules for Bash

The backslash-escape bypass only affects configurations that have bash in their auto-allow list with a read-only filter (e.g. bash:read in settings.json). If you use interactive permission mode (the default), you were not exposed. Still, update to v2.1.98 via claude update or your package manager. The CVE identifier will be published in the GitHub Security Advisory once the update window closes.

Claude Code security Focus View subprocess sandboxing Vertex AI OpenTelemetry

🧭 Claude's Messages API Comes to Amazon Bedrock — Same Shape, Zero Operator Access

Anthropic has launched the Messages API on Amazon Bedrock as a research preview, available initially in us-east-1. Unlike the existing Bedrock Converse endpoint (which wraps a normalised AWS request shape), the new /anthropic/v1/messages endpoint accepts the identical JSON request format as the first-party Claude API — no adapter layer, no field mapping, no request translation. Code written against api.anthropic.com can be pointed at the Bedrock endpoint by swapping a single base URL and replacing the x-api-key header with AWS Signature V4.

Why this matters for enterprise teams

Migration snippet

import anthropic
import boto3
from botocore.auth import SigV4Auth

# Point the standard client at Bedrock
client = anthropic.Anthropic(
    base_url="https://bedrock.us-east-1.amazonaws.com/anthropic/v1",
    auth=SigV4Auth(boto3.Session().get_credentials(), "bedrock", "us-east-1"),
)

# From here, use exactly as you would with api.anthropic.com
response = client.messages.create(
    model="claude-sonnet-4-6",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello from Bedrock!"}],
)

The research preview is available by contacting an Anthropic account executive; general availability is planned for Q2 2026. Not all beta features (e.g. the Advisor Tool, Managed Agents) are accessible on the Bedrock endpoint during the preview period.

Amazon Bedrock Messages API enterprise data residency VPC PrivateLink AWS
Source trust ratings ⭐⭐⭐ Official Anthropic  ·  ⭐⭐ Established press  ·  Community / research