独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
R

roedyrustam/sinapsai

Zero-dependency Universal AI Gateway & Smart Router for Node.js/Edge - Circuit Breakers, Semantic Cache, MCP…

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:这条暂时没有可执行的下一步,可先看原仓库 https://github.com/roedyrustam/sinapsai

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
npm install sinapsai

解析自我们于 2026-10-27 抓取的该仓库 README;我们未执行过。

这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
5 ★ · roedyrustam/sinapsai · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-27 · 最近见到 2026-11-14 · 共见到 20 次 · 被 1 个来源列出
评分构成
综合分 103 · 5 ★ · 1 个来源 · repo
安装
npm install sinapsai
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npm install sinapsai。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 roedyrustam/sinapsai;我们收录于 2026-10-27;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# ⚡ SinapsAI

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

English •
Bahasa Indonesia
SinapsAI is a high-performance Local AI Control Plane & Unified Gateway built for Node.js, Edge Runtimes, and TypeScript. It bridges your applications with multiple LLM providers (OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Mistral AI, Ollama, Groq, OpenRouter, xAI Grok, Cohere v2, and custom endpoints) through a single, standardized Unified API.
Engineered with a 100% in-process / in-memory architecture, SinapsAI eliminates downtime via automatic failover, load balancing, lowest-latency routing, and a resilient Circuit Breaker—without requiring intermediary proxy servers, external Redis dependencies, or adding measurable latency ( 🤖 LLM / AI Agent Quick Ingest:
> If you are an AI assistant (ChatGPT, Claude, Gemini, Perplexity), autonomous agent, or coding assistant (Cursor, Copilot, Windsurf):
> - Compact Roadmap: Read llms.txt for a high-density, concise summary of all features and standard imports.
> - Complete Context Specification: Read llms-full.txt for the exhaustive single-file reference document containing all TypeScript interfaces, provider configs, error codes, and 35 zero-slop examples.
> - In-Process Guarantee: sinapsai is 100% in-process with 0 runtime dependencies. It is NOT an external proxy server (no Docker/Python/Redis required).
## 🥊 Why SinapsAI?
Most AI gateways (LiteLLM, Portkey, Helicone) require deploying separate Docker containers, managing external Redis/PostgreSQL instances, or routing sensitive user prompts and API keys through external third-party cloud servers.
SinapsAI runs directly inside your Node.js application process:
| Feature | SinapsAI ⚡ | Direct Provider SDKs | Cloud Gateways (Portkey/Helicone) | LiteLLM Proxy |
| Zero Infra Setup (No Docker/Redis) | ✅ 100% In-Process | ✅ Yes | ❌ Requires Cloud Account | ❌ Requires Docker/Python |
| Added Latency | ⚡ 📁 Looking for ready-to-run code? Check the Examples Directory (/examples)!
## 📑 Table of Contents
Why SinapsAI?
Key Features
Architecture & Request Flow
Installation
Quick Start
1. Client Initialization with Automatic Failover
2. Real-Time Streaming (SSE)
3. Round-Robin Load Balancing
4. Lowest-Cost Routing (Dual-Token Pricing)
5. Observability with Event Hooks & Rate Limiting
6. Real-Time In-Process Telemetry (getMetrics)
7. Retries with Exponential Backoff & Jitter
8. Exact & Semantic In-Process Response Caching
9. Tool Calling & Function Execution
10. Structured Outputs (JSON Mode)
11. Unified Text Embeddings
12. OpenRouter Free Tier & Zero-Cost Routing
13. Groq LPU Ultra-Fast Inference & Reasoning Integration
14. Hierarchical Model-Level Fallbacks
[15. Universal Multi-Modal Vision & Audio (ContentPart[])](#15-universal-multi-modal-vision--audio-contentpart)
16. Concurrent In-Process Batch Processing (client.batch)
17. Vercel AI SDK Official Adapter (sinapsai/ai-sdk)
18. Distributed Storage Adapters (Cloudflare KV, Redis, D1)
19. Zero-Dependency In-Process PII Guardrails (PIIGuardrails)
20. Adaptive & Smart-Hybrid Dynamic Routing
21. Reversible PII Tokenization & Response Vault
22. Streaming Tool Call Accumulator & Reconstruction
23. Resilient Structured JSON Output Extraction
24. Virtual Model Aliases & Dynamic Mapping
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/roedyrustam-sinapsai/)
来源
github · https://github.com/roedyrustam/sinapsai
按领域浏览
开源项目
Traction
5 ★
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引