# Using the GitHub Copilot SDK for Java

DevFeed: [Using the GitHub Copilot SDK for Java](<https://devfeed.tech/articles/using-the-github-copilot-sdk-for-java-19854.md>)

Original publisher: [Read original article](<https://github.blog/engineering/using-the-github-copilot-sdk-for-java/>)

Author: Edward Burns

Published: 2026-08-10T19:30:00Z

Content type: tutorial

Language: en

Sources: [GitHub](<https://devfeed.tech/sources/github.md>)

Topics: [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [Java](<https://devfeed.tech/topics/java.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Jakarta EE](<https://devfeed.tech/topics/jakarta-ee.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Spring AI](<https://devfeed.tech/topics/spring-ai.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-ml](<https://devfeed.tech/tags/ai-ml.md>), [cli](<https://devfeed.tech/tags/cli.md>), [client-library](<https://devfeed.tech/tags/client-library.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [framework](<https://devfeed.tech/tags/framework.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [github-copilot-sdk](<https://devfeed.tech/tags/github-copilot-sdk.md>), [jakarta-ee](<https://devfeed.tech/tags/jakarta-ee.md>), [java](<https://devfeed.tech/tags/java.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

## AI overview

This tutorial introduces the GitHub Copilot SDK for Java, a framework-agnostic client library for creating Copilot agent sessions, registering tools, sending prompts, and receiving structured responses. It demonstrates the SDK in a Jakarta EE 11 real-estate lead-management application and describes prerequisites including JDK, Maven, a GitHub Copilot subscription, and the Copilot CLI.

## Source excerpt

Enterprise Java developers have a new superpower--drive GitHub Copilot from idiomatic Java code with annotations, virtual threads, and more. The post Using the GitHub Copilot SDK for Java appeared first on The GitHub Blog.