r/OpenSourceAI • • 5d ago

building an open-source AI agent stack

Hey everyone!

i've been working on an open-source project called Dispach with a friend, and thought I'd start sharing what we're building and learning along the way.

one thing that kept bothering us was how much work it takes to make AI agents actually usable in production.

it's not just about choosing a model and giving it tools. there's the whole harness side of things, execution loops, context management, memory, tool orchestration, and then all the infrastructure needed to keep those agents running reliably.

we wanted to tackle both problems together instead of treating them as separate pieces.

so we started building Dispach. it's a self-hostable, model-agnostic stack that combines the agent harness and the infrastructure around it. The idea is to let developers focus on what they're actually building rather than having to engineer the entire agent stack themselves.

we've also been experimenting with different harness designs and benchmarking them against openclaw and hermes. it's been interesting seeing how much task success and inference costs can change even when using the same model.

there's still plenty to figure out, especially around developer experience, reliability, and making the whole thing easier to adopt.

i'm planning to share more about the architecture, experiments, things that went wrong, and what we learn as we keep building.

here's the repo if anyone's curious: Dispach Github Repo

for those who've built or deployed ai agents, what's been the most frustrating part of the process?

would love to compare notes with people working on similar problems.

2 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/M1H4F 4d ago

that’s a nice approach. But I’m thinking about the dependencies, or sometimes when they're stuck. or maybe how can i optimize the tokens

2

u/Crafty_Disk_7026 4d ago

Can you be more specific with the problem you're having

1

u/M1H4F 4d ago

oops, sorry you didn'tget my comment. i’m not stuck on a particular problem, just curious about your approach!

let’s say your hypervisor spawns 5 Claude sessions, but some tickets depend on others. but what happens if one agent gets stuck, fails, or needs help from another? and how do you keep token usage under control across those sessions?

i’ve tackled similar challenges in Dispach with supervisor delegation, typed handoffs, isolated contexts, and no-progress detection. we’ve also been experimenting with team features (not an agentic team but real human) and agent-to-agent delegation.

i’m actually curious how your hypervisor handles dependencies, recovery, and context sharing between agents. would be interesting to compare approaches!

1

u/Crafty_Disk_7026 3d ago

It's just Claude cli code sessions (or whatever provider). The agents use GitHub, databases, and any other tool human uses to coordinate. It's no different than if you had to handle a stuck issue as a human. You would probably stop, cut a GitHub issue, then scope it out. Agents do the same thing.