LightAgent icon indicating copy to clipboard operation
LightAgent copied to clipboard

Docs suggestion: AnyLLM gateway — making Chinese providers accessible to LightAgent's international users

Open JetragonRider opened this issue 3 months ago • 1 comments

LightAgent's provider list covers the major Chinese models — Zhipu, DeepSeek, Qwen, Kimi, MiniMax, Baichuan — and with READMEs in 11 languages, the project is clearly reaching a global audience. But there's a gap: for users outside China, signing up with each of these providers requires a Chinese phone number and Alipay. International users who want to try LightAgent with the Chinese models it's built around often can't.

I built AnyLLM, an OpenAI-compatible API gateway with 24+ Chinese and international models behind a single key: DeepSeek V4, Qwen3.7-Plus, GLM-5.2, Kimi K2.5, MiniMax M3 — alongside GPT-5 and Gemini. International cards and crypto accepted, pass-through pricing with zero markup, built-in routing and failover.

Why this fits LightAgent Zero integration. LightAgent takes model + api_key + base_url — AnyLLM works with exactly that, no adapter needed. Unblocks the global audience. One AnyLLM key gives international users all the Chinese providers in your list, plus GPT-5 and Gemini in the same connection — a single docs example covers every provider you support. Multi-agent cost control. LightSwarm delegation and ToT reasoning multiply LLM calls per task. Chinese models at pass-through pricing make larger agent swarms practical — assign cost-efficient models to simple agents, frontier models to reasoning-heavy ones. Failover aligns with production goals. LightAgent targets production deployments; AnyLLM's built-in provider failover adds resilience with no extra code. Proposal A short section in docs/model_providers.md — "Using an OpenAI-compatible gateway (AnyLLM)" — showing the three-line config. Happy to open a PR, and glad to provide a sandbox key for testing.

(Context: I'm the developer of AnyLLM.)

Best, Leo Bennett [[email protected]]

JetragonRider avatar Aug 17 '26 12:08 JetragonRider

Thank you for the proposal and for disclosing your affiliation with AnyLLM.

LightAgent already supports OpenAI-compatible gateways through the generic model, api_key, and base_url configuration documented in docs/model_providers.md. We do not plan to add a dedicated vendor section based only on service claims, particularly where the issue does not provide an official API reference, model catalog, stable endpoint documentation, or reproducible streaming and tool-calling compatibility evidence.

A future focused PR may be considered if it:

  • links official, publicly accessible API and model-catalog documentation;
  • uses stable example model IDs and states that provider availability can change;
  • includes reproducible checks for chat completions, streaming, and tool calls;
  • keeps credentials in environment variables;
  • limits text to verifiable compatibility and configuration details;
  • omits unverified pricing, payment, uptime, failover, model-count, and security guarantees;
  • retains clear contributor/vendor affiliation disclosure.

We are closing this suggestion as Not Planned rather than treating the current issue as an endorsement. Improvements to the provider-neutral OpenAI-compatible gateway documentation remain welcome.

wxai-space avatar Aug 21 '26 13:08 wxai-space