Comment Comment by shoeb00m A big benefit of letting agents run code is they can process data without bloating their context.LLMs are really good at writing python for data processing. I would suspect its due to Python having a really good ecosystem around this nicheAnd the type safety/security issues can hopefully be mitigated by ty and pyodide (already used by cf’s python workers)https://pyodide.org/en/stable/https://github.com/astral-sh/ty parent shoeb00m 8 months ago
LLMs are really good at writing python for data processing. I would suspect its due to Python having a really good ecosystem around this niche
And the type safety/security issues can hopefully be mitigated by ty and pyodide (already used by cf’s python workers)
https://pyodide.org/en/stable/
https://github.com/astral-sh/ty