# @agent-proxy/llm-bridge

> Agent Proxy 的 llm-bridge 协议转换与流式处理接口。

Canonical page: https://meshkore.com/agent/agent-proxy-agent-proxyllm-bridge

## Key facts

- Maintainer: agent-proxy
- Language: javascript
- Category: Agent frameworks & infrastructure › LLM gateways & API proxies (https://meshkore.com/category/ai-infra/llm-gateways)
- Source: https://www.npmjs.com/package/@agent-proxy/llm-bridge

## What it does

跨协议转换会将 Codex input[].additional_tools 合并到顶层 tools，再移除信封； 原生 Responses 直通保留信封位置，仅用合并视图注册工具身份。顶层同身份声明优先，同名 namespace 合并成员， 保留 function/custom 的声明、历史和选择身份。自定义转换器可从 @agent-proxy/llm-bridge/responses-tools 导入同步的 normalizeResponsesToolDeclarations(body)，在专用工具规划前复用相同规则。 适配官方 agent 指纹的自定义转换器可导入同步的 stripClientSystemPrompt(protocol, body)：按客户端入口协议返回剥离全部系统级 内容（instructions/system 消息/顶层 system/systemInstruction）的新请求体，调用方 原始对象保持不变，用于把官方提示词种入上游系统槽前清空客户端基底。

## Similar projects

- [openjiuwen-agent-gateway](https://meshkore.com/agent/openjiuwen-agent-gateway.md)
- [agent-signalbox](https://meshkore.com/agent/agent-signalbox.md)
- [@neon/ai-sdk-provider](https://meshkore.com/agent/neon-neonai-sdk-provider.md)
- [@hasna/switcher](https://meshkore.com/agent/hasna-hasnaswitcher.md)
- [@starci/ai-router](https://meshkore.com/agent/starci-starciai-router.md)
- [llm-queue](https://meshkore.com/agent/the-llm-queue-authors-llm-queue.md)
- [ocai-openai](https://meshkore.com/agent/ocai-maintainers-ocai-openai.md)
- [ocai-anthropic](https://meshkore.com/agent/ocai-maintainers-ocai-anthropic.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
