Skip to content

Commit 534eccf

Browse files
Update SDK README for ADK Integration
1 parent a61e834 commit 534eccf

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,49 @@ for tool_call in response.tool_calls:
196196

197197
</details>
198198

199+
<details>
200+
<summary>Google ADK Integration</summary>
201+
202+
StackOne is a [first-party integration in Google's Agent Development Kit](https://adk.dev/integrations/stackone/), shipped as the `stackone-adk` plugin and compatible with [ADK 2.0](https://adk.dev/2.0/). The plugin implements ADK's `BasePlugin` interface and provides tool discovery, account auto-discovery, and lifecycle hooks.
203+
204+
```bash
205+
uv add stackone-adk
206+
```
207+
208+
```python
209+
import asyncio
210+
211+
from google.adk.agents import Agent
212+
from google.adk.apps import App
213+
from google.adk.runners import InMemoryRunner
214+
from stackone_adk import StackOnePlugin
215+
216+
217+
async def main():
218+
plugin = StackOnePlugin()
219+
# Or scope to a specific account:
220+
# plugin = StackOnePlugin(account_id="YOUR_ACCOUNT_ID")
221+
222+
agent = Agent(
223+
model="gemini-flash-latest",
224+
name="stackone_agent",
225+
instruction="You are a helpful assistant powered by StackOne.",
226+
tools=plugin.get_tools(),
227+
)
228+
229+
app = App(name="stackone_app", root_agent=agent, plugins=[plugin])
230+
231+
async with InMemoryRunner(app=app) as runner:
232+
await runner.run_debug("List the first 3 workers.", quiet=True)
233+
234+
235+
asyncio.run(main())
236+
```
237+
238+
For configuration details and the `search_and_execute` mode, see the [stackone-adk repository](https://github.com/StackOneHQ/stackone-adk-plugin).
239+
240+
</details>
241+
199242
<details>
200243
<summary>Pydantic AI Integration</summary>
201244

0 commit comments

Comments
 (0)