I've put a config.json file into
~/Library/Developer/Xcode/CodingAssistant/ClaudeAgentConfig
"awsAuthRefresh": "aws sso login --profile ai",
"env": {
"AWS_PROFILE": "ai",
"AWS_REGION":"ap-southeast-2"
"CLAUDE_CODE_USE_BEDROCK":"1",
"ANTHROPIC_MODEL":"au.anthropic.claude-sonnet-4-5-20250929-v1:0",
"ANTHROPIC_SMALL_FAST_MODEL":"au.anthropic.claude-haiku-4-5-20251001-v1:0",
"CLAUDE_CODE_MAX_OUTPUT_TOKENS":"4096",
"MAX_THINKING_TOKENS":"1024"
}
}
These are the env vars I use for Claude Code. I'm not sure how that relates to Claude Agent within Xcode or whether it is even possible to use Bedrock from within Xcode.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: