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"
})