~/til/claude-code-using-kiro-api
Claude Code using Kiro API
1 min read
#workNote
Tried with Pro account, not using Free tier.
Shout out who writing this post https://dev.to/aws-heroes/the-aws-dev-setup-nobody-told-you-about-claude-code-kiro-pro-and-agent-plugins-1c3p by Vivok V. But why not using the actual Kiro CLI? Well the agents and skills and convinience it's on Claude Code, I don't want like change the habbits.
Here is what would i do at today.
- Ensure had already installed Kiro CLI and being authenticated as well.
- Clone and installing deps of jwadow/kiro-gateway
bash
git clone --depth=1 https://github.com/jwadow/kiro-gateway ~/kiro-gateway cd ~/kiro-dateway python3 -m venv .venv .venv/bin/pip install -r requirements.txt - Configure the
.envat~/kiro-gatewaybash
PROXY_API_KEY="kiro-local-proxy-key" KIRO_CLI_DB_FILE="/home/airi/.local/share/kiro-cli/data.sqlite3" SERVER_HOST="127.0.0.1" SERVER_PORT="9000"You may need to change the
airi(hostname) or the path following your system - Start the
kiro-gatewaybash
~/kiro-gateway/.venv/bin/python ~/kiro-gateway/main.py --port 9000 - Pointing Claude Code to use that instead default API or base url
bash
"env": { "ANTHROPIC_BASE_URL": "http://127.0.0.1:9000", "ANTHROPIC_API_KEY": "kiro-local-proxy-key", "ANTHROPIC_MODEL": "claude-opus-4-7" }