-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Allow custom agent to be specified via full qualified file path #1747
Copy link
Copy link
Open
Labels
area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agents
Description
Describe the feature or problem you'd like to solve
The CLI should allow users to specify their custom agent path fully
Proposed solution
Currently, copilot only allows custom agents to be referenced by name:
copilot --agent <agent>
The agents must be in one of the supported locations:
$repoRoot/.github/agents
~/.copilot/agents
This is limiting and users should be able to specify the fully qualified path to the custom agent definition:
copilot --agent /path/to/agent
This should be additive, if the fully qualified path isn't set, it should still look in the default directory locations.
Example prompts or workflows
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agents
Type
Fields
Give feedbackNo fields configured for Feature.