Skip to content

Commit 85fdda6

Browse files
author
vishal veerareddy
committed
Implemented SEO
1 parent d705164 commit 85fdda6

3 files changed

Lines changed: 417 additions & 46 deletions

File tree

README.md

Lines changed: 146 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,18 @@
1313

1414
> **Production-ready Claude Code proxy server supporting Databricks, OpenRouter, Ollama & Azure. Features MCP integration, prompt caching & 60-80% token optimization savings.**
1515
16+
## 🔖 Keywords
17+
18+
`claude-code` `claude-proxy` `anthropic-api` `databricks-llm` `openrouter-integration` `ollama-local` `llama-cpp` `azure-openai` `azure-anthropic` `mcp-server` `prompt-caching` `token-optimization` `ai-coding-assistant` `llm-proxy` `self-hosted-ai` `git-automation` `code-generation` `developer-tools` `ci-cd-automation` `llm-gateway` `cost-reduction` `multi-provider-llm`
19+
20+
---
21+
1622
## Table of Contents
1723

1824
1. [Why Lynkr?](#why-lynkr)
1925
2. [Quick Start (3 minutes)](#quick-start-3-minutes)
2026
3. [Overview](#overview)
21-
4. [Supported Models & Providers](#supported-models--providers)
27+
4. [Supported AI Model Providers](#supported-ai-model-providers-databricks-openrouter-ollama-azure-llamacpp)
2228
5. [Lynkr vs Native Claude Code](#lynkr-vs-native-claude-code)
2329
6. [Core Capabilities](#core-capabilities)
2430
- [Repo Intelligence & Navigation](#repo-intelligence--navigation)
@@ -27,12 +33,12 @@
2733
- [Execution & Tooling](#execution--tooling)
2834
- [Workflow & Collaboration](#workflow--collaboration)
2935
- [UX, Monitoring, and Logs](#ux-monitoring-and-logs)
30-
7. [Production Hardening Features](#production-hardening-features)
36+
7. [Production-Ready Features for Enterprise Deployment](#production-ready-features-for-enterprise-deployment)
3137
- [Reliability & Resilience](#reliability--resilience)
3238
- [Observability & Monitoring](#observability--monitoring)
3339
- [Security & Governance](#security--governance)
3440
8. [Architecture](#architecture)
35-
9. [Getting Started](#getting-started)
41+
9. [Getting Started: Installation & Setup Guide](#getting-started-installation--setup-guide)
3642
10. [Configuration Reference](#configuration-reference)
3743
11. [Runtime Operations](#runtime-operations)
3844
- [Launching the Proxy](#launching-the-proxy)
@@ -47,9 +53,10 @@
4753
12. [Manual Test Matrix](#manual-test-matrix)
4854
13. [Troubleshooting](#troubleshooting)
4955
14. [Roadmap & Known Gaps](#roadmap--known-gaps)
50-
15. [FAQ](#faq)
51-
16. [References](#references)
52-
17. [License](#license)
56+
15. [Frequently Asked Questions (FAQ)](#frequently-asked-questions-faq)
57+
16. [References & Further Reading](#references--further-reading)
58+
17. [Community & Adoption](#community--adoption)
59+
18. [License](#license)
5360

5461
---
5562

@@ -61,13 +68,13 @@ Claude Code CLI is locked to Anthropic's API, limiting your choice of LLM provid
6168
### The Solution
6269
Lynkr is a **production-ready proxy server** that unlocks Claude Code CLI's full potential:
6370

64-
-**Any LLM Provider** - Databricks, OpenRouter (100+ models), Ollama (local), Azure, OpenAI, llama.cpp
65-
-**60-80% Cost Reduction** - Built-in token optimization (5 optimization phases implemented)
66-
-**Zero Code Changes** - Drop-in replacement for Anthropic backend
67-
-**Local & Offline** - Run Claude Code with Ollama or llama.cpp (no internet required)
68-
-**Enterprise Features** - Circuit breakers, load balancing, metrics, K8s-ready health checks
69-
-**MCP Integration** - Automatically discover and orchestrate Model Context Protocol servers
70-
-**Privacy & Control** - Self-hosted, open-source (Apache 2.0), no vendor lock-in
71+
-**Any LLM Provider** - [Databricks, OpenRouter (100+ models), Ollama (local), Azure, OpenAI, llama.cpp](#supported-ai-model-providers-databricks-openrouter-ollama-azure-llamacpp)
72+
-**60-80% Cost Reduction** - Built-in [token optimization](#token-optimization-implementation) (5 optimization phases implemented)
73+
-**Zero Code Changes** - [Drop-in replacement](#connecting-claude-code-cli) for Anthropic backend
74+
-**Local & Offline** - Run Claude Code with [Ollama](#using-ollama-models) or [llama.cpp](#using-llamacpp-with-lynkr) (no internet required)
75+
-**Enterprise Features** - [Circuit breakers, load balancing, metrics, K8s-ready health checks](#production-ready-features-for-enterprise-deployment)
76+
-**MCP Integration** - Automatically discover and orchestrate [Model Context Protocol servers](#integrating-mcp-servers)
77+
-**Privacy & Control** - Self-hosted, open-source ([Apache 2.0](#license)), no vendor lock-in
7178

7279
### Perfect For
7380
- 🔧 **Developers** who want flexibility and cost control
@@ -154,7 +161,7 @@ Further documentation and usage notes are available on [DeepWiki](https://deepwi
154161

155162
---
156163

157-
## Supported Models & Providers
164+
## Supported AI Model Providers (Databricks, OpenRouter, Ollama, Azure, llama.cpp)
158165

159166
Lynkr supports multiple AI model providers, giving you flexibility in choosing the right model for your needs:
160167

@@ -164,7 +171,7 @@ Lynkr supports multiple AI model providers, giving you flexibility in choosing t
164171
|----------|--------------|------------------|----------|
165172
| **Databricks** (Default) | `MODEL_PROVIDER=databricks` | Claude Sonnet 4.5, Claude Opus 4.5 | Production use, enterprise deployment |
166173
| **OpenAI** | `MODEL_PROVIDER=openai` | GPT-5, GPT-5.2, GPT-4o, GPT-4o-mini, GPT-4-turbo, o1, o1-mini | Direct OpenAI API access |
167-
| **Azure OpenAI** | `MODEL_PROVIDER=azure-openai` | GPT-5, GPT-5.2,GPT-4o, GPT-4o-mini, GPT-5, o1, o3 | Azure integration, Microsoft ecosystem |
174+
| **Azure OpenAI** | `MODEL_PROVIDER=azure-openai` | GPT-5, GPT-5.2,GPT-4o, GPT-4o-mini, GPT-5, o1, o3, Kimi-K2 | Azure integration, Microsoft ecosystem |
168175
| **Azure Anthropic** | `MODEL_PROVIDER=azure-anthropic` | Claude Sonnet 4.5, Claude Opus 4.5 | Azure-hosted Claude models |
169176
| **OpenRouter** | `MODEL_PROVIDER=openrouter` | 100+ models (GPT-4o, Claude, Gemini, Llama, etc.) | Model flexibility, cost optimization |
170177
| **Ollama** (Local) | `MODEL_PROVIDER=ollama` | Llama 3.1, Qwen2.5, Mistral, CodeLlama | Local/offline use, privacy, no API costs |
@@ -193,15 +200,8 @@ Lynkr supports multiple AI model providers, giving you flexibility in choosing t
193200

194201
### **Azure OpenAI Specific Models**
195202

196-
When using `MODEL_PROVIDER=azure-openai`, you can deploy any of these models:
203+
When using `MODEL_PROVIDER=azure-openai`, you can deploy any of the models in azure ai foundry:
197204

198-
| Model | Deployment Name | Capabilities | Best For |
199-
|-------|----------------|--------------|----------|
200-
| **GPT-4o** | `gpt-4o` | Text, vision, function calling | General-purpose, multimodal tasks |
201-
| **GPT-4o-mini** | `gpt-4o-mini` | Text, function calling | Fast responses, cost-effective |
202-
| **GPT-5** | `gpt-5-chat` or custom | Advanced reasoning, longer context | Complex problem-solving |
203-
| **o1-preview** | `o1-preview` | Deep reasoning, chain of thought | Mathematical, logic problems |
204-
| **o3-mini** | `o3-mini` | Efficient reasoning | Fast reasoning tasks |
205205

206206
**Note**: Azure OpenAI deployment names are configurable via `AZURE_OPENAI_DEPLOYMENT` environment variable.
207207

@@ -305,6 +305,17 @@ FALLBACK_PROVIDER=databricks # or azure-openai, openrouter, azure-anthropic
305305

306306
---
307307

308+
## 🚀 Ready to Get Started?
309+
310+
**Reduce your Claude Code costs by 60-80% in under 3 minutes:**
311+
312+
1.**[Star this repo](https://github.com/vishalveerareddy123/Lynkr)** to show support and stay updated
313+
2. 📖 **[Follow the Quick Start Guide](#quick-start-3-minutes)** to install and configure Lynkr
314+
3. 💬 **[Join the Discussion](https://github.com/vishalveerareddy123/Lynkr/discussions)** for community support
315+
4. 🐛 **[Report Issues](https://github.com/vishalveerareddy123/Lynkr/issues)** to help improve Lynkr
316+
317+
---
318+
308319
## Core Capabilities
309320

310321
### Long-Term Memory System (Titans-Inspired)
@@ -405,9 +416,9 @@ See [MEMORY_SYSTEM.md](MEMORY_SYSTEM.md) for complete documentation and [QUICKST
405416

406417
---
407418

408-
## Production Hardening Features
419+
## Production-Ready Features for Enterprise Deployment
409420

410-
Lynkr includes comprehensive production-ready features designed for reliability, observability, and security in enterprise environments. These features add minimal performance overhead while providing robust operational capabilities.
421+
Lynkr includes comprehensive production-hardened features designed for reliability, observability, and security in enterprise environments. These features add minimal performance overhead while providing robust operational capabilities for mission-critical AI deployments.
411422

412423
### Reliability & Resilience
413424

@@ -575,6 +586,59 @@ Lynkr includes comprehensive production-ready features designed for reliability,
575586
└───────────────────┘
576587
```
577588

589+
### Request Flow Diagram
590+
591+
```mermaid
592+
graph TB
593+
A[Claude Code CLI] -->|HTTP POST /v1/messages| B[Lynkr Proxy Server]
594+
B --> C{Middleware Stack}
595+
C -->|Load Shedding| D{Load OK?}
596+
D -->|Yes| E[Request Logging]
597+
D -->|No| Z1[503 Service Unavailable]
598+
E --> F[Metrics Collection]
599+
F --> G[Input Validation]
600+
G --> H[Orchestrator]
601+
602+
H --> I{Check Prompt Cache}
603+
I -->|Cache Hit| J[Return Cached Response]
604+
I -->|Cache Miss| K{Determine Provider}
605+
606+
K -->|Simple 0-2 tools| L[Ollama Local]
607+
K -->|Moderate 3-14 tools| M[OpenRouter / Azure]
608+
K -->|Complex 15+ tools| N[Databricks]
609+
610+
L --> O[Circuit Breaker Check]
611+
M --> O
612+
N --> O
613+
614+
O -->|Closed| P{Provider API}
615+
O -->|Open| Z2[Fallback Provider]
616+
617+
P -->|Databricks| Q1[Databricks API]
618+
P -->|OpenRouter| Q2[OpenRouter API]
619+
P -->|Ollama| Q3[Ollama Local]
620+
P -->|Azure| Q4[Azure Anthropic API]
621+
622+
Q1 --> R[Response Processing]
623+
Q2 --> R
624+
Q3 --> R
625+
Q4 --> R
626+
Z2 --> R
627+
628+
R --> S[Format Conversion]
629+
S --> T[Cache Response]
630+
T --> U[Update Metrics]
631+
U --> V[Return to Client]
632+
J --> V
633+
634+
style B fill:#4a90e2,stroke:#333,stroke-width:2px,color:#fff
635+
style H fill:#7b68ee,stroke:#333,stroke-width:2px,color:#fff
636+
style K fill:#f39c12,stroke:#333,stroke-width:2px
637+
style P fill:#2ecc71,stroke:#333,stroke-width:2px,color:#fff
638+
```
639+
640+
**Key Components:**
641+
578642
- **`src/api/router.js`** – Express routes that accept Claude-compatible `/v1/messages` requests.
579643
- **`src/api/middleware/*`** – Production middleware stack:
580644
- `load-shedding.js` – Proactive overload protection with resource monitoring
@@ -595,7 +659,7 @@ Lynkr includes comprehensive production-ready features designed for reliability,
595659

596660
---
597661

598-
## Getting Started
662+
## Getting Started: Installation & Setup Guide
599663

600664
### Prerequisites
601665

@@ -2113,14 +2177,68 @@ The graceful shutdown and health check endpoints ensure zero-downtime deployment
21132177

21142178
---
21152179

2116-
## References
2180+
## References & Further Reading
21172181

2118-
Lynkr's design also includes ACE Framework informed by research in agentic AI systems and context engineering:
2182+
### Academic & Technical Resources
21192183

2184+
**Agentic AI Systems:**
21202185
- **Zhang et al. (2024)**. *Agentic Context Engineering*. arXiv:2510.04618. [arXiv](https://arxiv.org/abs/2510.04618)
21212186

2187+
**Long-Term Memory & RAG:**
2188+
- **Mohtashami & Jaggi (2023)**. *Landmark Attention: Random-Access Infinite Context Length for Transformers*. [arXiv](https://arxiv.org/abs/2305.16300)
2189+
- **Google DeepMind (2024)**. *Titans: Learning to Memorize at Test Time*. [arXiv](https://arxiv.org/abs/2411.07043)
2190+
21222191
For BibTeX citations, see [CITATIONS.bib](CITATIONS.bib).
21232192

2193+
### Official Documentation
2194+
2195+
- [Claude Code CLI Documentation](https://docs.anthropic.com/en/docs/build-with-claude/claude-for-sheets) - Official Claude Code reference
2196+
- [Model Context Protocol (MCP) Specification](https://spec.modelcontextprotocol.io/) - MCP protocol documentation
2197+
- [Databricks Foundation Models](https://docs.databricks.com/en/machine-learning/foundation-models/index.html) - Databricks LLM documentation
2198+
- [Anthropic API Documentation](https://docs.anthropic.com/en/api/getting-started) - Claude API reference
2199+
2200+
### Related Projects & Tools
2201+
2202+
- [Ollama](https://ollama.ai/) - Local LLM runtime for running open-source models
2203+
- [OpenRouter](https://openrouter.ai/) - Multi-provider LLM API gateway (100+ models)
2204+
- [llama.cpp](https://github.com/ggerganov/llama.cpp) - High-performance C++ LLM inference engine
2205+
- [LiteLLM](https://github.com/BerriAI/litellm) - Multi-provider LLM proxy (alternative approach)
2206+
- [Awesome MCP Servers](https://github.com/punkpeye/awesome-mcp-servers) - Curated list of MCP server implementations
2207+
2208+
---
2209+
2210+
## Community & Adoption
2211+
2212+
### Get Involved
2213+
2214+
**⭐ Star this repository** to show your support and help others discover Lynkr!
2215+
2216+
[![GitHub stars](https://img.shields.io/github/stars/vishalveerareddy123/Lynkr?style=social)](https://github.com/vishalveerareddy123/Lynkr)
2217+
2218+
### Support & Resources
2219+
2220+
- 🐛 **Report Issues:** [GitHub Issues](https://github.com/vishalveerareddy123/Lynkr/issues) - Bug reports and feature requests
2221+
- 💬 **Discussions:** [GitHub Discussions](https://github.com/vishalveerareddy123/Lynkr/discussions) - Questions, ideas, and community help
2222+
- 📚 **Documentation:** [DeepWiki](https://deepwiki.com/vishalveerareddy123/Lynkr) - Comprehensive guides and examples
2223+
- 🔧 **Contributing:** [CONTRIBUTING.md](CONTRIBUTING.md) - How to contribute to Lynkr
2224+
2225+
### Share Lynkr
2226+
2227+
Help spread the word about Lynkr:
2228+
2229+
- 🐦 [Share on Twitter](https://twitter.com/intent/tweet?text=Check%20out%20Lynkr%20-%20a%20production-ready%20Claude%20Code%20proxy%20with%20multi-provider%20support%20and%2060-80%25%20token%20savings!&url=https://github.com/vishalveerareddy123/Lynkr&hashtags=AI,ClaudeCode,LLM,OpenSource)
2230+
- 💼 [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/vishalveerareddy123/Lynkr)
2231+
- 📰 [Share on Hacker News](https://news.ycombinator.com/submitlink?u=https://github.com/vishalveerareddy123/Lynkr&t=Lynkr%20-%20Production-Ready%20Claude%20Code%20Proxy)
2232+
- 📱 [Share on Reddit](https://www.reddit.com/submit?url=https://github.com/vishalveerareddy123/Lynkr&title=Lynkr%20-%20Production-Ready%20Claude%20Code%20Proxy%20with%20Multi-Provider%20Support)
2233+
2234+
### Why Developers Choose Lynkr
2235+
2236+
- 💰 **Massive cost savings** - Save 60-80% on token costs with built-in optimization
2237+
- 🔓 **Provider freedom** - Choose from 7+ LLM providers (Databricks, OpenRouter, Ollama, Azure, llama.cpp)
2238+
- 🏠 **Privacy & control** - Self-hosted, open-source, no vendor lock-in
2239+
- 🚀 **Production-ready** - Enterprise features: circuit breakers, metrics, health checks
2240+
- 🛠️ **Active development** - Regular updates, responsive maintainers, growing community
2241+
21242242
---
21252243

21262244
## License

0 commit comments

Comments
 (0)