惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
WordPress大学
WordPress大学
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
Secure Thoughts
博客园 - 【当耐特】
Know Your Adversary
Know Your Adversary
NISL@THU
NISL@THU
博客园 - 司徒正美
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
P
Privacy & Cybersecurity Law Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
B
Blog
The GitHub Blog
The GitHub Blog
小众软件
小众软件
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Spread Privacy
Spread Privacy
Martin Fowler
Martin Fowler
博客园 - 叶小钗
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Tenable Blog
S
Securelist
博客园 - 三生石上(FineUI控件)
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Microsoft Security Blog
Microsoft Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
T
Threat Research - Cisco Blogs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
F
Full Disclosure
Cloudbric
Cloudbric
The Cloudflare Blog
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Hacker News: Front Page
腾讯CDC
L
Lohrmann on Cybersecurity
C
CERT Recently Published Vulnerability Notes
V2EX - 技术
V2EX - 技术
GbyAI
GbyAI
TaoSecurity Blog
TaoSecurity Blog
I
Intezer
The Last Watchdog
The Last Watchdog
G
GRAHAM CLULEY
Google Online Security Blog
Google Online Security Blog
T
The Blog of Author Tim Ferriss

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
Stash — Your AI has amnesia. We fixed it.
alash3al · 2026-04-25 · via Hacker News - Newest: "AI"

Open Source · MCP Native · PostgreSQL + pgvector

Stash makes your AI remember you. Every session. Forever. No more explaining yourself from scratch.

28

MCP tools

6

Pipeline stages

Agents supported

Sound familiar?

😫 Without Stash

Hey, I'm building a SaaS for restaurants. Can you help?

Of course! Tell me about your project.

We talked about this last week... I already explained everything.

I'm sorry, I don't have access to previous conversations.

...again?

🔁 You just wasted 10 minutes re-explaining yourself. Again.

VS

😌 With Stash

Hey, continuing work on my project.

Welcome back! Last time we finalized the pricing model for your restaurant SaaS. You were about to work on the onboarding flow. Want to pick up there?

Yes! Exactly that.

Great. You also mentioned you wanted to avoid Stripe's complexity — I have that noted. Here's where we left off...

✓ Picked up instantly. Zero repetition. Full context.

New session

❌ "Who are you again?"

✓ Picks up where you left off

Your preferences

❌ Re-explain every time

✓ Already knows them

Past mistakes

❌ Repeats the same errors

✓ Remembers what didn't work

Long projects

❌ Loses track of goals

✓ Tracks goals across weeks

Token cost

❌ Grows every session

✓ Only recalls what matters

Switching models

❌ Start from zero again

✓ Memory is model-agnostic

What is Stash

Not just memory.
A second brain.

Stash is a persistent cognitive layer that sits between your AI agent and the world. It doesn't replace your model — it makes your model continuous. Episodes become facts. Facts become patterns. Patterns become wisdom.

"Your AI is the brain. Stash is the life experience."

your agent

Claude, GPT, local model, anything

episodes

Raw observations, append-only

facts

Synthesized beliefs with confidence

relationships

Entity knowledge graph

patterns

Higher-order abstractions

goals · failures · hypotheses

Intent, learning, uncertainty

postgres + pgvector

Battle-tested infrastructure

Stash vs RAG

RAG gives your AI
a search engine.
Stash gives it a life.

You've probably heard of RAG — Retrieval Augmented Generation. It's clever. But it's not memory. Here's the difference, in plain English.

📚 RAG

"A very fast librarian"

You give it a pile of documents. When you ask a question, it searches those documents and hands you the relevant pages. That's it. It doesn't remember your conversation. It doesn't learn. It doesn't know you. Every question starts from scratch — it's just a smarter search engine over files you already wrote.

  • Only knows what's in your documents
  • Cannot learn from conversations
  • Cannot track goals or intentions
  • Cannot reason about cause and effect
  • Cannot notice contradictions over time
  • Stateless — no continuity whatsoever
  • You must write the knowledge first

