Skip to content

Feature request: AWS Bedrock authentication through environment variables #491

@josf

Description

@josf

It would be great to be able to use models through AWS Bedrock, using the AWS credentials in environment variables. (In fact, this is the only way we're allowed to use LLMs at work.)

To use claude-code.el, for example, I add these to my use-package:

         :config 
        (setenv "CLAUDE_CODE_USE_BEDROCK" "1")
        (setenv "AWS_REGION" "eu-west-1")
        (setenv "AWS_PROFILE" "my-aws-profile")
        (setenv "ANTHROPIC_MODEL" "eu.anthropic.claude-opus-4-6-v1")

Having something similar in agent-shell would allow me to use agent-shell instead.

If there's interest in this feature, I have it working on a PR on my fork.

Checklist

  • I agree to communicate with the author myself (not AI-generated).
  • I've read the README's Filing issues section.
  • I'm running the latest versions (fill in below).
    • agent-shell version: v0.50.1
    • acp.el version: v0.11.3
    • ACP package (e.g. claude-agent-acp) version: 0.23.1
    • Agent CLI (e.g. claude, gemini) version: claude v2.1.89
  • For requesting new agent support, I'm including a link to the ACP-capable agent or related ACP package.
  • For issues, I'm including ACP traffic (as per README).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions