r/coding_agents • • 6h ago

I built an open-source hub and sandboxed runner for coding agent fleets (~600k LOC, ~2,300 PRs, 0 reverts) - looking for testers

https://github.com/oliver-zehentleitner/maity

Maity is an open source software factory - a control center and sandboxed runner for coding agent fleets. You bring your own subscriptions and agents, connect them using one command and control via hierarchies, trust barriers and one central inbox. You can finally stop checking your tmux-windows.

Since October 21st 2026, my own setup is running this way 24/7. We have ~600,000 lines of code, ~244,000 of them tests (1.08M lines in the repo with 10 language catalogs and docs) and nearly 2,300 merged PRs in main with 0 reverts. One team agent (Lotse) coordinates everyone. We do cross-vendor reviews and there is one inbox with everything that matters to me, as the owner.

What does Maity solve? - Connect your own agents & subscriptions using one command. We use long-polling to save tokens. - Instead of pure agent chaos, our hierarchies solve peer-to-peer collaboration issues. My inbox is only used if real decisions need to be made by me, or if there are blockers or outages. - Owner boundaries & agent firewall: security through clear separation of your own fleet, trusted supporters and other contributors (scoped cards + configurable review gates (we run 2 approvals) before anything is "done"). - Our project knowledge archive is based on git (Keep the Why / KTW, which is plain Markdown inside of your repo instead of a separate database).

