Noyau

Features › Model gateway and API

Your models, for all your tools.

Local tools like OpenCode, Continue, Cline, Aider or your scripts use the models of your server with their own key. And other tools can drive Noyau itself, through an API and an MCP server.

Administration, Model gateway: keys, usage, providers and rules

An OpenAI-compatible endpoint

Noyau serves /v1/models, /v1/chat/completions with streaming, /v1/completions and /v1/embeddings, plus /v1/messages in the Anthropic format. Each member gets a ny_ key; rules per role and per account decide which models they reach, with requests per minute and tokens per day.

  • Upstream providers: Ollama, vLLM, LiteLLM, LM Studio or any OpenAI-compatible server
  • Upstream keys encrypted on disk, never sent back to the interface
  • Every call logged with model, tokens and duration
curl https://noyau.example.com/v1/chat/completions \
  -H "Authorization: Bearer ny_…" \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen", "messages": [{"role": "user", "content": "Hello"}]}'

API and MCP

Create a token per outside client (Claude Code, Codex, a script, CI), with a scope: read, supervised agents, or full. Plug it into the MCP server to let another agent list threads, launch and follow an agent, manage tasks or search notes.

  • Tokens shown once, stored as a fingerprint, revocable
  • The noyau thread command launches and follows agents from a terminal