SDK Configuration

Step 3: Select your AI provider and model.

Agent Workshop supports several AI providers. Each has different strengths, pricing, and model options.

Claude Agent SDK (Recommended)

The Claude Agent SDK is Anthropic's official framework for building AI agents. It's the recommended choice for most use cases.

Available Models

ModelContextPricing (Input/Output)Best For
Claude Sonnet 4.5200K tokens$3 / $15 per millionGeneral use, best balance of cost and capability
Claude Haiku 4.5200K tokens$1 / $5 per millionFast, cost-effective tasks
Claude Opus 4.1200K tokens$15 / $75 per millionComplex reasoning, highest capability

Advantages

  • Native streaming support for real-time responses
  • Built-in file operation tools
  • Optimized for agentic workflows
  • Simple setup process

Setup Requirements

  1. Create an account at console.anthropic.com
  2. Generate an API key
  3. Set ANTHROPIC_API_KEY in your .env file

OpenAI Agents SDK

The OpenAI Agents SDK provides agent capabilities with function calling and tool use.

Available Models

ModelContextBest For
GPT-5.1128K tokensLatest capabilities, general use
GPT-5 mini128K tokensCost-effective, faster responses
GPT-4.1128K tokensStable, well-tested

Advantages

  • Official OpenAI agent framework
  • Advanced function calling
  • Streaming support
  • Wide ecosystem compatibility

Setup Requirements

  1. Create an account at platform.openai.com
  2. Generate an API key
  3. Set OPENAI_API_KEY in your .env file

GitHub Copilot SDK

The @github/copilot-sdk package drives the same agent runtime as Copilot CLI. It is the only provider that needs no API key — it authenticates with your existing GitHub Copilot subscription.

Available Models

ModelContextBest For
AutoModel dependentRecommended — the runtime picks the best available model
Claude Sonnet 4.5200K tokensBalanced coding and agentic work
GPT-5 / GPT-5.4128K tokensFrontier reasoning, complex multi-step tasks
GPT-5.2 Codex128K tokensLong-running coding and refactoring

The exact model list depends on your subscription. Call client.listModels()at runtime for the authoritative list.

Advantages

  • No API key — uses your GitHub Copilot subscription
  • Built-in file, search and shell tools provided by the runtime
  • Automatically reads .github/copilot-instructions.md, AGENTS.md and CLAUDE.md
  • Bundles the Copilot CLI — no separate runtime install

Setup Requirements

  1. An active GitHub Copilot subscription
  2. Node.js 20.19+ (or 22.12+)
  3. Sign in once with npx @github/copilot, or set a GitHub token with Copilot access (GITHUB_TOKEN, GH_TOKEN, or COPILOT_GITHUB_TOKEN)

Copilot uses built-in tools

Copilot agents do not generate file-operations.ts, command-runner.ts or web-tools.ts. The runtime's own tools do that work. Tools you leave disabled in the wizard are excluded from the session and denied at the permission layer, so your permission policy still applies.

Which should I choose?

Claude, OpenAI and Copilot all produce functionally similar TypeScript agents. Choose based on:

  • Your preferred AI provider
  • Existing API keys or subscriptions you have
  • Specific model capabilities you need
  • Pricing considerations — Copilot is billed through your existing subscription

Advanced Settings

Max Tokens

Controls the maximum length of agent responses. Range: 1,000 - 8,000 tokens. Default: 4,096 tokens.

  • Lower values (1,000-2,000) - Concise responses, faster, cheaper
  • Higher values (6,000-8,000) - Detailed responses, better for complex tasks

Temperature

Controls response randomness. Range: 0.0 - 1.0. Default: 0.7.

  • Lower values (0.0-0.3) - Deterministic, consistent, best for code/analysis
  • Higher values (0.7-1.0) - Creative, varied, best for content generation

Recommended settings

For most agent use cases, the defaults work well. Consider lowering temperature to 0.3 for code-focused agents where consistency matters.