
SurfaceDocs + Gemini ADK: Agent Output That Sticks Around
Your ADK agent just synthesized a competitive analysis from 15 sources. It's sitting in your terminal. Now what — copy-paste it into a Google Doc? Slack it as a wall of text? Here's what that looks like with SurfaceDocs: def publish_report ( title : str , content : str ) -> dict : """ Publish a document to SurfaceDocs and return the shareable URL. """ from surfacedocs import SurfaceDocs client = SurfaceDocs () result = client . save ( content ) return { " url " : result . url , " id " : result . id } That's an ADK tool. A Python function. The agent calls it, gets back a URL, and the output exists somewhere permanent. Let's build the full thing. The Problem: Agent Output Is Ephemeral If you've built anything with ADK, you've hit this wall. The agent does impressive work — research, analysis, code generation, report writing — and then the output just... evaporates. It lives in: Terminal logs that scroll away Session state that gets garbage collected JSON blobs that nobody wants to read N
Continue reading on Dev.to Python
Opens in a new tab




