Defining agents from CUE #346
verdverm
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new around here and one thing you will learn about me is that I'm a big fan of CUE (https://github.com/cuelang-org/cue)
In that regard, I just wrote 139 lines of Go to enable defining ADK Go Agents from CUE values, unlocking many possibilities.
The code: https://github.com/hofstadter-io/hof/blob/_next/lib/agent/agents/cue.go
A very rough first pass at a coding agent: https://github.com/hofstadter-io/hof/blob/_next/.veg/agents/coding.cue
Tools still have to be written as Go functions and put into a switch / lookup table. There is a medium-term path to using hof/flow (soon veg/flow) for tools and a long-term plan of WASM via CUE.
I'll add interesting updates to this post as they come along. Happy to answer any questions or riff on possibilities. (One also interesting to me is using OCI to create reproducible, sharable agents & session recordings/forks. More on this in the future once I have some POC)
Beta Was this translation helpful? Give feedback.
All reactions