How defense-seu/peromas works
PeroMAS is an autonomous perovskite solar-cell research system. A researcher supplies a goal; the workflow coordinates planning, literature retrieval, material design, performance prediction, analysis, and knowledge archiving, then loops back for refinement or stops. The graph also shows the shared agent runtime and the domain-tool and prediction-model layers. Relationships among agents follow the documented workflow; unsampled implementation details and tool-server wiring are not inferred.
Main entry points: graph.py Cyclic orchestrator · analysis_agent.py Gap analysis · base_agent.py Agent controller · fab_agent.py Performance emulator
Components 23
Research workflow
- Cyclic orchestrator
src/workflow/graph.py - Shared research state
src/workflow/state.py
Specialist agents
- Strategic planning
src/agent/meta_agent.py - Literature intelligence
src/agent/data_agent.py - Material design
src/agent/design_agent.py - Performance emulator
src/agent/fab_agent.py - Gap analysis
src/agent/analysis_agent.py - Knowledge archive
src/agent/memory_agent.py
Agent runtime
- Agent controller
src/core/base_agent.py - LLM client
src/core/llm.py - Runtime settings
src/core/config.py - MCP tool registry
src/core/tool.py
Scientific tools
- arXiv literature
- Generation and synthesis tools
mcp/design_agent/server_tools.py - Cation chemistry
mcp/analysis_agent/chemistry_tools.py - SHAP interpretation
mcp/analysis_agent/shap_analysis.py - Structure visualization
mcp/analysis_agent/visualization_plotly.py
Prediction models
- Perovskite predictor
mcp/fab_agent/perovskite_predictor.py - Feature processing
mcp/fab_agent/Perovskite_PI_Multi/process.py - Composition features
mcp/fab_agent/Perovskite_PI_Multi/revised_CBFV/composition.py - Model training
mcp/fab_agent/Perovskite_PI_Multi/train.py - Prediction visualization
mcp/fab_agent/visualization.py
Other components
- Researcher
Connections 24
- Researcher → Cyclic orchestrator: sets goal
- Cyclic orchestrator → Shared research state: manages state
src/workflow/graph.py - Cyclic orchestrator → Strategic planning: dispatches
src/workflow/graph.py - Cyclic orchestrator → Literature intelligence: dispatches
src/workflow/graph.py - Cyclic orchestrator → Material design: dispatches
src/workflow/graph.py - Cyclic orchestrator → Performance emulator: dispatches
src/workflow/graph.py - Cyclic orchestrator → Gap analysis: dispatches
src/workflow/graph.py - Cyclic orchestrator → Knowledge archive: dispatches
src/workflow/graph.py - Strategic planning → Cyclic orchestrator: sets next step
src/workflow/graph.py - Cyclic orchestrator → Strategic planning: loops back
src/workflow/graph.py - Literature intelligence → arXiv literature: retrieves papers
- Material design → Generation and synthesis tools: uses domain tools
src/agent/design_agent.py - Performance emulator → Perovskite predictor: predicts metrics
src/agent/fab_agent.py - Gap analysis → Cation chemistry: analyzes cations
src/agent/analysis_agent.py - Gap analysis → SHAP interpretation: interprets features
src/agent/analysis_agent.py - Gap analysis → Structure visualization: renders structures
src/agent/analysis_agent.py - Perovskite predictor → Composition features: builds features
mcp/fab_agent/perovskite_predictor.py - Feature processing → Composition features: generates vectors
mcp/fab_agent/Perovskite_PI_Multi/process.py - Performance emulator → Prediction visualization: uses visualization
src/agent/fab_agent.py - Agent controller → LLM client: invokes
src/core/base_agent.py - Agent controller → MCP tool registry: initializes tools
src/core/base_agent.py - Agent controller → Runtime settings: reads settings
src/core/base_agent.py - Cyclic orchestrator → Shared research state: passes context
src/workflow/graph.py - Model training → Feature processing: uses features