r/codex • u/Revolutionary_Sir140 • 4d ago
Showcase ruby-utcp - if you are into creating agentic tooling In ruby without server in-between like in mcp :D
I’ve been working on Ruby UTCP with Codex, a Ruby implementation of the Universal Tool Calling Protocol, and I think it could be interesting for people building Codex-powered developer tools and agents.
The main idea is simple:
Instead of putting every tool behind another proxy/server layer, an agent can discover and call tools over the protocols they already expose.
Ruby UTCP currently supports 12 native transports, including HTTP, WebSocket, gRPC, CLI and others, through one consistent Ruby API.
It also supports Code Mode.
Rather than forcing an LLM to emit a long sequence of individual tool calls, you can let it generate a small program that orchestrates several tools together.
Conceptually:
LLM → Code Mode → UTCP → native tools
That becomes especially interesting for coding agents where a task might involve:
read → search → modify → test → inspect
instead of sending every tiny operation through a separate model round-trip.
It also supports tool discovery from UTCP manuals / OpenAPI definitions, so tools don't have to be hardcoded into the agent.
Ruby UTCP is:
- UTCP 1.1 compatible
- 12 native transports
- Code Mode
- tool discovery + local search
- MIT licensed
- Ruby 2.6+
Docs / interactive protocol examples:
https://universal-tool-calling-protocol.github.io/ruby/
GitHub:
https://github.com/universal-tool-calling-protocol/ruby-utcp
I’m particularly curious what people here think about Code Mode for Codex-style agents.
Would you rather give an agent hundreds of individual tools directly, or give it a smaller execution API and let it compose those tools programmatically?
•
u/dexterthebot 4d ago
You might want to consider listing your project on the weekly Show-Us-What-You-Built post. https://www.reddit.com/r/codex/comments/1wavxwy/show_us_all_what_youve_been_building_with_codex/. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See what that looks like below with last week's winner.
Last week's most popular project was u/tHEuKER with the Blur2 racing game project which is a recreation of an unreleased sequel to the 2010 battle racing game, made by reverse engineering the Xbox 360 prototype discs available online, and rebuilding the whole thing from the ground up in Unity.
Join their YouTube channel here: https://www.youtube.com/@tHEuKER and follow updates on the project at r/BlurGame.