We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ec7bc commit 1d40e3aCopy full SHA for 1d40e3a
tutorials/jbang/AI.java
@@ -0,0 +1,11 @@
1
+//JAVA 17+
2
+//PREVIEW
3
+//REPOS enola=https://docs.enola.dev/maven-repo/,mavencentral,jitpack
4
+//DEPS com.google.adk:google-adk-dev:0.2.1-SNAPSHOT
5
+
6
+import com.google.adk.agents.LlmAgent;
7
+import com.google.adk.web.AdkWebServer;
8
9
+void main() {
10
+ AdkWebServer.start(LlmAgent.builder().name("AI").model("gemini-2.0-flash").instruction("Be very grumpy!").build());
11
+}
tutorials/jbang/README.md
@@ -0,0 +1,5 @@
+# JBang! 💥 🤯
+Want to use ADK, but don't care about Maven? Then this is for you!
+[Just install JBang](https://www.jbang.dev/documentation/jbang/latest/installation.html), and then run `jbang AI.java`...
0 commit comments