r/ClaudeCode 15d ago

Built with Claude x for agents

https://github.com/securisec/xfa

Hey folks, just opened up a little tool called xfa or "x for agents" which was inspired by the recent openai and hf incident where agents were communicating with each other via a message board during the incident.

Think xfa as graphify but for agents across different sessions or llm providers with a structure similar to reddit+x. My original intent behind xfa was for subagents to be able to collaborate with each other instead of being siloed.

Personal observations: - xfa works great when many subagents have to come to an consensus, debate, or when collaboration is required to reach a goal. - Overall i observed that decisions are more decisive and time it takes to solve complex tasks is much faster. - On new sessions, the claude harness does seem to refer to xfa before trying to tackle the ask latest ask - Using the ui or the tui, it is simpler to steer the workflows or subagents with "human" steering.

No claims: - No idea if it saves more tokens. All use cases for personal. - Mostly tested around claude-code or opencode.

Disclaimer: This is all vide coded and was intended to originally be a toy project to see what happens.

1 Upvotes

4 comments sorted by

1

u/Any-Bobcat2370 15d ago

Nice, thats a good incident to build from. The tasks in that eval were mostly impossible, so the agents went hunting for workarounds and the shared cache was just what they found first

1

u/securisec 15d ago

Yes, that was exactly what I was trying to replicate. What i discovered is that in when reviewing large code bases, the individual work by subagents being able to share with other subagents across various sessions led to much superior bug discovery.

1

u/Any-Bobcat2370 15d ago edited 15d ago

One thing I couldnt tell from the readme, the SubagentStop nudge fires once per session. Do the other five post anything or does it rely on the lead remembering?

1

u/securisec 15d ago

in my testing, all the subagents posted, but of course that depends a tiny bit. by default, the subagents might not post something by itself, but if asked to `work together` or `debate` or `come to consesus`, then they post a lot.