summaryrefslogtreecommitdiff
path: root/skills/claude-api/python/managed-agents
AgeCommit message (Collapse)Author
2026-10-09Update claude-api skill: dynamic workflows and the four workflow quickstarts ↵CJ Avilla
(#1995) Sync of the bundled claude-api skill: the Managed Agents dynamic workflows guidance, the four dynamic-workflow quickstart templates, and the limited- networking web-tool rules. Public-only trims in SKILL.md, shared/evals/ and shared/model-migration.md are preserved. Co-authored-by: Claude <noreply@anthropic.com>
2026-10-09Update claude-api skill: Claude Haiku 5.5 as the current Haiku, Managed ↵Lance Martin
Agents and preserved-thinking fixes (#1991)
2026-09-28Update claude-api skill: Claude Opus 5.5 default, Claude Sonnet 5.5, ↵Lance Martin
build-eval and hillclimb guides (#1930) * Update claude-api skill: Claude Opus 5.5 default, Claude Sonnet 5.5, build-eval and hillclimb guides - Make Claude Opus 5.5 (`claude-opus-5-5`) the default model across SKILL.md, models.md, and every language's examples, with Claude Opus 5 as the previous Opus; add "Migrating to Claude Opus 5.5" to shared/model-migration.md - Add Claude Sonnet 5.5 (`claude-sonnet-5-5`) as the current Sonnet, with Claude Sonnet 5 as the previous one, and update pricing, model-support callouts, and platform availability to match - Add the build-eval and hillclimb flows under shared/evals/ (build-eval, eval-hillclimb, cost-hillclimb, eval-audit), the report schema, the lite HTML report builder, and the runner scaffold - Add the preserved-thinking-migration subcommand with its cause reference and probe scripts, and note that drop_block can raise token usage - Update cost-optimize for preserved thinking and per-model cache rates, and point cache misses at cache diagnostics - Default streaming client tools to eager_input_streaming; document model access as a 404 and beta gating as a 400, not a 403 - Recommend `ant apply` for version-controlled Managed Agents resources; fix the thinking-binding default, Bedrock/Vertex header, and Managed Agents beta headers - Use current-generation model ids in the Go, Java, and C# samples, and repoint dead live-sources URLs * Update claude-api skill: drop references to files not shipped with the skill - Remove the pointer to an examples directory that is not part of the skill from build-eval.md - Remove the notes about a prebuilt report viewer's install source from SKILL.md, build-eval.md, and eval-hillclimb.md; the lite report builder remains the documented default - Trim pre-launch behavior history from the thinking-block replay note and reword two "early-access" mentions in model-migration.md
2026-09-01Update claude-api skill: Claude Fable 5.1 / Mythos 5.1, Managed Agents ↵Lance Martin
updates, cost-optimize (#1704) * Update claude-api skill: Managed Agents self-hosted memory stores and web tool domain settings, cost-optimize subcommand, Admin API reference, ASCII-only text Managed Agents: self-hosted sandboxes can now attach memory stores via the SDK worker (handle_item, ANTHROPIC_WORK_SECRET, sync options, troubleshooting); web_search/web_fetch accept allowed_domains/blocked_domains/user_location/max_content_tokens on the toolset configs entry and are not governed by environment networking; typed per-tool config unions; Console session viewer notes; packages caveat under limited networking; Claude Platform on AWS self-hosted worker auth. New shared/cost-optimization.md backing a cost-optimize subcommand, and new shared/admin-api.md covering client.beta.organization in all SDKs and the CLI. Prompt caching gains TTL selection, automatic vs explicit breakpoint guidance, workspace isolation, and verification guidance. Sonnet 5 pricing is the permanent $2/$10 list price. Advisor pairing no longer excludes Claude Fable 5 for Managed Agents. Reviewer-only HTML comments are stripped from the published files. All files are now plain ASCII in prose (em dashes, arrows, emoji callouts, and box-drawing replaced with ASCII equivalents), matching the source so future syncs diff cleanly. No-Verification-Needed: documentation-only change to skill reference content * Update claude-api skill: Claude Fable 5.1 / Mythos 5.1 catalog rows, Files and Skills APIs out of beta Claude Fable 5.1 (claude-fable-5-1) and Claude Mythos 5.1 (claude-mythos-5-1) become the default Fable-tier models throughout the skill; Claude Fable 5 and Mythos 5 stay selectable by id with their own catalog rows. Feature-support lists that named Fable 5 now read Fable 5/5.1. The Files API and Skills API are out of beta: examples use client.files.* / client.skills.* with no beta header, and the API-drift table points at the beta-to-GA migration docs. No-Verification-Needed: documentation-only change to skill reference content * Update claude-api skill: Claude Fable 5.1 / Mythos 5.1 migration section and API changes Adds a "Migrating to Claude Fable 5.1 from Claude Fable 5" section to shared/model-migration.md: three breaking changes (forced tool_choice any/tool returns 400; thinking blocks are preserved only for the model that produced them or a newer one; and only in the conversation that produced them, so edited history replayed with thinking blocks is rejected), what carries over from Fable 5, the Opus 5 path, Mythos 5.1 notes, capability improvements, prompt-tunable behavioral shifts, and a migration checklist. New API features documented: per-message effort (mid-conversation-output-config beta), turn-scoped mid-conversation system messages with clear_at, progress updates between tool calls via thinking.display "updates", thinking block_binding controls, and the 0.025x cache-read rate on Fable 5.1 with a max_tokens: 0 keep-alive that usually beats the 1-hour TTL. Error catalog, prompt-caching, tool-use, platform-availability, cost-optimization, and prompt-audit are updated to match; SKILL.md routes migration and prompting questions to the new section. No-Verification-Needed: documentation-only change to skill reference content * Update claude-api skill: Claude Fable 5.1 launch-day hedges and migration-path table rows Adds claude-fable-5 -> claude-fable-5-1 and claude-mythos-5 -> claude-mythos-5-1 rows to the migration-path and model-ID mapping tables (including the Bedrock IDs), and updates the refusal-fallback example to the 5.1 model id. Hedges three claims until the launch docs confirm them: Task Budgets support on Claude Fable 5.1, whether Claude Mythos 5.1 shares the 0.025x cache-read rate, and the fallback-credit wording. The block_binding error row now says to send the controls beta header only where that beta is offered and to fall back to strip-and-retry elsewhere. Cross-references within the migration section point at the history-editing check directly. No-Verification-Needed: documentation-only change to skill reference content
2026-07-24Update claude-api skill: Claude Opus 5 (#1476)Lance Martin
* Update claude-api skill: Claude Opus 5 - Add Claude Opus 5 (`claude-opus-5`) as the default model across all SDK examples, model tables, pricing, and migration guidance. - Add an Opus 5 migration section covering the API changes that come with it, and move Opus 4.8 into the previous-generation slot. - Drop the Opus 4.7 fast-mode guidance, which no longer applies. - Scope the server-side fallbacks beta header to the current version. * Update claude-api skill: Opus 5 fast-follow corrections - Server-side refusal fallbacks are available on Claude Platform on AWS, not just the Claude API. Correct the availability statements in SKILL.md, the migration guide, and the platform-availability table. - Simplify the effort guidance: start at `high` (the API default) and sweep down, rather than starting at `xhigh` for coding work. - Add a time-to-first-token section with the prompt instruction that reduces pre-answer thinking on latency-sensitive routes. - Replace the two separate thinking-disabled mitigations with the single combined instruction that covers both failure modes.
2026-07-22Update claude-api skill: Managed Agents July launch wave, partner pricing, ↵Lance Martin
tool-runner corrections (#1463) Syncs the claude-api skill with the current upstream source. ## Managed Agents — five new features - `effort` on the agent's `model` object (a level string or `{"type": "<level>"}`). It is agent-configuration only: setting it in a per-session `model` override is silently ignored. - Optional `version` on agent update, for optimistic concurrency. Omit it for last-write-wins. - `initial_events` on session create, collapsing create plus first send into one call. Validation is all-or-nothing and only `user.message` and `user.define_outcome` are accepted. - Environment and memory-store webhooks: four `environment.*` events and three `memory_store.*` events. - Event deltas on per-thread streams. Previews are thread-scoped, so a child thread's previews never reach the session-level stream. ## Corrections to behavior the skill already documented - Tool output offload triggers at 100,000 characters (~25k tokens), not 100K tokens, and covers built-in tools rather than MCP alone. - `system.message` works on four models, checks only the primary model, appends system context instead of replacing the prompt, and is accepted during a `requires_action` idle when it trails a tool result in the same request. - Vault-to-MCP credential matching is normalized (scheme and host lowercased, default ports and trailing slashes stripped), not byte-exact. - Multiagent depth greater than 1 is a validation error, not silently ignored. - Outcome `interrupted` fires even when evaluation never started, and then carries an empty-string `outcome_evaluation_start_id`. - Deployment jitter is 15% of the run interval, floor 5s, cap 9 minutes. - Webhooks retry three times with jittered 5-120s backoff, then drop silently. Auto-disable is duration-based with three named triggers. - `session.status_terminated` means completion or error. - `agent.thinking` is a progress signal and carries no thinking content. - `processed_at` is already populated on first sighting for `user.define_outcome`, `user.custom_tool_result`, and `user.tool_result`. - Session creation does not provision the sandbox. - Skill `version` applies to Anthropic-authored skills too. - Console-created vault credentials are header-injection only, and vault environment-variable substitution skips secrets in URL paths. - Console trace URLs need the real workspace ID when the API key is not in the Default workspace. ## Elsewhere in the skill - Note partner pricing under the first-party price table: Microsoft Foundry bills at standard API rates, while Amazon Bedrock and Vertex AI are partner-operated with separate pricing. - Correct the tool-runner human-in-the-loop guidance, which previously pointed readers at the manual loop for approval gates the runner's per-turn hooks already cover. - Repoint links away from the retired documentation hosts. - Dedupe eagerly loaded SKILL.md content that the per-section files already cover.
2026-07-01Update claude-api skill: Claude Sonnet 5 and Managed Agents July updates (#1373)Lance Martin
2026-06-07Update claude-api skill: auth, cloud providers, Managed Agents fixes, token ↵Lance Martin
counting (#1276) * Sync claude-api skill with latest upstream updates - Add token-counting.md and SKILL.md trigger description update - Add auth guidance: env credential resolution, ant auth login, OAuth/WIF doc links, 401 causes - Add mid-conversation system messages (beta) to prompt-caching, agent-design, SKILL.md, Python/TS READMEs - Add cache pre-warming (max_tokens: 0) section to prompt-caching - Add Managed Agents pre-flight viability check to onboarding and overview - Add Bedrock model-ID section to model-migration; add Bedrock row to live-sources - Add /claude-api migrate subcommand row and migrate-entry callout - Fix MA networking config: limited type with allow_package_managers/allow_mcp_servers - Bump MA create-operations rate limit to 300 RPM - Fix MA SDK drift: sessions.events.stream(), event.name, typed event arrays - Add SDK coverage: stop_details, error .type, C# tool runner + MA support, Go model constants, Java 2.34.0, client config, response helpers, auto-pagination, advisor tool - Move Sonnet 4 / Opus 4 to deprecated in models.md * Add Anthropic CLI and Claude Platform on AWS docs to claude-api skill - Add shared/anthropic-cli.md: install, auth profiles, OAuth scopes, command structure, version-controlled Managed Agents resources, credential traps - Add shared/claude-platform-on-aws.md: AnthropicAWS clients, SigV4 auth, workspace_id, regions, feature availability - Restore cross-references to both files throughout SKILL.md and the managed-agents docs (previously rewritten to live-sources.md pointers) - Restore Claude Platform on AWS provider taxonomy in SKILL.md, the migration-guide section, and live-sources rows
2026-05-28Add Opus 4.8 migration guide and model updates to claude-api skill (#1216)Lance Martin
* Add Managed Agents self-hosted sandboxes + mid-session agent updates + MCP tool-output offload to claude-api skill Self-hosted sandboxes: new shared/managed-agents-self-hosted-sandboxes.md for config:{type:"self_hosted"} — agent loop on Anthropic's orchestration, tool execution on customer infra via outbound-polling worker. Covers EnvironmentWorker.run()/.run_one() (Py/TS), ant beta:worker poll/run, mid-level work.poller()/WorkPoller (Py/TS/Go only; Go has no auto_stop opt-out), AgentToolContext/beta_agent_toolset/tool_runner(), monitoring (environments.work.stats/stop — x-api-key, call from outside worker host), runtime deps, cloud-vs-self_hosted delta table, credentials, security ownership split. Cross-refs in environments.md, overview.md (Reading Guide + rewrote cloud-only pitfall), api-reference.md (SDK row + naming-quirks + schema + work REST rows), tools.md (Who-runs-it carve-out), onboarding.md, live-sources.md. Mid-session agent updates: sessions.update(session_id, agent={tools, mcp_servers}, vault_ids=[...]) — session-local override (doesn't bump agent version), full-replacement semantics, session must be idle. New core.md section + pointers in tools.md, api-reference.md (UpdateSession row), overview.md. Large MCP tool outputs → files: >100K tokens → automatic offload to sandbox file; agent gets truncated preview + path. Plus: invalid vault credentials don't block sessions.create() — session.error event fires, auth retries on next idle→running. Both in tools.md. * Point ant CLI install ref to live-sources.md (OSS has no anthropic-cli.md) * Add Opus 4.8 model migration guide to claude-api skill * Add prescriptive tool-description guidance for Opus 4.8 to claude-api skill
2026-04-16chore: update claude-api skill (#956)Eric Harmeling
Add shared/model-migration.md and refresh model references, managed agents docs, and skill description across all language guides.
2026-04-08Update claude-api skill with Managed Agents guidance (#891)Eric Harmeling
* Update claude-api skill with Managed Agents guidance * Replace OPUS_ID placeholder with concrete model string in claude-api skill * Replace remaining model placeholders with concrete model names and IDs