Add NyxID to Works with OpenRouter#97
Open
ctkm-aelf wants to merge 2 commits into
Open
Conversation
NyxID is an open-source credential gateway: users bring their own OpenRouter key, and NyxID brokers it at the proxy layer so AI agents (Claude Code, Cursor, Codex, ...) can call OpenRouter without ever reading the raw credential. Each agent gets its own scoped key, with per-agent isolation, rate limits, and audit attribution. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
apps/nyxid/— NyxID, an open-source credential gateway for AI agents.The pitch: OpenRouter already gives you one key for every model. NyxID lets you hand that one key to every agent without ever copying it around. You register your OpenRouter key with NyxID once; from there you mint a scoped key per agent — Claude Code, Cursor, Codex, a cron job — that proxies through NyxID. Each agent can use the credential but never reads it, and each key is independently rate-limited, revocable, and audited. So OpenRouter's "one key, all models" composes with NyxID's "one setup, all agents."
Users bring their own OpenRouter key — NyxID never provisions one on their behalf; it stores and brokers the user's own, encrypted at rest, and injects it at request time.
Requirements
llm-openrouteris a first-class entry in NyxID's service catalog, with app-attribution headers set by default.Notes
docs:points at our OpenRouter setup guide: https://nyx.chrono-ai.fun/docs/ai/guides/openrouterHTTP-Refereris overridable, and the proxy allowlistshttp-referer/x-title/x-openrouter-*from clients — so a downstream app routing through NyxID keeps credit for its own usage.node scripts/validate.js nyxidpasses locally; README left untouched per CONTRIBUTING.🤖 Generated with Claude Code