AITrailblazer AI Agent Publishing
Copy-ready Devpost submission pack for the Google Cloud Rapid Agent Hackathon.
AITrailblazer AI Agent Publishing
Turn publication archives into Gemini-powered Trip Code, River, Mongo DB, and MCP agent memory.
AITrailblazer AI Agent Publishing turns a static expert publication archive into an agent-readable memory system.
Most expert publishers have years of valuable articles, research notes, newsletters, and analysis, but those archives are usually trapped in static search. Readers can find a page, but they cannot reliably recover the article's claims, see what updated them later, follow the evidence trail, or continue a grounded conversation across sessions.
AITrailblazer solves this by converting publication content into structured memory objects: articles, Trip Codes, claims, River edges, reader sessions, and agent run records. A reader can enter a known Trip Code, such as HUT-RIVER-001, and the agent resolves the relevant article cluster through Mongo DB, retrieves connected River memory through MCP, and uses Gemini to synthesize a source-grounded answer.
The demo uses a small seeded archive as proof: three River-connected articles, claim nodes, update edges, session memory, and runtime proof records. The product is broader than the demo archive: it is a reusable pattern for publishers, analysts, research teams, and media organizations that want their archives to become living agent memory instead of passive content libraries.
The core user flow is:
1. A reader enters a known Trip Code from an article or research note.
2. The agent resolves the Trip Code to article records, claims, and River edges in Mongo DB.
3. Mongo DB MCP exposes the database-grounded context to the agent.
4. Gemini synthesizes an answer grounded in the retrieved archive memory.
5. The reader asks a follow-up, and the agent continues using saved session memory.
AITrailblazer proves that publication archives can become interactive, persistent, tool-using agent systems.
AITrailblazer is a functional agent system built with Gemini, Google Cloud Agent Builder, Cloud Run, Mongo DB, and the official Mongo DB MCP server.
Runtime architecture:
The hosted runtime is a Cloud Run HTTP service with judge-facing endpoints:
GET /health
GET /resolve
GET /v1/judge-demo
POST /v1/archive-brief
POST /v1/tripcode
GET /v1/usage
The judge demo path is designed to be easy to verify from either a browser or curl. It exposes the Trip Code resolution flow, source context, River memory, Gemini answer, next actions, and runtime proof panel.
Google Cloud + Gemini:
Gemini is used as the synthesis layer. After the agent retrieves the relevant publisher memory, Gemini generates a grounded answer from the resolved article records, claims, River edges, and reader-session context.
Google Cloud Agent Builder provides the orchestration/search lane over the seeded River documents, while Cloud Run hosts the public web and API runtime.
Mongo DB memory model:
Mongo DB is the persistent memory layer for the agent. The demo uses these collections:
articles: canonical article records with title, date, summary, source label, Trip Code, and key claims.
tripcodes: stable reader-facing handles that map a known code to article and River memory.
claims: source-grounded claims extracted from article memory.
river_edges: links between articles, including updates, continuations, contradictions, and theme relationships.
reader_sessions: questions, resolved objects, and follow-up context.
agent_runs: tool calls, timestamps, runtime proof, and output summaries.
This lets the agent go beyond answering from a single document. It can reason across a structured archive, preserve continuity, and continue from prior resolved context.
Mongo DB MCP integration:
AITrailblazer integrates the official Mongo DB MCP server as the partner MCP path. The runtime uses MCP to expose database-grounded context to the agent and demonstrate partner usage directly in the judge proof.
The runtime supports:
Official Mongo DB MCP server via mongodb-mcp-server@latest.
HTTP transport.
Read-only JSON mode.
Externally managed sessions.
MCP-compatible request headers, including Accept: application/json, text/event-stream.
A judge-visible proof panel showing MCP/database usage.
Runtime modes:
Embedded mode runs Mongo DB inside the Cloud Run container, seeds the judge-demo records, runs official Mongo DB MCP, and provides stable deadline-safe proof.
Atlas mode uses MDB_MCP_CONNECTION_STRING from Secret Manager, rejects localhost strings, skips embedded Mongo DB, and connects the official MCP server to Atlas.
This gives the project both a reliable competition demo path and a production-ready Atlas deployment path.
AITrailblazer targets a real problem for publishers, analysts, educators, financial researchers, and expert creators: archives lose value when they are only searchable pages.
A traditional archive can answer: "Where is the article?" AITrailblazer answers: "What did this article claim, what updated it, what evidence supports it, and what should I read or monitor next?"
The impact is strongest for communities with long-running knowledge bases:
Independent publishers with years of articles.
Research teams with evolving theses.
Analysts tracking updates across time.
Newsletters that want reusable reader memory.
Educational archives where concepts build across lessons.
Financial or technical publishers where evidence trails matter.
The project turns archives into structured, agent-accessible memory. That makes expert content more reusable, more interactive, and more durable.
Instead of forcing readers to restart every search from zero, AITrailblazer gives them continuity: Trip Codes, River links, claim memory, and session-aware follow-up.
Technological implementation:
AITrailblazer demonstrates a full multi-service agent architecture: Gemini synthesis through Vertex AI / Google Cloud runtime, Google Cloud Agent Builder orchestration/search lane, Cloud Run public deployment, Mongo DB persistent memory model, official Mongo DB MCP server integration, judge-visible runtime proof through /v1/judge-demo, Secret Manager-ready Atlas mode, and embedded mode for reliable demo verification.
The implementation is not just a chatbot. It plans a retrieval path, uses structured database memory, calls partner MCP infrastructure, synthesizes from retrieved context, and preserves follow-up session state.
Design:
The user experience is intentionally simple: enter a Trip Code, see the resolved article context, review the River memory and connected claims, read the Gemini-generated answer, then ask a follow-up without starting over.
The design makes the agent's work visible. Judges can see the input, retrieval path, source context, River memory, answer, next actions, and runtime proof rather than guessing whether the partner integration happened.
Potential impact:
The project has broad applicability because many organizations already have valuable archives but lack a way to turn them into agent memory.
AITrailblazer can support publishers, research groups, analysts, education platforms, and expert communities that need persistent, source-grounded, update-aware knowledge systems.
Quality of the idea:
The core idea is that expert archives should not remain static content stores. They should become memory substrates for agents.
The Trip Code + River model is the unique layer: Trip Codes give readers stable handles into archive memory, River edges preserve how ideas update or continue over time, Mongo DB stores the operational memory graph, MCP exposes that memory to the agent, and Gemini converts retrieved memory into usable synthesis.
Built With Tags
Gemini
Google Cloud
Google Cloud Agent Builder
Cloud Run
Vertex AI
Mongo DB
Mongo DB Atlas
Mongo DB MCP Server
Model Context Protocol
Go
HTML
JavaScript
Submission Links
Project URL: https://aitrailblazer-ai-agent-publishing-rmycwek6ba-uc.a.run.app
Repository URL: https://github.com/aitrailblazer/aitrailblazer-ai-agent-publishing
Demo Video URL: Add final under-3-minute demo video link before submission.
Selected Track: Mongo DB
License: MIT
- Hosted root returns HTTP 200.
/healthreturns HTTP 200./v1/judge-demoreturns live proof.- Root page links public GitHub repo.
- Root page links Start Here, Video Slides, consolidated public docs, and this submission pack.
- README has Judge Quickstart.
- MIT license is visible at repo root.
- Devpost includes hosted URL, public repo URL, and video under three minutes.
- Devpost track is Mongo DB.
- Public docs contain no secrets, cookies, account metadata, or private evidence.
This submission is AITrailblazer AI Agent Publishing: a publisher-memory agent that proves Trip Code resolution, River memory, Mongo DB MCP retrieval, Gemini synthesis, and second-turn reader-session memory.
Delta Signal is used only as seeded proof/source inspiration for the archive-memory demo. This Devpost submission does not claim to be a live SEC/XBRL market-data product, a paid-access route, an investment recommendation system, or a trading-signal workflow.