Skip to main content

Provider Options

Provider options let you enable provider-specific features like Anthropic's built-in tools and skills. These features run server-side on the provider's infrastructure.

Note: For provider-agnostic code execution, use Octavus Skills instead. Octavus Skills work with any LLM provider and run in isolated sandbox environments.

Anthropic Options

Configure Anthropic-specific features when using anthropic/* models:

yaml
agent:
  model: anthropic/claude-sonnet-4-5
  system: system
  anthropic:
    # Provider tools (server-side)
    tools:
      web-search:
        display: description
        description: Searching the web
      code-execution:
        display: description
        description: Running code

    # Skills (knowledge packages)
    skills:
      pdf:
        type: anthropic
        display: description
        description: Processing PDF document

Note: Provider options are validated against the model provider. Using anthropic: options with non-Anthropic models will result in a validation error.

Provider Tools

Provider tools are executed server-side by the provider (Anthropic). Unlike external tools that you implement, provider tools are built-in capabilities.

Available Tools

ToolDescription
web-searchSearch the web for current information
code-executionExecute Python/Bash in a sandboxed container

Tool Configuration

yaml
anthropic:
  tools:
    web-search:
      display: description # How to show in UI
      description: Searching... # Custom display text
FieldRequiredDescription
displayNohidden, name, description, stream, or title (default: description)
titleNoUI label shown when display: title (hides description and arguments)
descriptionNoCustom text shown to users during execution

Allows the agent to search the web using Anthropic's built-in web search:

yaml
agent:
  model: anthropic/claude-sonnet-4-5
  anthropic:
    tools:
      web-search:
        display: description
        description: Looking up current information

Tip: Octavus also provides a provider-agnostic web search via webSearch: true in the agent config. This works with any LLM provider and is the recommended approach for multi-provider agents. See Web Search for details.

Code Execution

Enables Python and Bash execution in a sandboxed container:

yaml
agent:
  model: anthropic/claude-sonnet-4-5
  anthropic:
    tools:
      code-execution:
        display: description
        description: Running analysis

Use cases:

  • Data analysis and calculations
  • File processing
  • Chart generation
  • Script execution

Note: Code execution is automatically enabled when skills are configured (skills require the container environment).

Skills

Important: This section covers Anthropic's built-in skills (provider-specific). For provider-agnostic skills that work with any LLM, see Octavus Skills.

Anthropic skills are knowledge packages that give the agent specialized capabilities. They're loaded into Anthropic's code execution container at /skills/{skill-id}/ and only work with Anthropic models.

Skill Configuration

yaml
anthropic:
  skills:
    pdf:
      type: anthropic # 'anthropic' or 'custom'
      version: latest # Optional version
      display: description
      description: Processing PDF
FieldRequiredDescription
typeYesanthropic (built-in) or custom (uploaded)
versionNoSkill version (default: latest)
displayNohidden, name, description, stream, or title (default: description)
titleNoUI label shown when display: title (hides description and arguments)
descriptionNoCustom text shown to users

Built-in Skills

Anthropic provides several built-in skills:

Skill IDPurpose
pdfPDF manipulation, text extraction, form filling
xlsxExcel spreadsheet operations and analysis
docxWord document creation and editing
pptxPowerPoint presentation creation

Using Skills

yaml
agent:
  model: anthropic/claude-sonnet-4-5
  system: system
  anthropic:
    skills:
      pdf:
        type: anthropic
        description: Processing your PDF
      xlsx:
        type: anthropic
        description: Analyzing spreadsheet

When skills are configured:

  1. Code execution is automatically enabled
  2. Skill files are loaded into the container
  3. The agent can read skill instructions and execute scripts

Custom Skills

You can create and upload custom skills to Anthropic:

yaml
anthropic:
  skills:
    custom-analysis:
      type: custom
      version: latest
      description: Running custom analysis

Custom skills follow the Agent Skills standard and contain:

  • SKILL.md with instructions and metadata
  • Optional scripts/, references/, and assets/ directories

Octavus Skills vs Anthropic Skills

FeatureAnthropic SkillsOctavus Skills
ProviderAnthropic onlyAny (agnostic)
ExecutionAnthropic's containerIsolated sandbox
Configurationagent.anthropic.skillsagent.skills
Definitionanthropic: sectionskills: section
Use CaseClaude-specific featuresCross-provider code execution

For provider-agnostic code execution, use Octavus Skills defined in the protocol's skills: section and enabled via agent.skills. See Skills for details.

Display Modes

Both tools and skills support display modes:

ModeBehavior
hiddenNot shown to users
nameShows the tool/skill name
descriptionShows the description (default)
streamStreams progress if available

Full Example

yaml
input:
  COMPANY_NAME: { type: string }
  USER_ID: { type: string, optional: true }

tools:
  get-user-account:
    description: Looking up your account
    parameters:
      userId: { type: string }

agent:
  model: anthropic/claude-sonnet-4-5
  system: system
  input: [COMPANY_NAME, USER_ID]
  tools: [get-user-account] # External tools
  agentic: true
  thinking: medium

  # Anthropic-specific options
  anthropic:
    # Provider tools (server-side)
    tools:
      web-search:
        display: description
        description: Searching the web
      code-execution:
        display: description
        description: Running code

    # Skills (knowledge packages)
    skills:
      pdf:
        type: anthropic
        display: description
        description: Processing PDF document
      xlsx:
        type: anthropic
        display: description
        description: Analyzing spreadsheet

triggers:
  user-message:
    input:
      USER_MESSAGE: { type: string }

handlers:
  user-message:
    Add message:
      block: add-message
      role: user
      prompt: user-message
      input: [USER_MESSAGE]
      display: hidden

    Respond:
      block: next-message

Validation

The protocol validator enforces:

  1. Model match: Provider options must match the model provider

    • anthropic: options require anthropic/* model
    • Using mismatched options results in a validation error
  2. Valid tool types: Only recognized tools are accepted

    • web-search and code-execution for Anthropic
  3. Valid skill types: Only anthropic or custom are accepted

Error Example

yaml
# This will fail validation
agent:
  model: openai/gpt-4o # OpenAI model
  anthropic: # Anthropic options - mismatch!
    tools:
      web-search: {}

Error: "anthropic" options require an anthropic model. Current model provider: "openai"