Hey all, can someone tell me if the Anthropic connector for Sprites is meant to be used with the Claude CLI agent? I configured the connector, restarted my Sprite, and it keeps saying:
Not logged in * Please run /login
I thought the purpose was so I didn’t have to configure my login with Claude manually inside the container storing the secret in there.
It’s only intended as a way to give your sprite access to the Anthropic API. It doesn’t auto-configure claude code to use an API token, for example. You’d have to trick the CC binary into using the connector to achieve that.
If you want to use a subscription for claude code, there’s no way around doing the login dance, as far as I’m aware.
So I think once you “redeem” your credit, you would need to generate a Claude API token, put that into a connector and then set the env var above before invoking claude.
The connector is to avoid placing credentials on the Sprite, and also so that new Sprites can have instant access to any services you’ve provisioned as connectors.
You can query connectors from within a sprite, e.g.