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
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,19 @@
8
8
9
9
Agents for every app.
10
10
11
-
Embed Copilot's agentic workflows in your application—now available in Technical preview as a programmable SDK for Python, TypeScript, Go, .NET, and Java.
11
+
Embed Copilot's agentic workflows in your application—now available in public preview as a programmable SDK for Python, TypeScript, Go, .NET, and Java.
12
12
13
13
The GitHub Copilot SDK exposes the same engine behind Copilot CLI: a production-tested agent runtime you can invoke programmatically. No need to build your own orchestration—you define agent behavior, Copilot handles planning, tool invocation, file edits, and more.
|**Go**|[`go/`](./go/)|[Cookbook](https://github.com/github/awesome-copilot/blob/main/cookbook/copilot-sdk/go/README.md)|`go get github.com/github/copilot-sdk/go`|
|**Java**|[`github/copilot-sdk-java`](https://github.com/github/copilot-sdk-java)| WIP | Maven coordinates<br>`com.github:copilot-sdk-java`<br>See instructions for [Maven](https://github.com/github/copilot-sdk-java?tab=readme-ov-file#maven) and [Gradle](https://github.com/github/copilot-sdk-java?tab=readme-ov-file#gradle)|
|**Go**|[`go/`](./go/)|[Cookbook](https://github.com/github/awesome-copilot/blob/main/cookbook/copilot-sdk/go/README.md)|`go get github.com/github/copilot-sdk/go`|
|**Java**|[`github/copilot-sdk-java`](https://github.com/github/copilot-sdk-java)| WIP| Maven coordinates<br>`com.github:copilot-sdk-java`<br>See instructions for [Maven](https://github.com/github/copilot-sdk-java?tab=readme-ov-file#maven) and [Gradle](https://github.com/github/copilot-sdk-java?tab=readme-ov-file#gradle)|
24
24
25
25
See the individual SDK READMEs for installation, usage examples, and API reference.
26
26
@@ -71,6 +71,7 @@ Yes, the GitHub Copilot SDK supports BYOK (Bring Your Own Key). You can configur
All models available via Copilot CLI are supported in the SDK. The SDK also exposes a method which will return the models available so they can be accessed at runtime.
107
107
108
108
### Is the SDK production-ready?
109
109
110
-
The GitHub Copilot SDK is currently in Technical Preview. While it is functional and can be used for development and testing, it may not yet be suitable for production use.
110
+
The GitHub Copilot SDK is currently in Public Preview. While it is functional and can be used for development and testing, it may not yet be suitable for production use.
111
111
112
112
### How do I report issues or request features?
113
113
@@ -128,11 +128,11 @@ Please use the [GitHub Issues](https://github.com/github/copilot-sdk/issues) pag
128
128
129
129
⚠️ Disclaimer: These are unofficial, community-driven SDKs and they are not supported by GitHub. Use at your own risk.
Copy file name to clipboardExpand all lines: dotnet/README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
SDK for programmatic control of GitHub Copilot CLI.
4
4
5
-
> **Note:** This SDK is in technical preview and may change in breaking ways.
5
+
> **Note:** This SDK is in public preview and may change in breaking ways.
6
6
7
7
## Installation
8
8
@@ -170,6 +170,7 @@ using var subscription = client.On(SessionLifecycleEventTypes.Foreground, evt =>
170
170
```
171
171
172
172
**Lifecycle Event Types:**
173
+
173
174
-`SessionLifecycleEventTypes.Created` - A new session was created
174
175
-`SessionLifecycleEventTypes.Deleted` - A session was deleted
175
176
-`SessionLifecycleEventTypes.Updated` - A session was updated
@@ -766,13 +767,13 @@ var session = await client.CreateSessionAsync(new SessionConfig
766
767
767
768
### Permission Result Kinds
768
769
769
-
| Value | Meaning |
770
-
|-------|---------|
771
-
|`PermissionRequestResultKind.Approved`| Allow the tool to run |
772
-
|`PermissionRequestResultKind.DeniedInteractivelyByUser`| User explicitly denied the request |
773
-
|`PermissionRequestResultKind.DeniedCouldNotRequestFromUser`| No approval rule matched and user could not be asked |
774
-
|`PermissionRequestResultKind.DeniedByRules`| Denied by a policy rule |
775
-
|`PermissionRequestResultKind.NoResult`| Leave the permission request unanswered (the SDK returns without calling the RPC). Not allowed for protocol v2 permission requests (will be rejected). |
|`PermissionRequestResultKind.Approved`| Allow the tool to run|
773
+
|`PermissionRequestResultKind.DeniedInteractivelyByUser`| User explicitly denied the request|
774
+
|`PermissionRequestResultKind.DeniedCouldNotRequestFromUser`| No approval rule matched and user could not be asked |
775
+
|`PermissionRequestResultKind.DeniedByRules`| Denied by a policy rule|
776
+
|`PermissionRequestResultKind.NoResult`| Leave the permission request unanswered (the SDK returns without calling the RPC). Not allowed for protocol v2 permission requests (will be rejected). |
> - When using a custom provider, the `Model` parameter is **required**. The SDK will return an error if no model is specified.
548
551
> - For Azure OpenAI endpoints (`*.openai.azure.com`), you **must** use `Type: "azure"`, not `Type: "openai"`.
549
552
> - The `BaseURL` should be just the host (e.g., `https://my-resource.openai.azure.com`). Do **not** include `/openai/v1` in the URL - the SDK handles path construction automatically.
0 commit comments