You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Add Kiro provider for AWS Bedrock Claude models #9165
Add support for Kiro (AWS CodeWhisperer) as a new provider, enabling access to Claude models via AWS Bedrock using Kiro CLI authentication.
Motivation
Kiro CLI provides a convenient way to access Claude models through AWS Bedrock without requiring direct AWS credentials configuration. This provider would allow opencode users who have Kiro CLI installed to use Claude models seamlessly.
Proposed Solution
Add a new provider kiro with full LanguageModelV2 SDK implementation
Use plugin-based authentication that reads tokens from Kiro CLI's SQLite database
Support streaming responses via AWS Event Stream parsing
Include support for extended thinking mode
Models to Support
claude-sonnet-4-5
claude-opus-4-5
claude-sonnet-4
claude-haiku-4-5
claude-3-7-sonnet
Additional Context
Kiro CLI stores OAuth tokens in ~/.local/share/kiro-cli/data.sqlite3 (Linux/macOS) or %APPDATA%/kiro-cli/data.sqlite3 (Windows).
Reacted by JoLo, Nicolas ERNY, Tuan Nguyen, Wemmy0, maksym-dakal, Mark Nielsen, Maksym Dakal, Pranav Malewadkar, Julien Beaulieu, Jose and 33 more
Reacted by José Cabeda, Marco Angaroni - Italtel, Taeyeong Kim, Alex Guglielmone Nemi, Cuckoo Chickoo, Anatolii Papenko, Jean-Philippe Lachance and nhantrandev96
Thank you for sharing the plugin. As you mentioned, it does seem that Opus is not supported at the moment. I understand the current limitation, but I would also like to be able to use Opus.
@thdxr
This implementation is based on authentication via the Kiro client (Kiro CLI), where OAuth tokens are stored in a local SQLite database. With this approach, supporting the use of Opus is possible.
Would you be willing to reconsider merging this implementation? feat: add Kiro provider #9164
Reacted by Filip Popa, JoLo, meomking, chuyouxin2020, Neo Xu, maksym-dakal, ssewagudde, Maksym Dakal, Jordan Fjellman, 최현석(ClientCore) and 2 more
For the love of god can somebody please add this functionality
Reacted by Ivan Milev, Daniel Boll, Chiye Ma, Amirhossein Akbari, StewartHuang, Anatolii Papenko, Thiago Reis, mariotescovschi, Roman Gonzalez, Diego Roberto Dos Santos and 19 more
Activity
gustavonline commentedon Jan 19, 2026
Never mind check this out: https://www.npmjs.com/package/@zhafron/opencode-kiro-auth
Love this community published 16 hours ago!
fpopa commentedon Jan 19, 2026
I believe this doesn't support the enterprise kiro plans?
I've got a kiro pro subscription, I think the plugin doesn't work with the paid plans?
Mainly want to do that so that I can leverage opus instead of sonnet, tried changing the configs and mappings but can't get past this yet:
Ended up forking the repo and piggy-backing on the kiro-ide tokens for now
ikeda-tomoya-swx commentedon Jan 20, 2026
Thank you for sharing the plugin. As you mentioned, it does seem that Opus is not supported at the moment. I understand the current limitation, but I would also like to be able to use Opus.
@thdxr
This implementation is based on authentication via the Kiro client (Kiro CLI), where OAuth tokens are stored in a local SQLite database. With this approach, supporting the use of Opus is possible.
Would you be willing to reconsider merging this implementation?
feat: add Kiro provider #9164
gd03champ commentedon Feb 6, 2026
https://github.com/jwadow/kiro-gateway
this supports enterprise auth fyi, if this can help set the plugin
patrickfeeney03 commentedon Feb 16, 2026
Hello @fpopa whats your current setup for kiro in opencode if you're still using it. I would like to set mine up too.
ricardoraposo commentedon Feb 26, 2026
For the love of god can somebody please add this functionality
github-actions commentedon Apr 28, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
vkpdeveloper commentedon May 19, 2026
that plugin does not work anymore
toandev95 commentedon Jun 12, 2026
anyone who can use kiro-cli can try my approach
opencode-kiro-auth