VS

🧠 Stash

"A mind that grows"

Stash learns from everything your agent experiences — conversations, decisions, successes, failures. It synthesizes raw observations into facts, connects facts into a knowledge graph, detects contradictions, tracks goals, and builds an understanding of you that deepens over time. You don't write anything. It figures it out.

  • Learns from every conversation automatically
  • Builds a knowledge graph over time
  • Tracks your goals across weeks and months
  • Reasons about cause and effect
  • Self-corrects when beliefs contradict
  • Continuous — picks up exactly where you left off
  • Creates knowledge — you don't have to

📚

RAG is like...

A brilliant intern who reads your files perfectly — but forgets everything the moment they leave the room.

🧠

Stash is like...

A colleague who was there from day one, remembers every decision you ever made, and gets more valuable every single week.

Can you use both? Yes — RAG is great for searching documents. Stash is for remembering experience. They solve different problems. Stash just goes much, much further.

Why Stash is Different

Everyone gave AI
a notepad.
We gave it a mind.

Claude.ai has memory. ChatGPT has memory. They only work for themselves — locked to one platform, one model, one company. Stash works for everyone, everywhere, forever. And it goes far deeper than any of them.

Remembers you

Works with any AI model

Works with local / private models

You own your data

Open source

Background consolidation

Goals & intent tracking

Learns from failures

Causal reasoning

Agent self-model

What it gives your AI

A notepad

A notepad

A mind

The Problem

🧠

Brilliant brain, no experience

AI models reason brilliantly but remember nothing. Every session you re-explain who you are, what you need, and what you've already tried. You're training the same student every single day.

💸

Context windows are expensive

The workaround is stuffing full conversation history into every prompt. It's slow, expensive, and you still hit the limit. You're paying for tokens that repeat the same facts over and over.

🔄

Agents repeat their mistakes

Your agent tried something, it failed, and next session it tries the exact same thing again. There's no mechanism to carry lessons forward. Every failure is forgotten.

🔒

Memory is a platform privilege

Only a handful of AI platforms offer memory — and only for their own models. Your custom agent, your local LLM, your Cursor setup? They all start blind. Memory shouldn't be a premium feature.

Express Setup

Up and running
in 3 commands.

No infrastructure to set up. No dependencies to install manually. Docker Compose handles everything — Postgres, pgvector, Stash, all wired together and ready.

1

Clone the repo

2

Copy .env.example.env and set your API key + model preferences

3

Run docker compose up — that's it. Stash is live.

terminal

$ git clone https://github.com/alash3al/stash

$ cd stash

$ cp .env.example .env

   # edit .env with your API key,

   # models and STASH_VECTOR_DIM

$ docker compose up

✓ postgres + pgvector ready

✓ stash migrations applied

✓ mcp server listening

✓ consolidation running in background

$

⚠️ Set STASH_VECTOR_DIM in your .env before first run. It cannot be changed after initialization.

01

📝

Episodes

Raw observations stored as they happen

02

💡

Facts

Clustered episodes synthesized by LLM

03

🕸️

Relationships

Entity edges extracted from facts

04

🔗

Causal Links

Cause-effect pairs between facts

05

🌀

Patterns

Abstract higher-order insights

06

⚖️

Contradictions

Self-correction and confidence decay

NEW

07

🎯

Goal Inference

Facts automatically tracked against active goals. Progress detected, contradictions surfaced.

NEW

08

💥

Failure Patterns

Detect repeated mistakes. Extract failure patterns as new facts. The agent stops repeating itself.

NEW

09

🔬

Hypothesis Scan

New evidence passively confirms or rejects open hypotheses. No manual intervention needed.

MCP Integration

Two commands.
Any agent.

