Google ADK Integration (Draft)¶
SHADI exposes a Python extension module for secret access, SQLCipher memory, and sandbox execution so ADK agents can run without handling OS keychains directly.
Recommended example app¶
The agentic-apps tourist scheduling system includes ADK agents and a SLIM configuration already. The Tourist and Guide agents are good candidates for first integration with SHADI.
Suggested flow¶
- Create a
PySessionContextfor the agent. - Configure
ShadiStore.set_verifier()with a DID/VC verification callback. - Call
ShadiStore.verify_session()with the DID/VC presentation. - Use
ShadiStoreto fetch secrets during tool execution. - Use
SqlCipherMemoryStorefor encrypted local memory when needed. - Run under the sandbox using
run_sandboxedor the JSON policy runner.
Key provisioning¶
Use shadictl to ingest OpenPGP keys and derive agent DIDs without invoking OS gpg:
cargo run -p shadictl -- \
put-key --key human/gpg --in /path/to/human-secret.asc
cargo run -p shadictl -- \
derive-agent-did --secret human/gpg --name agent-a --prefix agents