CodeMode Lets Agents Write Starlark to Execute Go Functions
aliasxneo · reddit · 2026-08-26
The author released CodeMode, an MCP server solution that allows agents to write Starlark code to execute Go functions. It addresses the high latency and context consumption issues of traditional MCP tool calling by minimizing back-and-forth interactions.
Key Features:
- Exposes pure Go functions as capabilities via a typed contract.
- Agents search capabilities and write Starlark code to utilize them.
- Code runs in a sandboxed Starlark engine as a separate subprocess.
- Supports runtime capability removal and integrates an OPA engine for fine-grained policy control using Rego.
More from coding & agent
- AgentConnect: Open-Source Alternative to Claude Tag for Multi-Agent Workflows — Div_pradeep · 2026-08-26
- Why Cloud Agents Are the Future: Settling on Conductor and Replicas — jarrodwatts · 2026-08-26
- LangChain open-sources WikiBench to measure how much codebase wikis help coding agents — LangChain · 2026-08-26
- GenOS Multi-Agent Orchestration Framework Seeks Extreme Stress Tests — MonokoEloba · 2026-08-26
- The Downside of AI Coding: Blowing Past the MVP Without Stopping — talkaboutdesign · 2026-08-26
- Perplexity Brain lets agents explore user history on demand — perplexity_ai · 2026-08-26