Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic 25-B Advanced Orchestration #523

Open
ohdearquant opened this issue Jan 15, 2025 · 0 comments
Open

Epic 25-B Advanced Orchestration #523

ohdearquant opened this issue Jan 15, 2025 · 0 comments

Comments

@ohdearquant
Copy link
Collaborator

Epic B: Advanced Orchestration & Graph Execution

1. Runtime Graph Engine

  • Issue B1.1: Create a Graph Executor

    • Description: Develop core logic to interpret a workflow graph where each node is an instruction/function/LLM call.
    • Key Tasks:
      • Design a node/edge data schema for execution.
      • Implement “executeNode(node)” logic that runs either a function or an AI prompt.
    • Acceptance Criteria:
      • A single node can be executed from the engine; logs show input/output.
  • Issue B1.2: Scheduling & Parallel Execution

    • Description: Support concurrent execution of branches for certain node types.
    • Key Tasks:
      • Add concurrency control with threading or async.
      • Handle synchronization if multiple branches write to shared data.
    • Acceptance Criteria:
      • Graph can run multiple steps in parallel if dependencies are met.

2. Multi-Branch Collaboration

  • Issue B2.1: Re-Entrant Workflow
    • Description: Allow partial re-execution if a downstream step modifies the context of an upstream step.
    • Key Tasks:
      • Implement detection of changed data, re-trigger necessary parts of the graph.
      • Provide logs or a “workflow replay” option.
    • Acceptance Criteria:
      • The system automatically reruns dependent nodes if upstream data changes.

3. Tree/Chain-of-Thought Patterns

  • Issue B3.1: Built-In Reasoning Templates
    • Description: Provide helper modules for “tree-of-thought,” “chain-of-thought,” etc.
    • Key Tasks:
      • Implement standard orchestration flows that devs can plug in.
      • Offer configuration for branching thresholds or iterative expansions.
    • Acceptance Criteria:
      • Users can choose from a template and see an example chain-of-thought approach in action.

4. Graph Generation at Runtime

  • Issue B4.1: AI-Assisted Workflow Generation
    • Description: The system can propose new nodes/flows in response to user queries.
    • Key Tasks:
      • Provide a meta-model that, given existing graph steps, suggests new steps or merges.
      • Integrate with LLM so user can “approve” or “reject” suggestions.
    • Acceptance Criteria:
      • On user command, the orchestrator can auto-build or expand a partial workflow.
@ohdearquant ohdearquant changed the title Epic-25B Epic 25-B Advanced Orchestration Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant