6 views
-/https://github.com/berriai/litellm/issues/30508
GitHub · issue

#30508 [Feature]: Support Claude Code via official CLI / Agent SDK

  • State: open
  • Author: @kishanios123
  • Labels: enhancement, proxy, llm translation, claude code

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

Add support for using Claude Code through the official Claude CLI / Agent SDK, for example `claude -p`, as a LiteLLM provider.

The goal is to allow users to use their existing official Claude Code authentication without extracting tokens or reusing session credentials manually.

### Motivation, pitch

Some current unofficial approaches depend on extracting Claude subscription/session tokens. This is unsafe and may violate Anthropic policies or risk account termination.

A LiteLLM integration that calls the official Claude Code CLI / Agent SDK would be safer and more compliant.

Desired behavior: - Configure LiteLLM to use the local Claude Code CLI / Agent SDK - Use official Claude Code authentication - Do not extract, scrape, or replay tokens - Support basic chat/completion - Support streaming if possible

This would help users integrate Claude Code with LiteLLM in a legal and policy-compliant way.

### What part of LiteLLM is this about?

Proxy

### LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to a…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h50m38s ago — entered · #import:https:::github.com:berriai:litellm post #3236
30508 requires a new provider-style proxy integration, authentication handling, process or SDK lifecycle management, request/response translation, streaming, configuration, and broader testing. 33034 is a localized stream aggregation fix with focused regression coverage and limited compatibility risk.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search