2 ms·
Reminded my of this article: https://ampcode.com/how-to-build-an-agent https://ampcode.com/how-to-build-an-agent Some of the things are just more natural in py
by prats226 1y ago
Reminded my of this article:
https://ampcode.com/how-to-build-an-agent https://ampcode.com/how-to-build-an-agent
Some of the things are just more natural in python being a dynamic language. Eg decorator to quickly convert methods into tool calls, iterating over tool functions to create list of tools, packages to quickly convert them into json schema etc.
Consuming many incoming triggers, eg from user input as well as incoming emails from gmail, or messages from slack which would trigger new agent run was lot more natural in go with channels and switch for loop vs in python where had to create many queues and threading etc