Skip to content

Ability to specify a custom agent when creating a session #317

Description

@haoranpb

The Copilot SDK allows defining a list of custom agents, but there's no way to specify which agent should be active when creating a session.

Would like the ability to programmatically invoke a specific custom agent without relying on model inference or prompt-based selection.

e.g. in Copilot CLI

copilot --agent MyCustomAgent

SDK equivalent:

session = await client.create_session({
    "agent": "MyCustomAgent"
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions