106 points · by 0perand · 3y ago · 15 comments
The name is `agency`. It differs from other agent libraries, most importantly in that it's intended to address a distinct part of the overall problem, that of agent integration. It is not an agent toolchain like LangChain and others.
`agency` is a framework intended for safely integrating agents with computing systems and humans in a way that all parties can easily understand and communicate with each other.
I've spent a lot of time on the readme which contains a detailed and working walkthrough of building an agent integrated system that includes multiple types of agents, operating system integration, access control, and a flask+react based web application where users can appear as individual "agents" as well.
Also worth noting is that I _just_ pushed an update to integrate with the new functions support on the OpenAI API! (https://openai.com/blog/function-calling-and-other-api-updat...)
I'm eager to hear what people think! I developed this in order to build a foundation for some of my own ambitious ideas. If you find this useful for your own projects I'd love to know!
Thanks for checking it out! I hope this helps you build amazing things!
A bit busy right now but will probably try to contribute if I can! I know very little about the low-level workings of Python and whatever the "GIL" is, but my single-process ensemble ended up using `AsyncIO` instead of `Thread` because of difficulty running a Flask server in a child thread; do you know if that would fix your CPU blocking concerns? Mostly asking so I know if I have the same problems and just haven't discovered them yet lol
One very subjective opinion: The README is great but very long - I would consider putting either/both of the code samples from the bottom at the top, so someone experienced with the basic concepts can take a quick look and understand the gist immediately. Your language at the top is of course all accurate, but it's such an abstract project that even an accurate description leaves a lot of questions, IMO.
P.S. I can't believe you got the github username "operand" that's sick
I'm taking in all of this feedback. I hear you on the long readme. I'm thinking I'll break out the walkthrough into its own doc.
Regarding the multithreading. It's something I have to still look into. I'm not sure that using asyncio will get around it.
One piece of feedback: the project sounds useful once I read into it a bit more but the headline is confusing since "unifying" can mean many different things.
Maybe I'm just to used to all the marketing speak out there where "unifying" has been co-opted to mean basically nothing. e.g. "We unify technology with human potential!"
Tho at a certain point we’ve gotta reclaim the fun academic terms from the MBAs!
I'll work on it some more :)
one thing you could add : tha ability to save messages sent throughout the Agency/system to a log. That would grant you instant replay ability.