-
Notifications
You must be signed in to change notification settings - Fork 0
AI: Add Multiagent Workflows with Orchestrator #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Docs
Modifies documentation
Query
Modifies query package
Templating
Modifies templating package
Tests
Modifies tests
Tooling
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a new multiagent workflow for the repo including including subagents and an orchestrator agent which can be used together to create components and update docs.
This was originally implemented as a separate MCP server serving subinstances using
spawnto create new processes served withclaude mcp serve. This approach was eventually modified to instead use a single agent with theTasktool which is more memory efficient and also provides better UX experience (as tool use through mcp is kind of janky right now with permissions).Feature Proposal :
MCP Agent Architecture for Semantic UI
Overview
This proposal outlines the implementation of a specialized agent system using Model Context Protocol (MCP) to handle complex development workflows in the Semantic UI codebase. The system addresses the need for domain-specific expertise while maintaining coordination across different aspects of development.
Problem Statement
The Semantic UI codebase consists of multiple specialized packages (Component, Query, Templating, Reactivity, Utils) each with distinct patterns, APIs, and architectural concerns. A single agent attempting to handle all domains simultaneously suffers from:
Proposed Solution
Multi-Agent Architecture
Domain-Specific Implementation Agents (Package Experts):
Cross-Domain Process Agents (Quality Specialists):
Main Orchestration Agent:
Sequential Workflow Pattern
Unlike parallel execution, the workflow is inherently sequential:
Each agent builds upon the previous agent's work with full context accumulation.
Argumentative Theory Implementation
Following Mercier's Argumentative Theory, agents provide specialized perspectives that create productive tension:
Domain vs Domain Conflicts:
Process vs Domain Conflicts:
Process vs Process Conflicts:
Technical Implementation
MCP Server Architecture
Location:
/ai/mcp/agents-server.jsThe MCP server provides tools that spawn Claude Code instances as specialized sub-agents:
Agent Context System
Location:
/ai/agents/{domain|process}/[agent-name]/context.mdEach agent has specialized context files that define:
Communication Protocol
Sequential Context Accumulation:
{ "original_task": "Add Query.data() method", "implementation": { "files_changed": ["query.js"], "patterns_used": ["getter/setter", "chaining"], "concerns": ["performance with large datasets"] }, "testing": { "test_files": ["query.test.js"], "coverage_areas": ["single element", "multiple elements"], "performance_benchmarks": "established" } // ... continues accumulating }Structured Agent Responses:
{ "status": "complete|needs_input|blocked", "deliverables": { "files_changed": ["path/to/file.js"], "summary": "work completed" }, "handoff_context": { "for_next_agent": "key information", "concerns": ["issues raised"], "recommendations": ["next steps"] }, "questions": [ { "for_agent": "types_agent", "question": "Does this API signature work?" } ] }Files and Directories