AgenticOrgLab/ExecOrchestra

Heterogeneous Resource Routing and Orchestration

ExecOrchestra — What It Is

ExecOrchestra is a framework for coordinating different kinds of computing resources — tools, AI models, skills, and agents — into a single executable plan for a complex task. Instead of letting one model try to do everything, it decides which parts need a generative AI model and which parts can be done directly by tools, then routes each subtask accordingly.

The Core Idea

A task is broken into subtasks, and each subtask is assigned to one of three execution modes, depending on how much control the model should have:

Mode How the work gets done
Direct The plan fixes the operations and their inputs. Tools carry them out without an intermediate model call.
Localized The plan gives a model a specific job, such as writing a short processing script. Tools do the reading, writing, or computation.
Extended A model or agent can inspect a tool's response and choose its next action within the permitted tools and session limits.

The framework keeps clear execution records, intermediate artifacts, and delivered results so developers can follow progress, diagnose issues, and extend their applications.

What You Need to Run It

  • Operating system: Linux x86-64
  • Python: 3.11 or higher
  • Tools: Git, Conda, and a running Docker Engine accessible to your user
  • Model services: A compatible LLM API and an embedding model service (Qwen3-Embedding-4B by default)

Installation Steps (Summary)

  1. Clone the repository and enter the execorchestra directory.
  2. Create a Conda environment with Python 3.11, install PyTorch (CPU build), then install the project dependencies.
  3. Build a Docker tool environment using the provided Dockerfile and a sealing script.
  4. Prepare the embedding model service — either download the model and tokenizer locally, or point to an existing embedding service.
  5. Configure a .env file with your LLM API endpoint/key and embedding API key.
  6. Prepare resources with a command that checks models, control roles, tools, and agents, builds the usable resource pool, and verifies configuration. This makes live API/tool requests and may incur charges.

Running a Task

You write your request to a UTF-8 text file, place it (with any attachments) in a dedicated input directory, then run:

bash scripts/run.sh \
  --query-file "<task-file>" \
  --public-input-root "<input-directory>" \
  --run-dir "<new-run-directory>"

Key parameters:

  • --query-file: the file containing the task request and expected deliverable (must be inside the declared input directory)
  • --public-input-root: directory the task may read (repeatable)
  • --run-dir: new or empty directory for logs and results
  • --input NAME=PATH: optional named attachment (repeatable)
  • --network-policy declared: enables declared network access for web tasks (disabled by default)

What You Get Back

The run directory contains:

File Purpose
progress.log Human-readable trace of each stage, selected resources, intermediate outputs, and delivery status
pipeline.log Detailed requests, candidate scores, plan validation, and runtime diagnostics
run_manifest.json Final run status and recorded cause of failure
delivery_manifest.json Location of the delivered output and its content hash
experiment_report.md The run report

Related Dataset: CoEvoke

The project also links to a Hugging Face dataset called CoEvoke that captures multi-agent collaboration across software engineering, mathematical reasoning, natural-language logical reasoning, and logic-grid puzzles. Each episode records agent messages, tool interactions, and intermediate review decisions. It contains 11,815 total episodes derived from 4,567 parent trajectories across four sources (SWE, DeepMath, ProofWriter, ZebraLogic).

Documentation

The README points to several docs: a quickstart guide, environment/service setup, model configuration, benchmark evaluation (GAIA and Terminal-Bench), a resource catalog, framework source code, and third-party notices.

Contributors & Acknowledgments

The project lists 12 contributors on GitHub and acknowledges the Shanghai Artificial Intelligence Laboratory.


Note: This explainer is grounded strictly in the README content. No features or facts beyond what the README states have been included.

Related

  • Project
  • Project
  • Project
  • Project