Code Execution
Domain: Tools & Function Calling
π― Motivation
Actually running code that the agent generated. This is different from the agent just writing code - execution produces real results.
π Concrete Example
Agent writes: print(2**10). Execution returns: 1024. Without execution, the agent might guess 512 or 2048. With execution, the answer is exact.
π Analogy
A scientist running an experiment - writing the procedure is not enough. You must actually run it to get results. Code execution is running the agentβs code to get real outputs.