Skip to content

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

License

Notifications You must be signed in to change notification settings

enola-dev/LearningADK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published