Introducing a new way to review your PRs.

Read the announcement

alishahryar1 / free-claude-code

Use Claude Code, Codex, Antigravity, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

View on GitHub

28 documents · Updated Nov 20, 2026

overview

Knowledge Base updated: 2026-11-19

Free Claude Code knowledge base

Free Claude Code is a Python gateway that connects compatible API and interactive clients to multiple upstream AI providers. Its main parts are the HTTP API, application execution and provider layers, messaging integrations, protocol adapters, runtime configuration, and client launchers.

Critical runtime state includes loaded settings and provider catalogs, connected-account/model selection, request and stream recovery state, and messaging conversation-tree/session state.

flowchart TD
  Clients[API and external clients] --> API[HTTP API gateway]
  API --> Exec[Execution routing]
  Exec --> Providers[Provider integrations]
  Providers --> Upstreams[AI provider APIs]
  API --> Protocols[Protocol adapters]
  Messaging[Discord and Telegram] --> Turns[Messaging turn workflows]
  Turns --> Exec
  Turns --> Trees[Conversation trees and transcripts]
  Config[Configuration lifecycle] --> Runtime[Runtime startup]
  Runtime --> API
  Runtime --> Providers
  CLI[CLI and desktop runtime] --> API
  Harnesses[Client integration harnesses] --> CLI

Glossary

  • Connected account: Configured provider identity used when selecting an upstream model and request credentials.
  • Conversation tree: Durable, branching coordination model for concurrent messaging turns.
  • Protocol adapter: Translation layer between gateway request/stream semantics and an upstream provider protocol.
  • Provider manager: Runtime component that constructs, discovers, and maintains the available provider set.
  • Fallback decision: Recorded selection of another model or runner after an execution failure.

Routing table