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

19 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 to fetch an unrelated revision (check out its pom.xml for how):

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published