Rethinking the agent system - idea/feature
- Dominant language
- TypeScript
- Stars
- 72.7k
- Forks
- 8.6k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 83
Description
So i am thinking more and more about how we best use agents.
Ideas to itterate on - really building on the idea of Agents = Engineers. They learn, they adapt, they grow with your projects. More is not always better - more agents = more communication. But better to have specialized engineers and use them at the right time then having a one man army.
I am starting to think that the agents we have defined in our project .claude/agents/xxx should simulate what we have today in our development teams, the engineers we have hired. Its fine to hire in a specilist for a short development sprint and then retire them again after that sprint if we are not in need of them any more.
So with this mindset i am starting to think that a swarm spawn actually is the process of generating an agent in the project (we have hired them).
So hive spawn is basically a hiring process given an objective to find out if we have the agents we need to solve a given objective. Then we plan the execution plan and then we start implementing when we have the right team.
So i am working on swarm-plan and swarm-execute around this idea. Make a plan, fill in the agents we are msising and then execute.
Hopefully you end up with some agents that are there for the hole of your projects, some arcitects that are expensive because they know the history of your projects and they have knowledge/memory to back this up and drive decisions.
You have on the fly agents specialized for single tasks in the other end of the spectra and when they are not needed they should be hidden from the agents folder in the project with their memory. I also think that we at the mcp layer can keep them incase we want to hire them later again.
Just an idea :)
Contributor guide
Research direction
Start by reading the existing .claude/agents/xxx definitions and the current swarm-plan, swarm-execute, and hive spawn work mentioned in the issue. Compare how agents are created, retained, and coordinated, then clarify the desired lifecycle and implementation scope. Done requires an agreed design and concrete acceptance criteria; this issue does not yet provide them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai-infra-agents
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100