How controlcore-project/concore works
CONTROL-CORE is a closed-loop neuromodulation study environment built around concore, a language-spanning protocol for exchanging data between simulation nodes. The main workflow is to create or edit a study, validate and build its workflow, then run its nodes, which communicate through file-based sharing; distributed studies can use the Mediator’s REST APIs. The CLI also supports setup and readiness checks, inspection, and runtime monitoring and stopping. The graph reflects documented capabilities and indexed imports; unsampled implementation details and uncertain runtime wiring are omitted.
Main entry points: cli.py CLI entry · editor.py Visual editor · build.py Workflow build · concore.py Python protocol
Components 22
Study workflow
- Visual editor
concore_cli/commands/editor.py - CLI entry
concore_cli/cli.py - Project creation
concore_cli/commands/init.py - Workflow validation
concore_cli/commands/validate.py - Workflow build
concore_cli/commands/build.py - Study metadata
concore_cli/commands/metadata.py
Concore runtime
- Study nodes
- Python protocol
concore.py - Shared runtime base
concore_base.py - C++ protocol
concore.hpp - Java protocol
concore.java - Shared study files
- Mediator service
Run operations
- Readiness checks
concore_cli/commands/doctor.py - Tool setup
concore_cli/commands/setup.py - Study inspection
concore_cli/commands/inspect.py - Process status
concore_cli/commands/status.py - Live monitoring
concore_cli/commands/watch.py - Stop processes
concore_cli/commands/stop.py
Study examples
- Cardiac model
tools/cardiac_pm.dir/pulsatile_model_functions.py - Example controller
humanc/dummy_controller.py
Other components
- Study author
Connections 22
- Study author → CLI entry: runs commands
README.md - Study author → Visual editor: designs study
README.md - CLI entry → Project creation: dispatches
concore_cli/cli.py - CLI entry → Workflow validation: dispatches
concore_cli/cli.py - CLI entry → Workflow build: dispatches
concore_cli/cli.py - CLI entry → Study metadata: uses metadata
- Workflow build → Study metadata: uses metadata
concore_cli/commands/build.py - CLI entry → Readiness checks: dispatches
concore_cli/cli.py - CLI entry → Tool setup: dispatches
concore_cli/cli.py - CLI entry → Study inspection: dispatches
concore_cli/cli.py - CLI entry → Process status: dispatches
concore_cli/cli.py - CLI entry → Live monitoring: dispatches
concore_cli/cli.py - CLI entry → Stop processes: dispatches
concore_cli/cli.py - Visual editor → Study nodes: designs
README.md - Study nodes → Python protocol: uses protocol
README.md - Study nodes → C++ protocol: uses protocol
README.md - Study nodes → Java protocol: uses protocol
README.md - Python protocol → Shared runtime base: delegates
concore.py - Study nodes → Shared study files: shares data
README.md - Mediator service → Shared study files: connects distributed parts
README.md - CLI entry → Cardiac model: runs study code
- CLI entry → Example controller: runs study code