Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

The Agent Protocols Stopped at the Client — Let's Talk About the Server Half

说明与用途

Franca 实现了代理协议缺失的服务器端,支持安全、可扩展的工具执行和上下文处理,保持客户端轻量化。

问题

Client‑side agent protocols lack a server‑side implementation, forcing developers to rely on vendor platforms, gateways, or raw inference endpoints, which limits agency, privacy, and extensibility.

结果

Franca restores the missing server side of agent protocols, enabling secure, extensible, and developer‑controlled tool execution while keeping clients lightweight.

工作流

  • 1. Add Franca dependencies to your Spring Boot project via Maven BOM and modules.
  • 2. Configure adapters, drivers, and routes in application.yml to expose desired backends and tool types.
  • 3. Implement server‑side tools as Spring beans implementing HostedToolHandler, returning JSON results.
  • 4. Deploy the service; clients point their base_url to the Franca server and declare tool types only.
  • 5. The server handles tool invocation, context propagation, and streams responses back to the client.
  • 6. Extend or replace adapters/drivers as backends evolve without touching client code.

证据

Franca is my attempt at the missing piece: a Java 21 library that terminates both dialects inside your own service

来源

A server-side function is one bean: @Component public class HashToolHandler implements HostedToolHandler

来源

With that, your service is a standard OpenAI-compatible server. Clients point base_url at you and change nothing else.

来源

  • 记录日期: 2026-09-20T10:00:29.989Z