• bitcoinBitcoin(BTC)$78,073.000.49%
  • ethereumEthereum(ETH)$2,454.440.63%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$694.110.56%
  • rippleXRP(XRP)$1.390.67%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$105.021.06%
  • tronTRON(TRX)$0.340038-0.18%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-3.83%
  • HyperliquidHyperliquid(HYPE)$82.932.62%
  • zcashZcash(ZEC)$833.063.16%
  • dogecoinDogecoin(DOGE)$0.084981-0.03%
  • RainRain(RAIN)$0.017531-0.72%
  • USDSUSDS(USDS)$1.000.02%
  • leo-tokenLEO Token(LEO)$9.720.59%
  • moneroMonero(XMR)$472.940.75%
  • chainlinkChainlink(LINK)$11.390.16%
  • whitebitWhiteBIT Coin(WBT)$72.020.58%
  • cardanoCardano(ADA)$0.200851-0.39%
  • stellarStellar(XLM)$0.1796970.79%
  • bitcoin-cashBitcoin Cash(BCH)$245.41-0.68%
  • CantonCanton(CC)$0.1205608.68%
  • daiDai(DAI)$1.00-0.03%
  • USD1USD1(USD1)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • litecoinLitecoin(LTC)$48.90-0.15%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.35-0.54%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • hedera-hashgraphHedera(HBAR)$0.075233-0.59%
  • avalanche-2Avalanche(AVAX)$7.290.17%
  • uniswapUniswap(UNI)$4.8710.53%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.40%
  • suiSui(SUI)$0.740.02%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • crypto-com-chainCronos(CRO)$0.0571830.72%
  • tether-goldTether Gold(XAUT)$4,455.720.00%
  • MemeCoreMemeCore(M)$1.139.80%
  • nearNEAR Protocol(NEAR)$1.873.26%
  • okbOKB(OKB)$114.294.04%
  • Ripple USDRipple USD(RLUSD)$1.000.03%
  • BittensorBittensor(TAO)$234.69-0.30%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.03%
  • Pump.funPump.fun(PUMP)$0.0049647.66%
  • aaveAave(AAVE)$125.723.68%
  • pax-goldPAX Gold(PAXG)$4,463.050.08%
  • AsterAster(ASTER)$0.701.25%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.057478-0.80%
  • OndoOndo(ONDO)$0.350543-0.21%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

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

July 18, 2026
in AI & Technology
Reading Time: 15 mins read
A A
Google Cloud’s Always-On Memory Agent Replaces RAG and Embeddings With Continuous LLM Consolidation on Gemini 3.1 Flash-Lite
ShareShareShareShareShare

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.

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.

YOU MAY ALSO LIKE

Meet ‘Code-as-World’: An Agentic Loop That Rewrites Real Videos Into Executable MuJoCo Physics Programs

Android Auto Not Working? Here’s What To Check First

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.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Meet ‘Code-as-World’: An Agentic Loop That Rewrites Real Videos Into Executable MuJoCo Physics Programs
AI & Technology

Meet ‘Code-as-World’: An Agentic Loop That Rewrites Real Videos Into Executable MuJoCo Physics Programs

August 30, 2026
Android Auto Not Working? Here’s What To Check First
AI & Technology

Android Auto Not Working? Here’s What To Check First

August 29, 2026
How To Save Money On Your Phone Bill With An MVNO
AI & Technology

How To Save Money On Your Phone Bill With An MVNO

August 29, 2026
The Wildest Video Game Budgets Can’t Hold A Candle To GTA 6
AI & Technology

The Wildest Video Game Budgets Can’t Hold A Candle To GTA 6

August 29, 2026
Next Post
Heavenly Spices garlic powder recalled over possible microbial contamination

Heavenly Spices garlic powder recalled over possible microbial contamination

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Divided Democrats face critical Michigan Senate primary

Divided Democrats face critical Michigan Senate primary

August 29, 2026
Stay Tuned NOW Streaming Behind The Scenes! – Aug 10

Stay Tuned NOW Streaming Behind The Scenes! – Aug 10

August 26, 2026
Lindsay Clancy breaks down in court during graphic testimony on her children’s autopsies

Lindsay Clancy breaks down in court during graphic testimony on her children’s autopsies

August 24, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!