티스토리 수익 글 보기
Repository navigation
Folders and files
Repository files navigation
Repo with examples for learning by example about Google’s Agent Development Kit (ADK).
Obviously replacing AI… with the secret obtained e.g. as described on https://docs.enola.dev/specs/aiuri/#google-ai:
This is the https://google.github.io/adk-docs/get-started/quickstart/#java.
cd quickstart; GOOGLE_API_KEY=AI... ./run-web.sh
Now open http://localhost:8080…
cd quickstart; GOOGLE_API_KEY=AI... ./run-cli.sh
Now type a prompt on the console…
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?
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.
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.
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?"