A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/enola-dev/LearningADK below:

enola-dev/LearningADK: Repo with examples for learning by example about Google's Agent Development Kit (ADK)

LearningADK

Repo with examples for learning by example about Google's Agent Development Kit (ADK).

Usages

Obviously replacing AI... with the secret obtained e.g. as described on https://docs.enola.dev/specs/aiuri/#google-ai:

Quickstart

This is the https://google.github.io/adk-docs/get-started/quickstart/#java.

Dev Web UI
cd quickstart; GOOGLE_API_KEY=AI... ./run-web.sh

Now open http://localhost:8080...

Quickstart CLI
cd quickstart; GOOGLE_API_KEY=AI... ./run-cli.sh

Now type a prompt on the console...

Simplest

This is most simplified version, without agents, just a prompt from a CLI argument

cd simplest; GOOGLE_API_KEY=AI... ./run.sh Who are you?
JitPack

This a variant of simplest which, instead of using a released ADK version from Maven Central, uses https://jitpack.io/#google/adk-java/ on https://jitpack.io to fetch an unreleased revision (check out its pom.xml for how):

cd jitpack; GOOGLE_API_KEY=AI... ./run-cli.sh Who are you?

or:

cd jitpack; GOOGLE_API_KEY=AI... ./run-web.sh

and open http://localhost:8080.

SNAPSHOT

This is a variant of quickstart which uses -SNAPSHOT ADK versions, which are not available on Maven Central, but can be locally ./mvnw clean install after git clone https://github.com/google/adk-java.

Ollama, via LangChain4j

This is a preview of ADK's potential LangChain4j support, see this blog post:

ollama pull gemma3:4b
cd LangChain4j; ./run-cli.sh "hi, who are you and what can you do?"
Related

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4