Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions packages/adk/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# ADK Provider for Vercel AI SDK

A Vercel AI SDK provider for [Google's Agent Development Kit (ADK)](https://developer.android.com/ai/adk), enabling on-device Gemini Nano and cloud Gemini in React Native applications on Android.
A Vercel AI SDK provider for [Google's Agent Development Kit (ADK)](https://developer.android.com/ai/adk), running Gemini Nano on device in React Native apps on Android.

**Requirements:**

- Android only, with `minSdkVersion` 26+ set in your app
- A device that supports Gemini Nano through AICore for on-device inference (see [ML Kit GenAI device support](https://developers.google.com/ml-kit/genai#feature-device))
- A Google AI API key for cloud Gemini
- A device that supports Gemini Nano through AICore (see [ML Kit GenAI device support](https://developers.google.com/ml-kit/genai#feature-device))
- Vercel AI SDK v7
- React Native New Architecture

Expand All @@ -25,16 +24,14 @@ const { text } = await generateText({
## Features

- βœ… On-device Gemini Nano through ML Kit GenAI, with model selection
- βœ… Cloud Gemini through ADK `LlmAgent`
- βœ… Availability, download progress and token counting for Gemini Nano
- βœ… Availability, download progress and token counting
- βœ… Streaming
- βœ… Tool calling, with the agent loop run natively by ADK
- βœ… Structured outputs
- βœ… Reasoning
- βœ… Image prompts
- βœ… Token usage
- βœ… Error codes

ADK's ML Kit model has no tool calling or structured output for Gemini Nano yet, so tools and JSON output return `unsupported` warnings.

## Documentation

For complete installation instructions and API documentation, visit our [documentation site](https://react-native-ai.com/docs/adk).
Expand Down
Loading