展示HN:Syne – 一个基于PostgreSQL的AI代理,能够记住所有信息
我创建Syne是因为我厌倦了那些在每次对话后就忘记一切的AI助手。
Syne是一个自托管的AI代理框架,其中记忆是首要元素——以语义向量的形式存储在PostgreSQL中,可以在数百万条记录中进行搜索,并且永久保存。
主要特点:
- 无限持久的记忆,支持语义搜索(pgvector)
- 防止幻觉:仅存储用户确认的事实,自动去重
- 自我进化:在运行时创建新能力,无需重启
- 多模型:在对话中可以在Gemini、ChatGPT和Claude之间切换
- 真正的$0/月设置:免费OAuth + 本地Ollama嵌入 + Docker
- 19个核心工具,子代理,Telegram + CLI接口
使用Python、PostgreSQL和Docker构建。无供应商锁定。
GitHub: [https://github.com/riyogarta/syne](https://github.com/riyogarta/syne)
登录页面: [https://syne.codes](https://syne.codes)
查看原文
I built Syne because I was tired of AI assistants that forget everything after each conversation.<p>Syne is a self-hosted AI agent framework where memory is a first-class citizen — stored as semantic vectors in PostgreSQL, searchable across millions of entries, and persistent forever.<p>Key features:
- Unlimited persistent memory with semantic search (pgvector)
- Anti-hallucination: only stores user-confirmed facts, auto-deduplicates
- Self-evolving: creates new abilities at runtime without restart
- Multi-model: switch between Gemini, ChatGPT, Claude mid-conversation
- True $0/month setup: free OAuth + local Ollama embedding + Docker
- 19 core tools, sub-agents, Telegram + CLI interfaces<p>Built with Python, PostgreSQL, and Docker. No vendor lock-in.<p>GitHub: <a href="https://github.com/riyogarta/syne" rel="nofollow">https://github.com/riyogarta/syne</a>
Landing page: <a href="https://syne.codes" rel="nofollow">https://syne.codes</a>