Hacker Newsnew | past | comments | ask | show | jobs | submit | tarasyarema's commentslogin

Hey there HN!

Co-founder of agent-swarm here. My co-founder Eze wrote this article today on an interesting topic: how making our agents build software to automate themselves saved us +$17k in the last month in token prices.

This is something we've been doing for a while, pushing for code-mode, repeatable scripts, workflows.

This also allowed us to build a dreaming workflows that does 20 more steps (more reliably) than the previous prompt based one and even reduce the cost by 6% (not much but still).

Cheers,


I'm a big fan of moving mechanical process from agent to script (determinism). Things like collecting and rendering prior sessions to markdown or around the PR process (have a post nearly done on this one myself).

Why have agents call APIs directly, or even write the code per-session, versus having them write a script that human or machine can use?

It is still unclear to me what people mean by code-mode. My agents regularly write inline code in-session with bash, python, node all the time, on their own without any prompting. I'd prefer they put these things in permanent scripts we can reuse or rework.


That last part is exactly what our system does. The code mode scripts are automatically saved and can be reused by other agents and sessions.

Don't really need a system or dedicated tool for that. Some markdown and harness configuration works well enough.

I'm more fond of a world where many many people build personal harnesses on SDKs. More experimentation is good this early on.


1. Claude and Codex 2. Openrouter for deepseek and Helmcode 3. All of them, mostly claude, codex and pi 4. We use agent-swarm.dev (self-hosted OSS MIT) 5. See 4 :D

Founding and trying to exit a startup in Spain is definitely playing in Dark Souls mode...


There's a plot twist, you need to read it.


yeah, what we see is that the early users that love it actually are the ones that help spread the word more, the key here for me is how to expand this initial pool


that's the golden question tbh, thinking on raising to help the initial growth tbh


Growth is a byproduct of product market fit.

It is not github stars.


:D I guess it's like asking "how to get rich"


Yeah I see this as what Cursor had a while ago where you would open it and it would have a different ui every time


My take is that it should be ok to add scope, as far as you are ok doing huge cuts too.


As a dev or as a user?


I think they do yes


Just a fun experiment :D Code here https://github.com/desplega-ai/system-one


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: