hn.today

Show HN: Coral – Open-source gateway where agents write their own tools

github.com52 points24 comments
Screenshot of Show HN: Coral – Open-source gateway where agents write their own tools

Coral is an open-source, self-hosted gateway that lets AI agents work with enterprise services while enforcing controls on individual actions. Rather than simply granting an agent access to an entire tool, administrators can allow, block, or require human approval for each call, including its specific arguments. Coral stores service credentials outside the agent’s reach, runs agent-written TypeScript programs in an isolated sandbox, and records who initiated each run. It connects to agents that support MCP and to services exposed through MCP servers or OpenAPI, including systems such as GitHub and Slack.

Agents use Coral to find available tools, write programs that combine calls and filter results, and return only the information needed for a task. When a program works, the agent can save it as a reusable custom tool; workspace owners can share useful tools with colleagues. This is intended to reduce repeated setup, model context, and token use while keeping sensitive actions subject to review. Coral reports that custom tools reduced tokens by 37%, cost by 31%, and execution time by 29% across 34 benchmark tasks. It can run on a developer’s computer or a team’s infrastructure, with no data egress claimed. The Apache-licensed core is available for individual and team use; an enterprise offering adds SSO, provisioning, advanced permissions, audit logs, and support.

Read on github.com24 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.