How marceloclaro/opencode-ecosystem-core works
OpenCode Ecosystem Core is a multi-agent research and automation ecosystem. Its documented user journey begins with a CLI research request, passes through the primary orchestrator and agent coordination, and produces research outputs; the broader product also includes scientific governance, formal reasoning, evolution/scanning, and integrations. The README supports the high-level workflow and capability branches, while sampled source supports several internal calls. Many substantial modules were not inspected, so their detailed wiring is omitted rather than inferred.
Main entry points: orchestrator.py Primary orchestrator · scheduler.py Research factory · scientific_governance_pipeline.py Governance pipeline · metabus.py Shared metacognitive memory
Components 24
User entry
- Ecosystem CLI
marceloclaro/cli.py - Primary orchestrator
marceloclaro/orchestrator.py - Agent catalog
agents/lazy_catalog.py
Research workflow
- Research searchers
research/searchers.py - Research factory
research_factory/scheduler.py - Evidence provenance
research/provenance_pipeline.py - Manuscript pipeline
research/manuscript/pipeline.py - MIRA presentations
illustrations/mira_engine.py
Scientific governance
- Governance pipeline
mci/pipeline/scientific_governance_pipeline.py - Hypothesis generation
mci/hypothesis_engine.py - Evidence graph
mci/evidence_graph.py - Adversarial review
mci/adversarial_reviewer.py - Scientific reporting
mci/scientific_reporter.py
Reasoning and evolution
- Reasoning engines
reasoning/engines.py - Diagnostic scanners
scanners/pipeline.py - Evolutionary analysis
scanners/evolutionary_pipeline.py - Capability composition
scanners/capability_composer.py - Formal verification
integrations/deepmind/formal_verifier.py - Offline social simulation
mirofish/social/engine.py
Shared platform
- A2A Blackboard
mci/blackboard.py - Shared metacognitive memory
mci/metabus.py - Trust engine
trust/trust_engine.py - Gemini Notebook integration
integrations/gemini_notebook_pipeline.py
Other components
- Research user
Connections 23
- Research user → Ecosystem CLI: requests research
README.md - Ecosystem CLI → Primary orchestrator: dispatches command
README.md - Primary orchestrator → Agent catalog: coordinates agents
README.md - Primary orchestrator → A2A Blackboard: coordinates via A2A
README.md - Primary orchestrator → Shared metacognitive memory: shares metacognition
README.md - Primary orchestrator → Research factory: runs research factory
README.md - Research factory → Research searchers: searches sources
- Research factory → Evidence provenance: records evidence
- Research factory → Manuscript pipeline: produces manuscripts
- Primary orchestrator → Governance pipeline: governs research
- Governance pipeline → Hypothesis generation: generates hypotheses
mci/pipeline/scientific_governance_pipeline.py - Governance pipeline → Evidence graph: orchestrates analysis
- Governance pipeline → Shared metacognitive memory: uses shared memory
mci/pipeline/scientific_governance_pipeline.py - Reasoning engines → Shared metacognitive memory: publishes events
reasoning/engines.py - Diagnostic scanners → Shared metacognitive memory: publishes diagnostics
scanners/pipeline.py - Diagnostic scanners → Evolutionary analysis: runs evolutionary analysis
scanners/pipeline.py - Evolutionary analysis → Capability composition: uses capability analysis
scanners/evolutionary_pipeline.py - Primary orchestrator → Reasoning engines: invokes reasoning
- Primary orchestrator → Trust engine: applies token economy
- Primary orchestrator → Formal verification: offers formal reasoning
- Primary orchestrator → MIRA presentations: offers presentations
- Primary orchestrator → Offline social simulation: offers social simulation
- Primary orchestrator → Gemini Notebook integration: integrates notebook