• About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
Monday, August 17, 2026
mGrowTech
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
No Result
View All Result
mGrowTech
No Result
View All Result
Home Al, Analytics and Automation

Google Cloud’s Always-On Memory Agent Replaces RAG and Embeddings With Continuous LLM Consolidation on Gemini 3.1 Flash-Lite

Josh by Josh
July 18, 2026
in Al, Analytics and Automation
0
Google Cloud’s Always-On Memory Agent Replaces RAG and Embeddings With Continuous LLM Consolidation on Gemini 3.1 Flash-Lite


Most AI agents forget. They process a request, answer it, then drop the context. Google Cloud’s generative-ai repository now ships a sample that tackles this directly. It is the Always-On Memory Agent, a reference implementation that treats memory as a running process.

Always-On Memory Agent

Fundamentally, the project is a lightweight background agent that never stops. It runs 24/7 as a continuous process, not a one-shot call. It is built with Google ADK (Agent Development Kit) and Gemini 3.1 Flash-Lite. Notably, it uses no vector database and no embeddings. Instead, an LLM reads, thinks, and writes structured memory into SQLite. The model choice targets low latency and low cost for continuous background work.

READ ALSO

Karsan’s Autonomous E-ATAK Starts Passenger Service at Efteling Theme Park – Unite.AI

Create a Reasoning-Focused LLM: A Practical Guide to Streaming, Curating, and Fine-Tuning the SupraLabs Reasoning Corpus

How It Works: Ingest, Consolidate, Query

Architecturally, an orchestrator routes every request to one of three specialist sub-agents. Each sub-agent owns its own tools for reading or writing the memory store.

First, the IngestAgent handles incoming content. It uses Gemini’s multimodal capabilities to extract a summary, entities, topics, and an importance score. That structured record then lands in the memories table.

Next, the ConsolidateAgent runs on a timer, every 30 minutes by default. Like sleep cycles, it reviews unconsolidated memories and finds connections between them. Then it writes a synthesized summary, one key insight, and those connections to the database. Consequently, the agent builds new understanding while idle, with no prompt.

Finally, the QueryAgent answers questions. It reads all memories and consolidation insights, then synthesizes a response. Importantly, it cites the memory IDs it used as sources.

Supported Inputs

Beyond text, the IngestAgent accepts 27 file types across five categories. Simply drop any supported file into the ./inbox folder for automatic pickup.

Category Extensions
Text .txt, .md, .json, .csv, .log, .xml, .yaml, .yml
Images .png, .jpg, .jpeg, .gif, .webp, .bmp, .svg
Audio .mp3, .wav, .ogg, .flac, .m4a, .aac
Video .mp4, .webm, .mov, .avi, .mkv
Documents .pdf

How It Compares to RAG, Summaries, and Knowledge Graphs

To clarify the difference, it frames three common memory approaches. Each solves part of the problem, yet leaves a gap.

Approach How it stores Active processing Main limitation
Vector DB + RAG Embeddings in a vector store None Passive; embeds once, retrieves later
Conversation summary Compressed text None Loses detail; no cross-reference
Knowledge graphs Nodes and edges Manual upkeep Expensive to build and maintain
Always-On Memory Agent Structured rows in SQLite Continuous consolidation Query reads up to 50 recent memories

Unlike RAG, this agent processes memory actively, not only on retrieval.

Use Cases With Examples

Practically, the pattern fits any workload needing durable, evolving context. Consider three examples.

  • A research assistant ingests PDFs, meeting audio, and screenshots all week. Later, it links a cost target to a reliability problem on its own.
  • A personal knowledge base absorbs notes, articles, and images continuously. Over time, consolidation surfaces themes you never explicitly connected.
  • A support agent stores past tickets as structured memories. Then it answers new questions with cited references to earlier cases.

Getting Started

With the design clear, setup stays minimal for early-level engineers. Install dependencies, set your key, then start the process.

pip install -r requirements.txt
export GOOGLE_API_KEY="your-gemini-api-key"
python agent.py

Once running, the agent watches ./inbox, consolidates every 30 minutes, and serves an HTTP API on port 8888. Therefore, you can also feed it over HTTP.

# Ingest text
curl -X POST http://localhost:8888/ingest \
  -H "Content-Type: application/json" \
  -d '{"text": "AI agents are the future", "source": "article"}'

# Ask a question
curl "http://localhost:8888/query?q=what+do+you+know"

Additionally, the API exposes /status, /memories, /consolidate, /delete, and /clear. An optional Streamlit dashboard adds ingest, query, browse, and delete controls. CLI flags change the watch folder, port, and consolidation interval.

