-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathgetting-started.html
More file actions
533 lines (480 loc) · 25.1 KB
/
Copy pathgetting-started.html
File metadata and controls
533 lines (480 loc) · 25.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from target/filtered-site/markdown/getting-started.md at 2026-04-26
| Rendered using Apache Maven Fluido Skin 2.1.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0" />
<title>GitHub Copilot SDK :: Java</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-2.1.0.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script src="./js/apache-maven-fluido-2.1.0.min.js"></script>
<style>.github-fork-ribbon:before { background-color: gray; }</style>
</head>
<body class="topBarEnabled">
<a class="github-fork-ribbon right-top" href="https://github.com/github/copilot-sdk-java" data-ribbon="Fork me on GitHub">Fork me on GitHub</a>
<header id="topbar" class="navbar navbar-fixed-top ">
<div class="navbar-inner">
<div class="container-fluid">
<a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html">GitHub Copilot SDK for Java
</a>
<ul class="nav">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Overview <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="index.html">Introduction</a></li>
<li><a>Getting Started</a></li>
<li><a href="setup.html">Setup</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="mcp.html">MCP Servers</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
<li><a href="advanced.html">Advanced Usage</a></li>
<li><a href="apidocs/index.html">API Javadoc</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Guides <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="documentation.html#Basic_Usage">Basic Usage</a></li>
<li><a href="documentation.html#Handling_Responses">Handling Responses</a></li>
<li><a href="documentation.html#Streaming_Responses">Streaming</a></li>
<li><a href="documentation.html#Choosing_a_Model">Choosing a Model</a></li>
<li><a href="documentation.html#Session_Management">Session Management</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Advanced <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="advanced.html#Custom_Tools">Custom Tools</a></li>
<li><a href="advanced.html#System_Messages">System Messages</a></li>
<li><a href="advanced.html#File_Attachments">File Attachments</a></li>
<li><a href="advanced.html#Bring_Your_Own_Key_.28BYOK.29">BYOK</a></li>
<li><a href="advanced.html#Infinite_Sessions">Infinite Sessions</a></li>
<li><a href="advanced.html#MCP_Servers">MCP Servers</a></li>
<li><a href="advanced.html#Slash_Commands">Slash Commands</a></li>
<li><a href="advanced.html#Elicitation_UI_Dialogs">Elicitation</a></li>
<li><a href="advanced.html#Getting_Session_Metadata_by_ID">Session Metadata</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Cookbook <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="cookbook/README.html">Overview</a></li>
<li><a href="cookbook/error-handling.html">Error Handling</a></li>
<li><a href="cookbook/multiple-sessions.html">Multiple Sessions</a></li>
<li><a href="cookbook/managing-local-files.html">Managing Local Files</a></li>
<li><a href="cookbook/pr-visualization.html">PR Visualization</a></li>
<li><a href="cookbook/persisting-sessions.html">Persisting Sessions</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a href="project-info.html">Project Information</a>
<ul class="dropdown-menu">
<li><a href="dependencies.html">Dependencies</a></li>
<li><a href="dependency-info.html">Maven Coordinates</a></li>
<li><a href="distribution-management.html">Distribution Management</a></li>
<li><a href="index.html">About</a></li>
<li><a href="licenses.html">Licenses</a></li>
<li><a href="plugin-management.html">Plugin Management</a></li>
<li><a href="plugins.html">Plugins</a></li>
<li><a href="scm.html">Source Code Management</a></li>
<li><a href="summary.html">Summary</a></li>
<li><a href="team.html">Team</a></li>
</ul>
</li>
<li class="dropdown-submenu">
<a href="project-reports.html">Project Reports</a>
<ul class="dropdown-menu">
<li><a href="apidocs/index.html">Javadoc</a></li>
<li><a href="surefire.html">Surefire</a></li>
<li><a href="spotbugs.html">SpotBugs</a></li>
<li><a href="taglist.html">Tag List</a></li>
<li><a href="dependency-analysis.html">Dependency Analysis</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</header>
<div class="container-fluid container-fluid-top">
<header>
<div id="banner">
<div class="pull-left"></div>
<div class="pull-right"></div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate">Last Published: 2026-04-26<span class="divider">|</span>
</li>
<li id="projectVersion">Version: 0.3.0-java.2<span class="divider">|</span></li>
<li><a href="index.html">Home</a><span class="divider">/</span></li>
<li class="active">GitHub Copilot SDK :: Java</li>
</ul>
</div>
</header>
<div class="row-fluid">
<header id="leftColumn" class="span2">
<nav class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Overview</li>
<li><a href="index.html">Introduction</a></li>
<li class="active"><a>Getting Started</a></li>
<li><a href="setup.html">Setup</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="mcp.html">MCP Servers</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
<li><a href="advanced.html">Advanced Usage</a></li>
<li><a href="apidocs/index.html">API Javadoc</a></li>
<li class="nav-header">Guides</li>
<li><a href="documentation.html#Basic_Usage">Basic Usage</a></li>
<li><a href="documentation.html#Handling_Responses">Handling Responses</a></li>
<li><a href="documentation.html#Streaming_Responses">Streaming</a></li>
<li><a href="documentation.html#Choosing_a_Model">Choosing a Model</a></li>
<li><a href="documentation.html#Session_Management">Session Management</a></li>
<li class="nav-header">Advanced</li>
<li><a href="advanced.html#Custom_Tools">Custom Tools</a></li>
<li><a href="advanced.html#System_Messages">System Messages</a></li>
<li><a href="advanced.html#File_Attachments">File Attachments</a></li>
<li><a href="advanced.html#Bring_Your_Own_Key_.28BYOK.29">BYOK</a></li>
<li><a href="advanced.html#Infinite_Sessions">Infinite Sessions</a></li>
<li><a href="advanced.html#MCP_Servers">MCP Servers</a></li>
<li><a href="advanced.html#Slash_Commands">Slash Commands</a></li>
<li><a href="advanced.html#Elicitation_UI_Dialogs">Elicitation</a></li>
<li><a href="advanced.html#Getting_Session_Metadata_by_ID">Session Metadata</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
<li class="nav-header">Cookbook</li>
<li><a href="cookbook/README.html">Overview</a></li>
<li><a href="cookbook/error-handling.html">Error Handling</a></li>
<li><a href="cookbook/multiple-sessions.html">Multiple Sessions</a></li>
<li><a href="cookbook/managing-local-files.html">Managing Local Files</a></li>
<li><a href="cookbook/pr-visualization.html">PR Visualization</a></li>
<li><a href="cookbook/persisting-sessions.html">Persisting Sessions</a></li>
<li class="nav-header">Project Documentation</li>
<li><a href="project-info.html"><span class="icon-chevron-right"></span>Project Information</a></li>
<li><a href="project-reports.html"><span class="icon-chevron-right"></span>Project Reports</a></li>
</ul>
</nav>
<div class="well sidebar-nav">
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<a href="https://maven.apache.org/" class="builtBy" target="_blank"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
</div>
</div>
</header>
<main id="bodyColumn" class="span10">
<p>!# Build Your First Copilot-Powered App</p>
<p>In this tutorial, you'll use the GitHub Copilot SDK for Java to build a command-line assistant. You'll start with the basics, add streaming responses, then add custom tools - giving Copilot the ability to call your code.</p>
<p><strong>What you'll build:</strong></p>
<pre><code class="nohighlight nocode">You: What's the weather like in Seattle?
Copilot: Let me check the weather for Seattle...
Currently 62°F and cloudy with a chance of rain.
Typical Seattle weather!
You: How about Tokyo?
Copilot: In Tokyo it's 75°F and sunny. Great day to be outside!
</code></pre><section><section><a id="Prerequisites"></a>
<h2>Prerequisites</h2>
<p>Before you begin, make sure you have:</p>
<ul>
<li><strong>Java 17+</strong> installed</li>
<li><strong>GitHub Copilot CLI</strong> installed and authenticated (<a href="https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli" class="externalLink">Installation guide</a>)</li>
</ul>
<p>Verify the CLI is working:</p>
<pre class="prettyprint"><code class="language-bash">copilot --version
</code></pre></section><section><a id="Step_1.3A_Install_the_SDK"></a>
<h2>Step 1: Install the SDK</h2>
<blockquote>
<p>If you want to test a <em>-SNAPSHOT</em> version, you may have to clone the project's repository and install the library locally with <em>mvn install</em>.</p>
</blockquote><section><a id="Apache_Maven"></a>
<h3>Apache Maven</h3>
<p>Add the dependency to your <code>pom.xml</code>:</p>
<pre class="prettyprint"><code class="language-xml"><dependency>
<groupId>com.github</groupId>
<artifactId>copilot-sdk-java</artifactId>
<version>0.3.0-java.2</version>
</dependency>
</code></pre></section><section><a id="Gradle"></a>
<h3>Gradle</h3>
<p>Add the dependency to your <code>build.gradle</code>:</p>
<pre class="prettyprint"><code class="language-groovy">implementation 'com.github:copilot-sdk-java:0.3.0-java.2'
</code></pre></section><section><a id="JBang_.28Quick_Start.29"></a>
<h3>JBang (Quick Start)</h3>
<p>For the fastest way to try the SDK without setting up a project, use <a href="https://www.jbang.dev/" class="externalLink">JBang</a>. Create a file named <code>HelloCopilot.java</code> with the following header, and then proceed to Step 2 by appending the proposed content into this same file.</p>
<pre class="prettyprint"><code class="language-bash">//DEPS com.github:copilot-sdk-java:0.3.0-java.2
</code></pre></section></section><section><a id="Step_2.3A_Send_Your_First_Message"></a>
<h2>Step 2: Send Your First Message</h2>
<p>Create a new file and add the following code. This is the simplest way to use the SDK.</p>
<pre class="prettyprint"><code class="language-java">import com.github.copilot.sdk.CopilotClient;
import com.github.copilot.sdk.json.MessageOptions;
import com.github.copilot.sdk.json.PermissionHandler;
import com.github.copilot.sdk.json.SessionConfig;
public class HelloCopilot {
public static void main(String[] args) throws Exception {
try (var client = new CopilotClient()) {
client.start().get();
var session = client.createSession(
new SessionConfig().setOnPermissionRequest(PermissionHandler.APPROVE_ALL).setModel("gpt-4.1")
).get();
var response = session.sendAndWait(
new MessageOptions().setPrompt("What is 2 + 2?")
).get();
System.out.println(response.getData().content());
}
}
}
</code></pre>
<p>Run the code with your preferred build tool or IDE.</p>
<p>Or run it directly with JBang:</p>
<pre class="prettyprint"><code class="language-bash">jbang HelloCopilot.java
</code></pre>
<p><strong>You should see:</strong></p>
<pre><code class="nohighlight nocode">2 + 2 = 4
</code></pre>
<p>Congratulations! You just built your first Copilot-powered app.</p></section><section><a id="Step_3.3A_Add_Streaming_Responses"></a>
<h2>Step 3: Add Streaming Responses</h2>
<p>Right now, you wait for the complete response before seeing anything. Let's make it interactive by streaming the response as it's generated.</p>
<pre class="prettyprint"><code class="language-java">import com.github.copilot.sdk.CopilotClient;
import com.github.copilot.sdk.generated.AssistantMessageDeltaEvent;
import com.github.copilot.sdk.generated.SessionIdleEvent;
import com.github.copilot.sdk.json.MessageOptions;
import com.github.copilot.sdk.json.PermissionHandler;
import com.github.copilot.sdk.json.SessionConfig;
import java.util.concurrent.CompletableFuture;
public class StreamingExample {
public static void main(String[] args) throws Exception {
try (var client = new CopilotClient()) {
client.start().get();
var session = client.createSession(
new SessionConfig().setOnPermissionRequest(PermissionHandler.APPROVE_ALL)
.setModel("gpt-4.1")
.setStreaming(true)
).get();
var done = new CompletableFuture<Void>();
// Listen for response chunks
session.on(AssistantMessageDeltaEvent.class, delta -> {
System.out.print(delta.getData().deltaContent());
});
session.on(SessionIdleEvent.class, idle -> {
System.out.println(); // New line when done
done.complete(null);
});
session.send(
new MessageOptions().setPrompt("Tell me a short joke")
).get();
done.get(); // Wait for completion
}
}
}
</code></pre>
<p>Run the code again. You'll see the response appear word by word.</p></section><section><a id="Step_4.3A_Add_a_Custom_Tool"></a>
<h2>Step 4: Add a Custom Tool</h2>
<p>Now for the powerful part. Let's give Copilot the ability to call your code by defining a custom tool. We'll create a simple weather lookup tool.</p>
<pre class="prettyprint"><code class="language-java">import com.github.copilot.sdk.CopilotClient;
import com.github.copilot.sdk.generated.AssistantMessageDeltaEvent;
import com.github.copilot.sdk.generated.SessionIdleEvent;
import com.github.copilot.sdk.json.MessageOptions;
import com.github.copilot.sdk.json.PermissionHandler;
import com.github.copilot.sdk.json.SessionConfig;
import com.github.copilot.sdk.json.ToolDefinition;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.CompletableFuture;
public class ToolExample {
public static void main(String[] args) throws Exception {
try (var client = new CopilotClient()) {
client.start().get();
// Define a tool that Copilot can call
var getWeather = ToolDefinition.create(
"get_weather",
"Get the current weather for a city",
Map.of(
"type", "object",
"properties", Map.of(
"city", Map.of(
"type", "string",
"description", "The city name"
)
),
"required", List.of("city")
),
invocation -> {
var params = invocation.getArguments();
var city = (String) params.get("city");
// In a real app, you'd call a weather API here
String[] conditions = {"sunny", "cloudy", "rainy", "partly cloudy"};
int temp = new Random().nextInt(30) + 50;
var condition = conditions[new Random().nextInt(conditions.length)];
return CompletableFuture.completedFuture(Map.of(
"city", city,
"temperature", temp + "°F",
"condition", condition
));
}
);
var session = client.createSession(
new SessionConfig().setOnPermissionRequest(PermissionHandler.APPROVE_ALL)
.setModel("gpt-4.1")
.setStreaming(true)
.setTools(List.of(getWeather))
).get();
var done = new CompletableFuture<Void>();
session.on(AssistantMessageDeltaEvent.class, delta -> {
System.out.print(delta.getData().deltaContent());
});
session.on(SessionIdleEvent.class, idle -> {
System.out.println();
done.complete(null);
});
session.send(
new MessageOptions().setPrompt("What's the weather like in Seattle and Tokyo?")
).get();
done.get();
}
}
}
</code></pre>
<p>Run it and you'll see Copilot call your tool to get weather data, then respond with the results!</p></section><section><a id="Step_5.3A_Build_an_Interactive_Assistant"></a>
<h2>Step 5: Build an Interactive Assistant</h2>
<p>Let's put it all together into a useful interactive assistant:</p>
<pre class="prettyprint"><code class="language-java">import com.github.copilot.sdk.CopilotClient;
import com.github.copilot.sdk.generated.AssistantMessageDeltaEvent;
import com.github.copilot.sdk.generated.SessionIdleEvent;
import com.github.copilot.sdk.json.MessageOptions;
import com.github.copilot.sdk.json.PermissionHandler;
import com.github.copilot.sdk.json.SessionConfig;
import com.github.copilot.sdk.json.ToolDefinition;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Scanner;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.atomic.AtomicReference;
public class WeatherAssistant {
public static void main(String[] args) throws Exception {
try (var client = new CopilotClient();
var scanner = new Scanner(System.in)) {
client.start().get();
var getWeather = ToolDefinition.create(
"get_weather",
"Get the current weather for a city",
Map.of(
"type", "object",
"properties", Map.of(
"city", Map.of(
"type", "string",
"description", "The city name"
)
),
"required", List.of("city")
),
invocation -> {
var params = invocation.getArguments();
var city = (String) params.get("city");
String[] conditions = {"sunny", "cloudy", "rainy", "partly cloudy"};
int temp = new Random().nextInt(30) + 50;
var condition = conditions[new Random().nextInt(conditions.length)];
return CompletableFuture.completedFuture(Map.of(
"city", city,
"temperature", temp + "°F",
"condition", condition
));
}
);
var session = client.createSession(
new SessionConfig().setOnPermissionRequest(PermissionHandler.APPROVE_ALL)
.setModel("gpt-4.1")
.setStreaming(true)
.setTools(List.of(getWeather))
).get();
System.out.println("🌤️ Weather Assistant (type 'exit' to quit)");
System.out.println(" Try: 'What's the weather in Paris?'\n");
var done = new AtomicReference<CompletableFuture<Void>>();
// Register listener once, outside the loop
session.on(AssistantMessageDeltaEvent.class, delta -> {
System.out.print(delta.getData().deltaContent());
});
session.on(SessionIdleEvent.class, idle -> {
System.out.println();
var f = done.get();
if (f != null) f.complete(null);
});
while (true) {
System.out.print("You: ");
String input = scanner.nextLine();
if ("exit".equalsIgnoreCase(input.trim())) {
break;
}
done.set(new CompletableFuture<>());
System.out.print("Assistant: ");
session.send(new MessageOptions().setPrompt(input)).get();
done.get().get();
}
}
}
}
</code></pre></section><section><a id="What.27s_Next.3F"></a>
<h2>What's Next?</h2>
<p>You've learned the core concepts of the Copilot SDK:</p>
<ul>
<li>✅ Creating a client and session</li>
<li>✅ Sending messages and receiving responses</li>
<li>✅ Streaming for real-time output</li>
<li>✅ Custom tools for extending Copilot's capabilities</li>
<li>✅ Building interactive applications</li>
</ul>
<p><strong>Explore more:</strong></p>
<ul>
<li><a href="documentation.html">Documentation</a> - Basic usage and session management</li>
<li><a href="advanced.html">Advanced Usage</a> - Tools, BYOK, infinite sessions, and more</li>
<li><a href="mcp.html">MCP Servers</a> - Connect to Model Context Protocol servers</li>
</ul></section><section><a id="Troubleshooting"></a>
<h2>Troubleshooting</h2><section><a id="a.E2.80.9CCopilot_CLI_not_found.E2.80.9D"></a>
<h3>“Copilot CLI not found”</h3>
<p>Make sure the GitHub Copilot CLI is installed and in your PATH:</p>
<pre class="prettyprint"><code class="language-bash">copilot --version
</code></pre>
<p>If not installed, follow the <a href="https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli" class="externalLink">GitHub Copilot CLI installation guide</a>.</p></section><section><a id="a.E2.80.9CAuthentication_failed.E2.80.9D"></a>
<h3>“Authentication failed”</h3>
<p>The CLI needs to be authenticated with your GitHub account:</p>
<pre class="prettyprint"><code class="language-bash">copilot auth login
</code></pre></section><section><a id="a.E2.80.9CConnection_timeout.E2.80.9D"></a>
<h3>“Connection timeout”</h3>
<p>Check your internet connection and firewall settings. The SDK communicates with GitHub's Copilot service.</p><hr /></section></section><section><a id="Next_Steps"></a>
<h2>Next Steps</h2>
<ul>
<li>📖 <strong><a href="documentation.html">Documentation</a></strong> - Core concepts, events, streaming, session management</li>
<li>📖 <strong><a href="advanced.html">Advanced Usage</a></strong> - Tools, BYOK, MCP Servers, System Messages, Custom Agents</li>
<li>📖 <strong><a href="hooks.html">Session Hooks</a></strong> - Intercept tool execution and session lifecycle events</li>
<li>📖 <strong><a href="setup.html">Setup & Deployment</a></strong> - OAuth, backend services, scaling</li>
<li>📖 <strong><a href="apidocs/index.html">API Javadoc</a></strong> - Complete API reference</li>
</ul></section></section> </main>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p>© 2026
</p>
</div>
</div>
</footer>
</body>
</html>