Coral launches open-source gateway allowing AI agents to write and reuse custom TypeScript tools
·2026.11.16 23:14
Key point
The Rust-based gateway reduces token usage by 37% and costs by 31% by letting agents save successful code snippets as reusable tools with granular policy controls.
Details
- Coral is an open-source, self-hosted agent gateway written in Rust (Apache License 2.0) that sits between AI agents and systems, allowing agents to write short TypeScript programs for tool calls.
- Benchmarks on 34 tasks using Opus 5.5 show a 37% reduction in tokens, 31% reduction in costs, and 29% reduction in time compared to standard MCP gateways.
- Agents save successful code as custom tools (e.g., coral.private.) to avoid re-reading schemas and rewriting code, enabling smaller models like Haiku 5.5 to achieve accuracy levels comparable to larger models.
- The system executes code in isolated V8 isolates with no network access or imports, applying Allow, Ask, or Block policies at the tool level before adding credentials and forwarding requests.
- Supports 5,000+ data sources via MCP or OpenAPI, with data remaining on self-hosted infrastructure to prevent egress; Coral Enterprise is coming soon under its own license, adding SSO, SCIM, advanced RBAC, and immutable audit logs.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.