Back to home page

EIC code displayed by LXR

 
 

    


Warning, /swf-testbed/docs/diagram7_corunai_codocai.md is written in an unsupported language. File is not indexed.

0001 # diagram7_corunai_codocai
0002 
0003 corun-ai + codoc-ai: the research orchestrator and its immediate
0004 application, spanning frontier, commercial, and open-source models. The
0005 open-source tier requires local hardware, which is why the team has
0006 implemented a remote-inference bridge — open-source models run on the
0007 user's desktop (Mac Studio / ollama) and plug into corun-ai as a
0008 first-class dispatch target.
0009 
0010 ```mermaid
0011 flowchart TB
0012     classDef user fill:#fff3e0,stroke:#e65100,color:#000
0013     classDef codoc fill:#e3f2fd,stroke:#1565c0,stroke-width:2px,color:#000
0014     classDef orch fill:#e8eaf6,stroke:#3949ab,stroke-width:2px,color:#000
0015     classDef frontier fill:#fff8e1,stroke:#f57f17,color:#000
0016     classDef oss fill:#f1f8e9,stroke:#33691e,stroke-width:2px,color:#000
0017     classDef remote fill:#fce4ec,stroke:#ad1457,stroke-width:2px,stroke-dasharray:6 3,color:#000
0018     classDef tool fill:#f1f8e9,stroke:#33691e,color:#000
0019     classDef out fill:#ffffff,stroke:#555,color:#000
0020 
0021     U["Expert evaluator<br/>documentation questions · production examination"]:::user
0022 
0023     CODOC["<b>codoc-ai</b> — immediate application<br/>documentation drafting · production analysis"]:::codoc
0024 
0025     CORUN["<b>corun-ai</b> scheduler<br/>config = model × sysprompt × MCP set<br/>configure · dispatch · compare"]:::orch
0026 
0027     subgraph MODELS["Model ensemble — three providers, common scheduler"]
0028         direction LR
0029         M1["<b>Anthropic</b><br/>Claude Opus · Sonnet · Haiku<br/><i>Anthropic API · claude -p CLI</i>"]:::frontier
0030         M2["<b>Google</b><br/>Gemini 2.5 Pro · Flash<br/><i>Google API</i>"]:::frontier
0031         M3["<b>Open source</b><br/>Gemma 4 via ollama<br/><i>needs local GPU hardware</i>"]:::oss
0032     end
0033 
0034     REMOTE["<b>Remote inference worker</b><br/>open-source models hosted on<br/>user desktop (Mac Studio · ollama)<br/>bridged to corun-ai as a scheduler target<br/><i>enables commercial vs. open-source comparison</i>"]:::remote
0035 
0036     MCP["<b>MCP tool ecosystem</b><br/>in-house: AskPanDA · PanDA Monitor · Streaming Workflow · VectorDB RAG<br/>3rd-party (6+): Rucio · XRootD · LXR · GitHub · Zenodo · …"]:::tool
0037 
0038     OUT["<b>codoc-ai outputs</b><br/>documentation drafts · production-examination reports ·<br/>cross-model comparison threads (user annotations)"]:::out
0039 
0040     U --> CODOC
0041     CODOC --> CORUN
0042     CORUN --> M1
0043     CORUN --> M2
0044     CORUN --> M3
0045     M3 -. hosted by .-> REMOTE
0046     M1 --> MCP
0047     M2 --> MCP
0048     M3 --> MCP
0049     MCP --> OUT
0050 ```