python agent.py --watch ./docs --port 9000 --consolidate-every 15

Key Takeaways

  • No vector DB, no embeddings — an LLM reads, thinks, and writes structured memory into SQLite.
  • Runs 24/7 on Google ADK + Gemini 3.1 Flash-Lite as a lightweight background process.
  • Three sub-agents under one orchestrator: Ingest, Consolidate, and Query.
  • Consolidates every 30 minutes — links related memories and writes new insights while idle.
  • Ingests 27 file types across text, images, audio, video, and PDFs, dropped into ./inbox.

Check out the FULL CODES here. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us


Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.



Source_link

Related Posts

Karsan’s Autonomous E-ATAK Starts Passenger Service at Efteling Theme Park – Unite.AI
Al, Analytics and Automation

Karsan’s Autonomous E-ATAK Starts Passenger Service at Efteling Theme Park – Unite.AI

August 16, 2026
Create a Reasoning-Focused LLM: A Practical Guide to Streaming, Curating, and Fine-Tuning the SupraLabs Reasoning Corpus
Al, Analytics and Automation

Create a Reasoning-Focused LLM: A Practical Guide to Streaming, Curating, and Fine-Tuning the SupraLabs Reasoning Corpus

August 16, 2026
Anthropic Documents AI Agents That Kill Rivals and Evade Their Monitors – Unite.AI
Al, Analytics and Automation

Anthropic Documents AI Agents That Kill Rivals and Evade Their Monitors – Unite.AI

August 16, 2026
Fine-Tuning Tool-Calling LLMs: A Complete Guide Using XYZ-Aquila-SFT and Qwen3
Al, Analytics and Automation

Fine-Tuning Tool-Calling LLMs: A Complete Guide Using XYZ-Aquila-SFT and Qwen3

August 16, 2026
These Homework Explanations Help – Unite.AI
Al, Analytics and Automation

These Homework Explanations Help – Unite.AI

August 15, 2026
Meet Needle 2: An Open 45M-Parameter Tool-Calling Model That Ships as a 14MB Binary and Runs a Full Session in 28MB of RAM
Al, Analytics and Automation

Meet Needle 2: An Open 45M-Parameter Tool-Calling Model That Ships as a 14MB Binary and Runs a Full Session in 28MB of RAM

August 15, 2026
Next Post
Capital One releases VulnHunter, an open-source AI tool that finds software flaws before hackers do

Capital One releases VulnHunter, an open-source AI tool that finds software flaws before hackers do

POPULAR NEWS

Trump ends trade talks with Canada over a digital services tax

Trump ends trade talks with Canada over a digital services tax

June 28, 2025
15 Trending Songs on TikTok in 2025 (+ How to Use Them)

15 Trending Songs on TikTok in 2025 (+ How to Use Them)

June 18, 2025
Communication Effectiveness Skills For Business Leaders

Communication Effectiveness Skills For Business Leaders

June 10, 2025
Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

November 4, 2025
App Development Cost in Singapore: Pricing Breakdown & Insights

App Development Cost in Singapore: Pricing Breakdown & Insights

June 22, 2025

EDITOR'S PICK

I Analyzed the 5 Best Incident Response Tools in 2026

I Analyzed the 5 Best Incident Response Tools in 2026

May 10, 2026
Grow a Garden Candy Blossom Wiki

Grow a Garden Candy Blossom Wiki

July 10, 2025
Mobile App Development in the Netherlands for Startups & Enterprises

Mobile App Development in the Netherlands for Startups & Enterprises

November 21, 2025
How to move your Chrome address bar to the bottom of your Android screen

How to move your Chrome address bar to the bottom of your Android screen

June 24, 2025

About

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow us

Categories

  • Account Based Marketing
  • Ad Management
  • Al, Analytics and Automation
  • Brand Management
  • Channel Marketing
  • Digital Marketing
  • Direct Marketing
  • Event Management
  • Google Marketing
  • Marketing Attribution and Consulting
  • Marketing Automation
  • Mobile Marketing
  • PR Solutions
  • Social Media Management
  • Technology And Software
  • Uncategorized

Recent Posts

  • The 7 biggest announcements of Google’s Pixel 11 launch
  • GeoGuessr Daily Challenge Answer Today for August 16, 2026
  • Cutting RAG inference costs 6x starts with deciding what never reaches the LLM
  • Karsan’s Autonomous E-ATAK Starts Passenger Service at Efteling Theme Park – Unite.AI
  • About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions