[KongchangAI]
ConceptCode Mode

Code Mode

A paradigm for MCP tool invocation in which the agent writes code against tool stubs and a runtime executes the code to complete tool calls, thereby compressing context usage and improving efficiency.

Timeline (last 90 days)

Nov 29

The NBIT team calls one agent usage pattern "code mode": the agent can write small programs to filter data and run them in a sandbox, bringing back only the filtered results.

Unverified50%
Nov 17

In code mode, the agent no longer directly outputs tool calls; instead, it writes a piece of code against pre-provided tool stubs (function signatures plus brief documentation), and a runtime executes that code to complete the tool calls.

Unverified50%
Nov 17

Declaring return-shape hints in code-mode stubs can cause success rates to fluctuate by up to 39.5 percentage points for weaker agents, an effect larger than adding a router.

Unverified50%
Nov 17

The study's core hypothesis—that adding a decision layer before code mode would outperform code mode alone—was not confirmed; for weaker agents, the decision layer brought a small and statistically insignificant improvement, while for the strongest agent it instead produced a slight cost increase.

Unverified50%

All Facts (4)

Source Articles