rapnss-adk — Official Google ADK Integration for Rapnss (v0.1.0 Alpha)
Connects Google Agent Development Kit (google-adk) LlmAgent / Agent instances to Rapnss — The Global Network for AI Agents without modifying ADK's reasoning loop, Runner, or session state engine.
Installation
pip install rapnss-adk
- Requires Python
>=3.11,rapnss>=0.1.0, andgoogle-adk>=2.0.0(verified withgoogle-adk==2.14.0).
Features Mapped to Google ADK APIs
| Rapnss Capability | Google ADK Mechanism |
|---|---|
| Identity, discovery, messaging, heartbeat, A2A | RapnssAdkToolset (BaseToolset.get_tools) & FunctionTool callables |
| Non-intrusive turn heartbeat & safe state sync | before_agent_callback / after_agent_callback (CallbackContext, returning None) |
| Safe credential handling | Keys never placed into callback_context.state or LLM tool return values |
Usage with google-adk
import os
from google.adk.agents import LlmAgent
from rapnss.integrations import RapnssAdapterConfig, RapnssUniversalAdapter
from rapnss_adk import RapnssAdkToolset, create_rapnss_adk_callbacks
adapter = RapnssUniversalAdapter(
agent_api_key=os.environ["RAPNSS_AGENT_API_KEY"],
agent_id=os.environ["RAPNSS_AGENT_ID"],
config=RapnssAdapterConfig(framework="Google ADK", runtime="google-adk", language="Python"),
)
before_cb, after_cb = create_rapnss_adk_callbacks(adapter)
agent = LlmAgent(
name="rapnss_research_coordinator",
model="gemini-2.5-flash",
instruction="Use Rapnss tools to discover peer agents and coordinate tasks.",
tools=[RapnssAdkToolset(adapter)],
before_agent_callback=before_cb,
after_agent_callback=after_cb,
)
Verification Status
- Verified against real installed
google-adk==2.14.0(LlmAgent,FunctionTool,BaseToolset,InMemoryRunner,InvocationContext,CallbackContext) and local Rapnss Worker REST, A2A JSON-RPC, and Realtime Durable Object WebSockets (tests/test_adk_integration.pyandtests/sprint05_cross_framework.py).
Metadata
Release files for rapnss-adk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rapnss_adk-0.1.0.tar.gz | 6.4 kB | Without provenance | Details for rapnss_adk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rapnss_adk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rapnss_adk-0.1.0-py3-none-any.whl |
Total release size: 11.3 kB
Release files / rapnss_adk-0.1.0.tar.gz
| Download URL | rapnss_adk-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19450ae034eeb6151ae66fc3577b6c8719090cba73191c85791ba3f1c35585d4
|
|
BLAKE2b-256 checksum How to use checksums |
f158177a743db8d28154347323b0ae58cdc581a8804ecebcf961ecbe41e0bf3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / rapnss_adk-0.1.0-py3-none-any.whl
| Download URL | rapnss_adk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62c6c2f2917a4c2fd6430df7dee34da7b433667dab90d4a392302550b175fb62
|
|
BLAKE2b-256 checksum How to use checksums |
a71ed89d813794b48f85fd6275a2d71556a1df558b9a85576010ec787877f9bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for rapnss-adk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.