Hacker News new | ask | show | jobs
by akerl_ 4405 days ago
I'm looking forward to digging through the agent, but I'm a bit surprised that it's in Python rather than Go, given the minimal nature of the "host" OS.

If any Google folks or other knowledgable people are around, I'd be curious to know what went in to that choice.

1 comments

(primary author of that python here)

We have a number of things we're looking at for agents. One is derived from internal code, but has to clear some legal hurdles to OSS. One is a new codebase, but not quite up to the current spec. We're also keeping an eye on other OSS projects. We don't really want to reinvent the wheel here, but we clearly have our own ideas about how to run jobs :)

Doing it in python was a way to quickly demonstrate the ideas and make something that works, albeit minimally. I expect that we will want to do more interesting things that will really ask for a "proper" (sorry python) language like Go or C++.

Watch this space.

This could be an interesting option as well, https://github.com/virgo-agent-toolkit. It has a very small footprint, built with SIGAR for reporting metrics and a lightweight embedded lua interpreter for performing the business logic.
Thanks, I'll peek at it, too.
Python advocate here. Apology accepted, but no apology necessary. Sorry Python… :)