Skip to content

Add Copilot model orchestration instructions - #20

Merged
ernysans merged 1 commit into
mainfrom
add-copilot-instructions
Aug 27, 2026
Merged

Add Copilot model orchestration instructions#20
ernysans merged 1 commit into
mainfrom
add-copilot-instructions

Conversation

@ernysans

Copy link
Copy Markdown
Member

This PR adds a new section to .github/copilot-instructions.md that documents the GitHub Copilot agent model usage policy.

What's included

  • Tiered model strategy — balances quality and cost by using local Ollama models for routine tasks (code completions, edits, refactors) and cloud models (Claude Opus/Sonnet) for complex orchestration and escalation
  • Local Ollama configuration — specifies the endpoint (http://localhost:11434/v1), available models (qwen2.5-coder:14b, devstral), and API key setup
  • Agent orchestration rules — ensures child sessions use local models, requires escalation logging, and prevents unnecessary cloud model usage
  • Orchestration diagram — visualizes the model assignment flow from parent orchestrator through child sessions

This policy enables cost-effective AI agent work while maintaining quality for complex tasks requiring deeper reasoning.

Appends model usage policy section documenting the tiered strategy for
GitHub Copilot agents:
- Local Ollama endpoint for code completions and agentic workflows
- Cloud escalation (Claude Opus/Sonnet) for orchestration and retries
- Rules for child sessions and cost visibility

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@ernysans
ernysans merged commit 9504f4b into main Aug 27, 2026
0 of 2 checks passed
@ernysans
ernysans deleted the add-copilot-instructions branch August 28, 2026 21:37
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

Successfully merging this pull request may close these issues.

1 participant