RepoPilot

QuantumNous/new-api

A unified AI model hub for aggregation & distribution. It supports cross-converting various LLMs into OpenAI-compatible, Claude-compatible, or Gemini-compatible formats. A centralized gateway for personal and enterprise model management.

Healthy

Strong maintenance signals

ConcernsDependency

copyleft license (AGPL-3.0) — review compatibility

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

HealthyDeploy as-is

No blocking repository-level signals were found; deployment review is still required.

  • AGPL-3.0 is copyleft — check downstream compatibility
  • Scorecard: default branch unprotected (0/10)
  • Last commit today
  • 30+ active contributors
  • Distributed ownership (top contributor 32% of recent commits)
  • AGPL-3.0 licensed
  • CI configured
  • Tests present

What would improve this?

  • Use as dependency Concerns to Mixed if: relicense under MIT/Apache-2.0 (rare for established libs)

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: QuantumNous/new-api

Generated by RepoPilot · document generated 2026-09-17 · concise human review Evidence snapshot · analyzed 2026-09-17T03:42:27.976Z · commit 32c261923a97

Verdict

Healthy — Strong maintenance signals

  • Last commit today
  • 30+ active contributors
  • Distributed ownership (top contributor 32% of recent commits)
  • AGPL-3.0 licensed
  • 2 more receipts on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

What it is

New API is a unified LLM gateway and AI asset management system written primarily in Go that aggregates and distributes access to multiple large language models (OpenAI, Claude, Gemini, etc.) through a single API interface. It cross-converts requests between different LLM formats, handles billing/usage tracking via expression-based calculations, and supports plugin-based model routing via JavaScript, enabling centralized control over model access and cost accounting. Multi-language monorepo: Go backend in pkg/ with key subsystems (billingexpr for cost calculation, jsplugin for JS-based routing, cachex for hybrid caching, ionet for hardware/deployment abstractions); TypeScript/JavaScript…

Start here

Read these in order:

  • constant/api_type.go — Foundation: doesn't import anything internally and is imported by 79 other files. Read first to learn the vocabulary.
  • pkg/jsplugin/cli.go — Foundation: imported by 38, no internal dependencies of its own.
  • common/api_type.go — Built on the foundation; imported by 208 downstream files.
  • plugins/embed.go — Built on the foundation; imported by 11 downstream files.
  • model/ability.go — Layer 2 — composes lower-level code into reusable abstractions (imported 102×).

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

Clone the repository: git clone https://github.com/QuantumNous/new-api.git && cd new-api. For the Go backend, verify go.mod exists (not shown) then run go mod download && go build. For the Electron desktop app, navi…

Daily commands:

Backend: go run . or go build && ./new-api (assuming main.go in root). Desktop: npm run start-app (dev) or npm run dev-app for development mode with NODE_ENV set. Web frontend: cd web && npm run dev (inferred…

…shortened for this brief.

Key cautions & unknowns

  • AGPL-3.0 is copyleft — check downstream compatibility
  • Scorecard: default branch unprotected (0/10)
    • Billing expression language: Custom syntax in pkg/billingexpr/expr.md is not standard; misunderstanding operator precedence or type coercion could break cost calculations. - JavaScript plugin sandboxing:…
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Healthy" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Healthy
[![RepoPilot: Healthy](https://repopilot.app/api/badge/quantumnous/new-api)](https://repopilot.app/r/quantumnous/new-api)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/quantumnous/new-api on X, Slack, or LinkedIn.

Ask AI about quantumnous/new-api

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Recent Q&A

Public conversations other people have had about this repo.

Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/quantumnous/new-api"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>