# alishahryar1/free-claude-code

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/alishahryar1-free-claude-code).**

34,843 stars · 5,367 forks · Python · MIT

## Links

- GitHub: https://github.com/Alishahryar1/free-claude-code
- awesome-repositories: https://awesome-repositories.com/repository/alishahryar1-free-claude-code.md

## Description

This project is a multi-provider AI gateway and proxy server that intercepts and routes requests between AI clients and various large language model providers. It functions as an API protocol translator and model router, mapping incoming requests to specific upstream providers or local runners to provide a unified interface for multiple models.

The system distinguishes itself by bridging chat platforms and command line interfaces, converting messages from chat services into managed command line sessions. It further optimizes traffic by executing certain web search and fetch requests locally and translating message formats, streaming events, and tool schemas between different provider standards.

The proxy includes capabilities for voice input and output processing, including audio-to-text transcription. It also provides a local web interface for managing provider keys, validates requests via authorization tokens, and implements a transport-class abstraction to support the integration of custom backend services.

## Tags

### Artificial Intelligence & ML

- [AI Request Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-request-routing.md) — Implements infrastructure to secure, monitor, and route incoming requests to various AI model providers.
- [AI Provider Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-provider-integrations.md) — Provides a system for integrating new cloud or local model backends through custom transport classes.
- [AI Request Routers](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-request-routers.md) — Maps incoming model requests to specific upstream providers based on defined tiers or references.
- [API Translation Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/api-translation-layers.md) — Translates message formats, streaming events, and tool schemas between different AI provider API standards. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/ARCHITECTURE.md))
- [Conversational Input Protocols](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-input-protocols.md) — Translates between different model provider formats and tool schemas to ensure compatibility.
- [Chat-to-CLI Bridging](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-session-management/chat-to-cli-bridging.md) — Converts chat platform messages into managed command line sessions using a structured conversation queue.
- [LLM Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-gateways.md) — Functions as a centralized interface for aggregating multiple LLM providers into a single API.
- [AI Provider Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/model-capability-extensions/ai-provider-interfaces.md) — Provides standardized interfaces for integrating external AI service providers to handle multi-turn text and tool use. ([source](https://github.com/Alishahryar1/free-claude-code/tree/main/smoke))
- [Model Provider Proxies](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-proxies.md) — Routes requests between third-party model providers and local runners to unify access to various LLMs. ([source](https://github.com/Alishahryar1/free-claude-code/tree/main/providers))
- [AI Hosting Platforms](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-hosting-platforms.md) — Provides a network entry point for hosting and serving artificial intelligence capabilities to clients. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/server.py))
- [AI Observability Tracing](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-observability-tracing.md) — Emits structured events across the request flow to diagnose AI system behavior without logging raw data. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/ARCHITECTURE.md))
- [Local Tool Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/local-ai-execution-environments/local-tool-execution.md) — Handles web search and fetch requests locally to stream responses without sending traffic to upstream providers. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/ARCHITECTURE.md))
- [Model Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/model-routing.md) — Maps incoming model requests to specific upstream providers based on defined tiers or direct references. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/ARCHITECTURE.md))
- [Realtime AI Session Managers](https://awesome-repositories.com/f/artificial-intelligence-ml/realtime-ai-session-managers.md) — Exposes AI capabilities through chat bots to allow remote interaction and progress streaming. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/README.md))

### Networking & Communication

- [Model Request Proxies](https://awesome-repositories.com/f/networking-communication/model-request-proxies.md) — Intercepts and routes AI API requests to alternative provider backends while preserving wire protocols. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/README.md))
- [Protocol Translators](https://awesome-repositories.com/f/networking-communication/cross-chain-messaging-protocols/protocol-translators.md) — Translates API message formats and tool schemas between client extensions and diverse third-party model providers.
- [Chat Platform Integrations](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/communication-platforms/messaging-middleware/chat-platform-integrations.md) — Manages the exchange of messages across external chat services using bot tokens and channel identifiers. ([source](https://github.com/Alishahryar1/free-claude-code/tree/main/smoke))
- [Custom Transport Protocols](https://awesome-repositories.com/f/networking-communication/custom-transport-protocols.md) — Enables communication with new API backends using custom transport classes and standard protocols. ([source](https://github.com/Alishahryar1/free-claude-code#readme))
- [AI Messaging Bridges](https://awesome-repositories.com/f/networking-communication/message-bridges/ai-messaging-bridges.md) — Wraps AI sessions in bot interfaces to enable remote interaction and task management via chat applications. ([source](https://github.com/Alishahryar1/free-claude-code#readme))
- [CLI Session Bridges](https://awesome-repositories.com/f/networking-communication/message-bridges/ai-messaging-bridges/cli-session-bridges.md) — Converts messages from chat platforms into managed command line sessions for remote AI interaction.
- [CLI Session Proxying](https://awesome-repositories.com/f/networking-communication/traffic-proxying/cli-session-proxying.md) — Routes command line requests through custom providers to enable adaptive thinking and session management. ([source](https://github.com/Alishahryar1/free-claude-code/tree/main/smoke))

### Part of an Awesome List

- [AI Gateways](https://awesome-repositories.com/f/awesome-lists/ai/ai-gateways.md) — Provides a unified entry point integrating cloud backends and local runners for multiple models.

### Software Engineering & Architecture

- [Transport Abstractions](https://awesome-repositories.com/f/software-engineering-architecture/transport-abstractions.md) — Standardizes communication with various API backends through a common interface to support new provider integration.
- [Controller-Based Routing](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/api-design-management/api-patterns/controller-based-routing.md) — Maps incoming model requests to specific upstream backends using structured interface handlers.
- [Local-First Tool Processing](https://awesome-repositories.com/f/software-engineering-architecture/local-first-tool-processing.md) — Intercepts web search and fetch requests to process them locally instead of forwarding traffic to upstream providers.
- [Custom AI Provider Registration](https://awesome-repositories.com/f/software-engineering-architecture/service-providers/custom-ai-provider-registration.md) — Adds new backend services by implementing transport classes and registering them within a provider catalog. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/README.md))

### Development Tools & Productivity

- [AI Proxy Integrations](https://awesome-repositories.com/f/development-tools-productivity/ide-extension-features/ai-proxy-integrations.md) — Allows editor extensions to connect to alternative AI model providers by overriding base URLs and tokens. ([source](https://github.com/Alishahryar1/free-claude-code/blob/main/README.md))
- [Model Provider Overrides](https://awesome-repositories.com/f/development-tools-productivity/ide-integration-plugins/model-provider-overrides.md) — Connects editor plugins to alternative model providers by overriding base URLs and authentication tokens.
