Status: early-stage (not production ready)
llm-microlink is an LLM proxy that connects large language models to your microservice ecosystem, enabling seamless tool calling.
It discovers tools advertised by your microservices, passes them to the LLM, executes tool calls via REST APIs, and feeds results back into the conversation.
This approach essentially runs microservices into AI agents.
The goal is to provide a scalable, enterprise-grade approach to LLM automation within microservice ecosystems.
It implements "agent loop" as described ie here: https://openai.com/index/unrolling-the-codex-agent-loop/
This project is not an MCP implementation. It's an alternative approach to LLM tool integration, designed specifically for scalable microservice architectures. While MCP works well for desktop applications and local integrations, it presents challenges in distributed enterprise environments:
| MCP | llm-microlink | |
|---|---|---|
| Tool Discovery | Static configuration | Dynamic discovery |
| High Availability | Manual endpoint management | Automatic failover across redundant microservices |
| Security Model | Exposes MCP server to LLM clients | No inbound connections; tools stay unexposed |
| Architecture Fit | Client-side integration | Server-side proxy pattern |
llm-microlink embraces the strengths of microservice architecture: service discovery, redundancy, load balancing, and defense in depth - rather than requiring you to work around them.
- Universal LLM Support: Connect to local models (vLLM, TensorRT-LLM) or frontier APIs (OpenAI, Anthropic Claude) through a unified interface
- Tool Discovery: Microservices advertise their capabilities and
llm-microlinkpicks them up automatically - Native Tool Calling: Leverages built-in function calling capabilities of modern LLMs for reliable, structured interactions
Component diagram:
Sequence diagram:
The mechanism of tools discovery is extendible by "providers".
Currently a provider for Apache Zookeeper is available.
It is relatively simple to add more tools discovery providers for other technologies such as etcd or Consul.

