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

推荐订阅源

爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
雷峰网
雷峰网
博客园 - 聂微东
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
博客园_首页
博客园 - 司徒正美
博客园 - 叶小钗
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
V
V2EX
The Cloudflare Blog

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 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
GitHub - simplyblock/postbrain: Long-term memory for AI c...
noctarius · 2026-05-06 · via Hacker News - Newest: "AI"

Long-term memory for AI coding agents and the developers who work alongside them.

Postbrain gives agents (Claude Code, OpenAI Codex, GitHub Copilot, and others) a persistent, queryable store that survives session termination and context resets.

It exposes three layers backed by PostgreSQL:

Layer What it stores Default visibility
Memory Automatically captured observations from agent sessions Private to scope
Knowledge Curated, reviewed, versioned artifacts Explicit on publish
Skills Versioned prompt templates agents can install/invoke Explicit on publish

Quick Start

Prerequisites:

  • PostgreSQL 18 with required extensions (pgvector, apache_age, pg_cron, pg_partman)
  • Go 1.26+
  • Embedding provider (for example Ollama or OpenAI-compatible endpoint)

Then:

# 1) Start local Postgres (dev image with required extensions)
docker compose up -d postgres

# 2) Create config and adjust values as needed
cp config.example.yaml config.yaml

# 3) Build binaries
make build

# 4) Bootstrap admin principal + initial token
./postbrain onboard --config ./config.yaml --slug admin --display-name "Postbrain Admin" --token-name "bootstrap-admin"

# 5) Run server
./postbrain --config ./config.yaml

Default server address is http://localhost:7433.

Documentation

Use README.md for orientation; use docs/ for complete guidance.

API and MCP

Repository Layout

postbrain/
├── cmd/                      # server + CLI entrypoints
├── internal/                 # application packages (api, db, authz, memory, knowledge, skills, ui)
├── docs/                     # canonical user/operator documentation
├── designs/                  # architecture and task tracking docs
├── config.example.yaml       # reference configuration
└── docker-compose.yml        # local dev stack

For Agents

Before making changes, read these in order:

  1. AGENTS.md (mandatory coding and workflow rules)
  2. docs/index.md (starting point for selecting additional designs/ documents to read in full)
  3. designs/DESIGN.md (high-level architecture overview and invariants)
  4. subsystem-specific design/task files identified from docs/index.md (for example permissions, OAuth, code graph)
  5. designs/TASKS.md (task tracking, must be updated before commit)