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

推荐订阅源

K
Kaspersky official blog
T
Threat Research - Cisco Blogs
N
News and Events Feed by Topic
Hacker News: Ask HN
Hacker News: Ask HN
Project Zero
Project Zero
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 叶小钗
Security Latest
Security Latest
Spread Privacy
Spread Privacy
aimingoo的专栏
aimingoo的专栏
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
U
Unit 42
Cyberwarzone
Cyberwarzone
小众软件
小众软件
Scott Helme
Scott Helme
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
爱范儿
爱范儿
S
Schneier on Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Schneier on Security
Schneier on Security
Latest news
Latest news
GbyAI
GbyAI
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
The Register - Security
The Register - Security
WordPress大学
WordPress大学
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
PCI Perspectives
PCI Perspectives
Jina AI
Jina AI
AI
AI
NISL@THU
NISL@THU
I
Intezer
G
GRAHAM CLULEY
B
Blog
S
Secure Thoughts
IT之家
IT之家
宝玉的分享
宝玉的分享
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
有赞技术团队
有赞技术团队
V2EX - 技术
V2EX - 技术
Recorded Future
Recorded Future
Hacker News - Newest:
Hacker News - Newest: "LLM"

Hacker News

Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line Building a Z-Machine in the worst possible language High-Level Rust: Getting 80% of the Benefits with 20% of the Pain GitHub - duguyue100/midnight-captain: Inspired by Midnight Commander, tailored to my taste. How to build a `git diff` driver · Jamie Tanna | Software Engineer Center for Responsible, Decentralized Intelligence at Berkeley The Local Universe’s Expansion Rate Is Clearer Than Ever, but Still Doesn’t Add Up - A new synthesis of astronomical measurements confirms a persistent mismatch that could point to physics beyond current models The air throughout our homes is infused with microplastics. But there are things you can do to breathe less of them The disturbing white paper Red Hat is trying to erase from the internet – OSnews The Future of Everything is Lies, I Guess: Annoyances ‘Abhorrent’: the inside story of the Polymarket gamblers betting millions on war Productive procrastination — Max van IJsselmuiden maps, territory and LMs 447 Terabytes per Square Centimetre at Zero Retention Energy: Non-Volatile Memory at the Atomic Scale on Fluorographane Show HN: Pardonned.com – A searchable database of US Pardons 20 Years on AWS and Never Not My Job The Seasons are Wrong Artemis II crew splashes down near San Diego after historic moon mission We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs How a dancer with ALS used brainwaves to perform live On filing the corners off my MacBooks Installing every* Firefox extension OpenClaw’s memory is unreliable, and you don’t know when it will break Steve Blank Nowhere Is Safe Chimpanzees in Uganda locked in vicious 'civil war', say researchers watgo - a WebAssembly Toolkit for Go linux/Documentation/process/coding-assistants.rst at master · torvalds/linux GitHub - callumlocke/json-formatter: Makes JSON easy to read. Founding Product Engineer at Bild AI | Y Combinator A compelling title that is cryptic enough to get you to take action on it GitHub - Keychron/Keychron-Keyboards-Hardware-Design: Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms. [ANNOUNCE] WireGuardNT v0.11 and WireGuard for Windows v0.6 Released 1D-Chess Helium Is Hard to Replace Cooperative Vectors Introduction | Evolve Keeping a Postgres queue healthy — PlanetScale Our response to the Axios developer tool compromise Do Americans read print books, e-books or audiobooks more? The Zettelkasten Method in Obsidian: A Practical Setup Guide Artemis II Is Competency Porn and We Are Starving For It WeakC4 Flight Viz — Cockpit View A Mexican surveillance giant you’ve never heard of is now watching the U.S. border Surelock: Deadlock-Free Mutexes for Rust RISC-V 101 – what is it and what does it mean for Canonical? | Ubuntu The Problem That Built an Industry How Much Linear Memory Access Is Enough? | Solidean Investigating Split Locks on x86-64 Simplest hash functions Sybilproof reputation mechanisms (2005) [pdf] What is a property? How Complex is my Code? Static code analysis in Kotlin — tools overview Toffoli gates are all you need PGLite evangelism dcmake: a new CMake debugger UI Clojure on Fennel part one: Persistent Data Structures Fragments: April 2 Python Release Python install manager 26.1 The Life and Death of the Book Review - Liberties Introducing Database Traffic Control — PlanetScale Bitcoin miners are losing $19,000 on every BTC produced as difficulty drops 7.8% God sleeps in the minerals Building slogbox Apple Silicon and Virtual Machines: Beating the 2 VM Limit Who was “Not Even Wrong” first? Pokemon Evolution Vs Darwinian Evolution The APL Programming Language Source Code
Stash — Your AI has amnesia. We fixed it.
alash3al · 2026-04-25 · via Hacker News

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.