Running multiple agents with spec-kit in one project?
Anyone have tried and maybe even got to work running more than one coding agent with spec-kit in one and the same project?
Background: I have been running spec-kit with Claude code for some time and impressed with the workflow and quality so far. However, I also have access to Gemini as well as OpenAI Codex. When weekly Claude code quotas are used up it would be nice to be able to "continue" with one of the others. Anyone got this to work or would it just mess things up?
I'd like to hear more about this idea. Been having the same thoughts, several plans might benefits from different agents capabilities.
I wonder if it's just a matter of where the spec files are placed and named, like <project>/.claude/commands. The code in .specify seems to be agnostic about which agent is being used.
I'm facing the same situation, and here are my attempts.
First I initialize spec-kit for GitHub Copilot with specify init --here --ai copilot. After setting up the constitution with /speckit.constitution, it is written into .specify/memory/constitution.md. After that I've finished several specify -> plan -> tasks -> implement flows as usual.
Then I initialize spec-kit again for Claude Code with specify init --here --ai claude and ignore the warning:
Warning: Current directory is not empty (xx items)
Template files will be merged with existing content and may overwrite existing files
Do you want to continue? [y/N]: y
spec-kit writes slash commands into .claude/commands as expected, but also overrides constitution.md. Quite straightforwardly, I keep changes in .claude only and ignore all the others. And everything seems to work fine with both GitHub Copilot and Claude Code.
Though, in my humble opinion, the init command is not clear enough for spec-kit. As for OpenSpec, its CLI allows user to re-configure coding agents that are not checked at the first time, and by default leaves a general AGENTS.md stub for other coding agents.
I have an idea on how we can implement this. Please correct me if I am mistaken. If we could somehow instruct the AI agent to place a hyphen (-) inside tasks that it is currently working on, so that other AI agents will not inadvertently pick them up, it could be beneficial.
Do any of you have any suggestions or ideas on how to achieve this?
We should prioritize its implementation.
I have an idea on how we can implement this. Please correct me if I am mistaken. If we could somehow instruct the AI agent to place a hyphen (-) inside tasks that it is currently working on, so that other AI agents will not inadvertently pick them up, it could be beneficial.
Do any of you have any suggestions or ideas on how to achieve this?
We should prioritize its implementation.
I do this now. I have a project that reads the tasks.md file and syncs them with ADO. I use [~] (a tilde character) to rerepsent in progress tasks.
I'm facing the same situation, and here are my attempts.
First I initialize spec-kit for GitHub Copilot with
specify init --here --ai copilot. After setting up the constitution with/speckit.constitution, it is written into.specify/memory/constitution.md. After that I've finished severalspecify -> plan -> tasks -> implementflows as usual.Then I initialize spec-kit again for Claude Code with
specify init --here --ai claudeand ignore the warning:Warning: Current directory is not empty (xx items) Template files will be merged with existing content and may overwrite existing files Do you want to continue? [y/N]: yspec-kit writes slash commands into
.claude/commandsas expected, but also overridesconstitution.md. Quite straightforwardly, I keep changes in.claudeonly and ignore all the others. And everything seems to work fine with both GitHub Copilot and Claude Code.Though, in my humble opinion, the
initcommand is not clear enough for spec-kit. As for OpenSpec, its CLI allows user to re-configure coding agents that are not checked at the first time, and by default leaves a generalAGENTS.mdstub for other coding agents.
I was hoping it would be like this. The only unfortunate part is you're gonna have to wait for it to regenerate constitution before replacing/rejecting the changes. Or was you able to stop it before then with no problem?
Delivered by #2389