Stash speaks MCP natively. Drop it into Claude Desktop, Cursor, or any MCP-compatible agent in under 5 minutes. No SDK. No vendor lock-in. Your agent remembers you everywhere.

28 tools covering the full cognitive stack — from raw remember and recall all the way to causal chains, contradiction resolution, and hypothesis management.

Claude Desktop Cursor OpenCode Custom Agents Local LLMs Any MCP Client

stash · mcp stdio

$ ./stash mcp execute --with-consolidation

$ ./stash mcp serve --port 8080 --with-consolidation

remember · recall · forget · init

goals · failures · hypotheses

consolidate · query_facts · relationships

causal links · contradictions

namespaces · context · self-model

$

Agent Self-Model

Your agent can
know itself.

Call init and Stash creates a /self namespace scaffold. The agent uses its own memory layer to build and maintain a model of its own capabilities, limits, and preferences.

/self/capabilities

What I can do well

The agent remembers where it excels and recalls these when planning how to approach a task.

/self/limits

What I struggle with

Recorded failures and known weaknesses. The anti-repeat mechanism. Never make the same mistake twice.

/self/preferences

How I work best

Learned preferences for how to operate. The agent develops a working style over time, not just facts.

Autonomous Loop

An agent that
never stops learning.

Give your agent a 5-minute research loop. It orients from past memory, researches a topic it chooses itself, invents new connections, consolidates what it learned, and closes gracefully — ready to pick up next time.

Run it as a cron job. Every 5 minutes, your agent gets smarter.

→ See the loop prompt

01

Orient

Recall context, active goals, open hypotheses, past failures

02

Research

Search the web on a topic the agent chooses itself

03

Think

Surface tensions, gaps, contradictions in what it now knows

04

Invent

Generate something new — a hypothesis, pattern, or discovery

05

Consolidate

Run the pipeline. Synthesize raw episodes into structured knowledge

06

Reflect + Sleep

Write a session summary. Set context for next run. Stop.

Stash itself runs on OpenRouter. The author runs Stash locally pointed at OpenRouter — access to hundreds of models, one API key, zero infrastructure.

☁️

Cloud APIs

OpenRouter gives you access to hundreds of models — GPT, Claude, Gemini, Mistral — all behind one OpenAI-compatible endpoint. Point Stash at it and pick any model for embedding and reasoning.

🏠

Local Models

Running Ollama locally? Stash works out of the box. Use Qwen, Llama, Mistral, or any model you've pulled — your memory stays fully private, fully offline.

🔧

Self-Hosted

vLLM, LM Studio, llama.cpp server, Together AI, Groq — if it speaks the OpenAI API format, Stash speaks it back. Same provider serves both models.

⚠️

Set STASH_VECTOR_DIM before your first run and never change it. pgvector locks the embedding dimension at initialization — changing it later requires a full database reset. The default embedding model is openai/text-embedding-3-small with STASH_VECTOR_DIM=1536.

.env — same provider for embedding + reasoning

STASH_OPENAI_BASE_URL=https://openrouter.ai/api/v1

STASH_OPENAI_API_KEY=sk-or-...

STASH_EMBEDDING_MODEL=openai/text-embedding-3-small

STASH_REASONER_MODEL=anthropic/claude-3-haiku

STASH_VECTOR_DIM=1536  

STASH_OPENAI_BASE_URL=http://localhost:11434/v1

STASH_EMBEDDING_MODEL=nomic-embed-text

STASH_REASONER_MODEL=qwen2.5:3b

STASH_VECTOR_DIM=768  

STASH_OPENAI_BASE_URL=https://api.groq.com/openai/v1

STASH_EMBEDDING_MODEL=openai/text-embedding-3-small

STASH_REASONER_MODEL=llama-3.1-8b-instant

STASH_VECTOR_DIM=1536  

Give your agent
a memory.

Open source. Apache 2.0 licensed. Backed by PostgreSQL. Works with any MCP-compatible agent.