Show HN: Foreman, a self-hosted LLM gateway for cost aware model routing
15 points
2 days ago
| 6 comments
| github.com
| HN
jarodrh
17 hours ago
[-]
Interesting project. Most of what I read appears to deal well with a linear agent session.

How does it handle concurrent agent/subagent spawning?

Do they fall under the same sessionId (where they're potentially fighting over the warm route breaking it with every task-type change) or get their own individual sessionIds (where you must rewrite the shared prefix for each agent)?

reply
midtake
2 days ago
[-]
Name collision with Foreman, the provisioning/patching tool.

https://en.wikipedia.org/wiki/Foreman_(software)

reply
TurdF3rguson
2 days ago
[-]
Not to mention the George Foreman grill
reply
AndrewLiu96
1 day ago
[-]
That was actually one of my naming inspirations, the george foreman grill is a s tier invention
reply
TurdF3rguson
1 day ago
[-]
Lol. It's an objectively bad grill.
reply
GuestFAUniverse
2 days ago
[-]
Slop(py) coders don't care.

I would vote for the alternative: "Sloppy McSlopGate"

reply
AndrewLiu96
2 days ago
[-]
Could you point out where you see the slop in the codebase? I'm more than happy to address it and make the tool better and more useful :)
reply
dilushin
2 days ago
[-]
I have something simmilar brewed in my multi-agent system, showing and saving cost data on every agent flow run.
reply
AndrewLiu96
1 day ago
[-]
That's awesome! I'd love to check it out and give it a try
reply
dilushin
6 hours ago
[-]
It is in my private repo, let see if I can OSS this part )
reply
bigtechisajoke
2 days ago
[-]
Foreman is too well known imo
reply
AndrewLiu96
1 day ago
[-]
Noted!
reply
jsabess24
2 days ago
[-]
Nice
reply
AndrewLiu96
1 day ago
[-]
Thanks for checking it out!
reply
anirudhak47
2 days ago
[-]
how does it compare to sakana?
reply
AndrewLiu96
1 day ago
[-]
I assume you're referencing Sakana Fugu? Similar in the sense that there's multiple models involved, but from what I understand Fugu is kind of a black box in terms of what model is used for what. This project is more deterministic, you can pick and choose which model to assign/use for certain tasks, plus this project is open source which Fugu isn't.
reply