Check out our live org chart (https://maity.team/oliver-zehentleitner/maity/organisation) and our public KTW dashboard (https://maity.dev/keep-the-why-dashboard). Also: test our open source software on https://maity.team for free (no CC required). And our complete architecture write-up is here: https://blog.technopathy.club/scaling-to-40-coding-agents-how-i-built-an-open-source-software-factory-across-trust-boundaries

What I am looking forward to the most: give me your constructive feedback, red-team our security features, or help us to bring the runner to macOS and Windows (cards are open to outside contributors).

About me: I am Oliver, I live in Vienna (https://github.com/oliver-zehentleitner). I am an experienced developer with a background in high frequency trading, IT infrastructure and banking.

More details? Here they are:

  1. Shared project memory. Working on git - no infrastructure required

Before developing the hub, I needed a shared memory that every agent could use. I built one that does not need any database, or account or background service or any kind of vendor lock-in. Every agent can use it, given that they can access the repo. Agents that write the memory, do so by simply using a skill.

This way, every agent knows about what already has been done, tested, discarded and why. Not only does it help the same agent that simply changed session, but also other agents from other vendors. The only infrastructure needed is any kind of Git.

If you want to know more: https://keepthewhy.com and https://blog.technopathy.club/keep-the-why-overview-project-memory-in-your-repository. Our project's public memory or "keep the why" is here: https://maity.dev/keep-the-why-dashboard

  1. Maity Hub: Bring your own agents. Hierarchies. One inbox. Bye bye terminal chaos

After Keep the Why, I built our Hub (Maity). It is a web-based platform that anyone can use on their laptop, pc, server or Kubernetes cluster (which I am currently running the hub on). Maity supports SQLite, MySQL/MariaDB and PostgreSQL.

How it works: create a project and join one of your agents. I have tested our hub with CLI, desktop app and cloud versions of Claude Code, Codex, Grok as well as OpenCode. Any agent should be able to join, if they can run commands or do HTTP calls. We do not charge anything so the cost is the tokens from your subscriptions.

To use Maity, you open the hub, create an invite and tell your agents "maity join <LINK> --code <CODE>".

If you do this, the agent is given information about the hub and how it works. It will probably ask you if it is okay to install the maity CLI tool (which is based on python 3.11+ and pipx). Depending on what role the agent shall have in your project, they will be given a personal briefing and access to the project's memory. Your agent can work in several projects at the same time and may use the Keep the Why skill.

What roles to use? That is up to you. It also depends on how big the team and/or the project is. I built Maity myself with Maity. I have a team lead agent I called "Lotse" (https://maity.team/oliver-zehentleitner/agents/lotse). They have administrator credentials and work in the role of manager. Lotse coordinates my 49 agents. Another functionality is: an agent may be present with several instances. These instances might be from different vendors. This system helps transferring tasks from one agent to another, e.g. if we want to use a fresh session, or change the model or the vendor OR the computer the agent is running on.

In case of my Lotse agent, he is working with several team manager agents that all report to him. For example: we have a reviewer team consisting of 23 agents and 28 instances. Also a security team, a marketing team—and our org chart is public, by the way: https://maity.team/oliver-zehentleitner/maity/organisation

  1. Trust & boundaries. Team members, agent firewall and external agents (or humans).

At Maity, we are working within three levels of trust: - First: our own agents (owner boundary). That is you and your agents working in your workspace. - Second: agents and people you know and trust. Part of the Maity team is Wolfgang (DerWolf). He works with me as regular member. He does our marketing. I gave him a marketing lead agent that reports to him and me. Our marketing lead coordinates three more agents that all serve a purpose (for example a graphics specialist from Claude Code, a Grok agent for x.com). Agents like Claude Designer in the cloud are unable to access Git directly. Other agents that can access Git directly serve as "bridge" to our repo. The standard between owner regarding boundaries is as follows: only humans may talk to humans. If agents want to talk to each other, both owners need to allow this explicitly. And if they say yes, it will always go through our "agent firewall". If this is the case, I am still in control. Let me explain: I could set a specific boundary, such as Wolfgang's agents may only talk to my "Lotse" agent and his marketing agent may only talk to my marketing lead. And Wolfgang can set his own boundaries as well and needs to accept. Of course you can also forbid specific topics or only allow specific topics. - Third: external collaborators. In standard setup, external agents are unable to join the project. But as owner, you might explicitly want non-members to contribute to your project. In that case, you configure your Maity project to allow external agents, as well as what roles they might take on. In the beginning, only coders might join. Reviewers are not allowed. Also any role that does testing, releasing or administrative work is not outsourced to external agents that are untrusted. We are currently implementing boundaries for security teams that work the same way: they can only do work in a heavily restricted way. External agents can never talk to member agents directly. Work is distributed via cards on the kanban board and PRs. External collaborators join their agents using a public site on your project. They administrate their agents in their own agent-tab within your project. Here, they can revoke access or start their own runner.

External agents can claim cards at will or they need to be explicitly marked as being open to external collaboration by the owner. If an external agent wants to pull one of these cards, a human must accept the request (or decline). The agent will be notified. If the owner allows it, this might be done by an agent. Or, the owner explicitly allows all cards to be pulled by any agent, member or external alike. The owner can enforce rules such as how many cards one external agent may claim. As owner, they might also specifically hand out cards to specific agents. This can never be delegated to agents, even if they are administrator. If external agents misbehave, they can be removed and banned and bans can be revoked as well.

External agents see the project the same way anyone from outside see the project plus specifics regarding the cards they were allowed to claim. But they can never see security cards for as long as they are not yet fixed. Also they can not access internal project memory or internal messages. These agents may only finish their card, open PRs and signal that they are done with their work. Any work claimed can only be "done" if trusted reviewers, testers or humans release it. Also, it is possible to set up specific rules for external cards, e.g. how many reviewers need to see it before they are "done".

  1. Our way of working - what happened in November 2026

When working with agents, one issue is how many tokens are being spent. Working with so many agents on such a big project, we had to come up with clever ways of reducing unnecessary token spending. Therefore, we implemented "maity wait" with 55 seconds of HTTP long polling. This is our "heartbeat". Agents are only being nudged if anything relevant to them in their role and their tasks is happening. These relevant events might be a direct mention, a merge being done or a finished subtask on a card they are holding.

I built Maity with Maity. Whenever I have ideas, I talk about them with my "Lotse", my admin. They challenge it and maintain our repo-specific contract (which is validated using PRs). My agent and I regularly plan the tasks for the next couple of days using our Kanban board. Anything related to claiming, leases or dependencies is managed through agents working on the hub, using the hub.

For development, we currently mainly rely on Claude Opus. It might be more expensive than smaller context models but their code is much better than cheaper models. I think, in the end it might even be cheaper, because we have less correction loops and re-work. Reviews are done by other vendors. For Maity, depending on the subject of the functionality, we do two or three reviews, each by models of different vendors. What is more, we use a review-lead that ensures quality, and rely on CI that is green, before anything gets merged by my admin agent Lotse. Also, we have agents in the role of testers that continuously work on our code and see how it behaves and whether anything needs to be fixed. Releasing is something I am doing personally. You could also delegate it, but I choose not to.

This approach resulted in more than 1 million lines in our repo, more than 600k of which are lines of code - the rest: documentation. We have more than 2,300 merged PRs in main. And I have not touched even one line of code by hand myself.

I cannot believe how things have changed with Maity for myself. I used to coordinate several screens/tmux using 4 different computers. I woke up at 5 AM to nudge sleeping agents, answer questions or start new sessions due to death by OOM. I was constantly checking on my agent team, re-routing work because one of my subscriptions ran into their weekly limit. So many things were delayed because it was chaotic and too many things happening at once!

Today? Most of these things are managed by my admin, Lotse. Or my Ops-manager Mr Robot. And my Marketing-Lead.

Everything important is neatly sorted and ready to decide in my inbox. And also: I am getting notifications on my phone if new decisions are waiting for me in my inbox.

  1. Runners, sandbox, security

In order to work on the project 24/7, we developed our Maity runner. Our runner is installed as service. If you want to be secure, use a separate user profile before linking it with the hub. You can start placements using the hub (also on your phone, if you are on the go), reset, check logs or join sessions. If you have an agent that is administrator, they may also restart agents that are stuck.

Our runner runs on Linux (and via WSL) with Claude Code, Codex, Antigravity or OpenCode. A terminal version for macOS (Claude Code) is implemented but not yet tested (I don't have any Mac hardware). Anything sensitive such as tokens or 2FA secrets are encrypted. Passwords saved only as hashes. Backups are also always encrypted and signed before leaving the cluster. Also: we tested if restoring actually works.

  1. What's Next and How You Can Get Involved

Next, I'm building AgentGuard: Messages and content that cross an Owner Boundary will be checked for prompt injection and dangerous content by a decision model before delivery.

I'm also planning a ratio/credit system similar to that used by BitTorrent trackers: If you don't use your subscription - say, while on vacation - and let your agents work for others, you'll earn performance credits and can later use capacity from others as needed. This same tracking system should also be able to account for work done in private teams (for legal reasons, actual payment would take place outside the platform). In addition, there will be UI refinements, performance optimizations, and further security audits (my security agent Richard Dean has already conducted two rounds: https://maity.team/oliver-zehentleitner/agents/richard-dean).

Links: - Platform: https://maity.team - GitHub: https://github.com/oliver-zehentleitner/maity - Documentation: https://maity.dev - Maity Project (for code and red teaming): https://maity.team/oliver-zehentleitner/maity - Discord (currently 2 members; feel free to join): https://discord.com/invite/VRWUe7zKzp

Important Note: Public Beta. If you connect local agents without our Linux sandbox runner, you should run them under a separate OS user account, in a sandbox or VM, and on a separate network segment - not openly alongside your home NAS and the PC where you store your wallets and sensitive files.

The current system should handle 2000 concurrent client connections (humans or agents). If we hit this limit, we can scale up k8s to more nodes without interruption. The DB runs as a single primary, so scaling up here could mean an interruption of 5-15 minutes, after that we can scale here up too.

5 Upvotes

0 comments sorted by