You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The doc says "The SDK manages the CLI process lifecycle automatically. You can also connect to an external CLI server—see individual SDK docs for details." but I don't find the details.
I've labeled this as both a question and documentation issue since you're asking about a feature that the docs reference but don't fully explain.
Which SDK are you using (.NET, Go, Node.js, or Python)? That would help us point you to the right documentation or identify where we need to add the missing details.
You can run the CLI in server mode and specify a port using the following command: copilot --server --port [number], you can then pass the url to that to the SDK client. For example in Python:
# start the CLI in server mode by running: copilot --server --port=4321
client = CopilotClient({
"cli_url": "localhost:4321"
})
I agree with you we should add documentation for how to run the CLI in server mode.
Activity
github-actions commentedon Jan 22, 2026
Thanks for opening this issue! 👋
I've labeled this as both a
questionanddocumentationissue since you're asking about a feature that the docs reference but don't fully explain.Which SDK are you using (.NET, Go, Node.js, or Python)? That would help us point you to the right documentation or identify where we need to add the missing details.
GuoyuHao commentedon Jan 22, 2026
Python, then .Net
friggeri commentedon Jan 22, 2026
You can run the CLI in server mode and specify a port using the following command:
copilot --server --port [number], you can then pass the url to that to the SDK client. For example in Python:I agree with you we should add documentation for how to run the CLI in server mode.