█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Hindsight

एक एजेंट मेमोरी सर्वर, जो एजेंट्स को सिर्फ़ चैट इतिहास दोहराने के बजाय सीखने में सक्षम बनाने के लिए बनाया गया है

Agent Memoryओपन सोर्स
अपडेट किया गया
1 दिस॰ 2026
भाषा
Python
लाइसेंस
MIT
कवरेज
1 story

नया क्या है

1 दिस॰ 2026

Vectorize renamed itself Hindsight AI: the repositories moved from github.com/vectorize-io to github.com/hindsightai, the docs moved to hindsight.ai, and Docker images are now published at images.hindsight.ai/hindsight. The npm and PyPI package names did not change.

ताज़ा खबरें

संक्षेप में

Hindsight क्या है?

Hindsight एक एजेंट मेमोरी सर्वर, जो एजेंट्स को सिर्फ़ चैट इतिहास दोहराने के बजाय सीखने में सक्षम बनाने के लिए बनाया गया है. यह Agents & Automation टूल्स की Agent Memory श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और MIT लाइसेंस के तहत है। शुरू करने के लिए: docker से सर्वर शुरू करें.

अपडेट किया गया Markdown वर्शन ↗

सारांश

Hindsight, Hindsight AI का एजेंट मेमोरी सिस्टम है। यह कंपनी दिसंबर 2026 तक Vectorize कहलाती थी। ज़्यादातर मेमोरी लेयर बातचीत के इतिहास को दोहराने पर केंद्रित होती हैं, जबकि Hindsight इस विचार पर बना है कि एजेंट को टिकाऊ समझ बनानी चाहिए: मेमोरी को एक extraction pipeline से गुज़ारा जाता है और सबूत-आधारित beliefs में समेकित किया जाता है, जिन पर एजेंट बाद में कार्रवाई कर सके।

Diagram of an agent calling retain to store information, recall to retrieve it, and reflect to generate insights from Hindsight's memory networks of world facts, experiences, observations, and opinions.
Retain, recall, and reflect around Hindsight's memory networks.Hindsight README ↗

यह जो स्टोर करता है उसे चार तरह की मेमोरी में बाँटता है। world facts दुनिया के बारे में होते हैं (“चूल्हा गरम होता है”), experiences वह दर्ज करते हैं जो एजेंट ने खुद किया, observations कई मेमोरी से बनी समेकित beliefs हैं, और mental models उन पर बनी संश्लेषित समझ हैं। मेमोरी named banks में रहती है, और recall चार retrieval strategies एक साथ चलाता है: semantic vector similarity, BM25 keyword matching, entity और temporal graph links, और time-range filtering।

आप इसे सर्वर के रूप में चलाते हैं (Docker, pip, Helm, या managed Hindsight Cloud) और Python, Node.js, Go, एक CLI, या REST API से बात करते हैं। हर सर्वर हर bank के लिए एक Model Context Protocol endpoint भी देता है, ताकि कोई भी MCP client retain, recall और reflect को tools की तरह कॉल कर सके। कोड MIT लाइसेंस के तहत है; प्रोजेक्ट LongMemEval benchmark पर state-of-the-art नतीजों की रिपोर्ट करता है और लाइव benchmark संख्याएँ प्रकाशित करता है।

Bar chart of LongMemEval overall scores: GPT-4o 60.2%, Zep 71.2%, SuperMemory 85.92%, Hindsight 94.6%.
LongMemEval overall scores as reported by the Hindsight project in January 2026.Hindsight README ↗

यह क्या करता है

  • चार मेमोरी प्रकार — world facts, experiences, समेकित observations और synthesized mental models — सपाट बातचीत लॉग की जगह
  • तीन ऑपरेशन: retain से स्टोर करना, recall से वापस लाना, और reflect से मेमोरी लागू करके जवाब देना
  • semantic, keyword (BM25), graph और temporal रणनीतियों में समानांतर retrieval
  • एक LLM wrapper जो मौजूदा OpenAI या Anthropic client में लगभग दो लाइन में मेमोरी जोड़ देता है, साथ ही 60+ framework और app integrations
  • हर memory bank के लिए अलग built-in MCP endpoint, ताकि MCP clients को retain/recall/reflect tools के रूप में मिलें
  • 25+ LLM providers के साथ काम करता है, जिनमें पूरी तरह लोकल (Ollama, LM Studio, llama.cpp) और कोई भी OpenAI-compatible endpoint शामिल हैं
  • Docker, pip, Helm, एक embedded Python server (अलग process के बिना), या managed cloud से डिप्लॉय करें

शुरू करें

एक सर्वर शुरू करें, फिर अपनी भाषा में क्लाइंट कनेक्ट करें। Docker सुझाया गया तरीका है; embedded Python विकल्प लोकल प्रयोगों के लिए सर्वर को पूरी तरह छोड़ देता है।

Docker से सर्वर शुरू करें

API 8888 पर सुनता है और UI 9999 पर। HINDSIGHT_API_LLM_API_KEY को उस provider पर सेट करें जिसे Hindsight extraction और consolidation के लिए इस्तेमाल करवाना चाहते हैं।

bashbash
export OPENAI_API_KEY=sk-xxx

docker run -it --pull always --name hindsight --restart unless-stopped -p 8888:8888 -p 9999:9999 \
  -e HINDSIGHT_API_LLM_API_KEY=$OPENAI_API_KEY \
  -v hindsight-data:/home/hindsight/.pg0 \
  images.hindsight.ai/hindsight:latest

या bare metal पर इंस्टॉल करें

अगर Docker नहीं चाहते, तो सर्वर एक pip package के रूप में भी उपलब्ध है।

bashbash
pip install hindsight-api
export HINDSIGHT_API_LLM_API_KEY=sk-xxx

hindsight-api

क्लाइंट कनेक्ट करें

Python, Node.js/TypeScript, Go और command line के लिए क्लाइंट उपलब्ध हैं।

bashbash
pip install hindsight-client -U                                  # Python
npm install @vectorize-io/hindsight-client                        # Node.js / TypeScript
go get github.com/vectorize-io/hindsight/hindsight-clients/go     # Go

Retain, recall, reflect

कुछ स्टोर करें, फिर उसे खोजकर वापस लाएँ, और फिर Hindsight से पूछें कि मेमोरी लागू करके जवाब दे। मेमोरी bank id के दायरे में रहती है।

pythonpython
from hindsight_client import Hindsight

client = Hindsight(base_url="http://localhost:8888")

# Retain: store information
client.retain(bank_id="my-bank", content="Alice works at Google as a software engineer")

# Recall: search memories
client.recall(bank_id="my-bank", query="What does Alice do?")

# Reflect: generate a disposition-aware response
client.reflect(bank_id="my-bank", query="Tell me about Alice")

मौजूदा एजेंट में मेमोरी जोड़ें

LLM wrapper हर call से पहले प्रासंगिक मेमोरी recall करता है और call के बाद बातचीत retain करता है, और आपके कोड में कोई और बदलाव नहीं चाहिए। wrap_anthropic() यही काम Anthropic SDK के लिए करता है।

bashbash
pip install hindsight-litellm

अपने client को wrap करें

जो client आपके पास पहले से है उसे wrapped client से बदलें और वह bank दें जिसमें मेमोरी सहेजी जानी है।

pythonpython
from openai import OpenAI
from hindsight_litellm import wrap_openai

client = wrap_openai(
    OpenAI(),
    bank_id="user-123",
    hindsight_api_url="http://localhost:8888",
)

response = client.chat.completions.create(
    model="gpt-5-mini",
    messages=[{"role": "user", "content": "What do you know about me?"}],
)

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • ऐसा assistant मेमोरी के साथ बनाएँ जो sessions के बाद भी बचे रहे, ताकि वह उपयोगकर्ता के facts, पसंद और इतिहास को बिना दोबारा prompt किए याद रखे
Six-step guide to per-user memory: install the SDK, prepare metadata, retain memories, form mental models, recall user memories, and send them to the LLM.
The per-user memory pattern, step by step.Hindsight README ↗
  • लंबे समय तक चलने वाले एजेंट को अपने अनुभव जमा करने दें और जो पहले काम किया या विफल हुआ उसी के आधार पर कार्रवाई करने दें
  • CLI coding agent को git history और पिछले sessions से बनी per-repository मेमोरी दें
  • MCP endpoint के ज़रिए एक साझा मेमोरी bank को एक साथ कई tools के लिए उपलब्ध कराएँ

वर्शन इतिहास

Every verified update to Hindsight that AI/TLDR tracked, newest first — each links to our coverage and the official changeset.

  1. 1 दिस॰ 2026

    Vectorize renamed itself Hindsight AI: the repositories moved from github.com/vectorize-io to github.com/hindsightai, the docs moved to hindsight.ai, and Docker images are now published at images.hindsight.ai/hindsight. The npm and PyPI package names did not change.

  2. 15 मार्च 2026

    Hindsight launched as an open-source (MIT) agent memory server with retain, recall, and reflect operations.

How Hindsight compares

Hindsight alongside other open-source agent memory tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Claude-Mem★ 121kcoding agents के लिए सेशनों के बीच बना रहने वाला context
Mem0★ 69.9kएक मेमोरी लेयर, जो LLM agents को अलग-अलग सेशनों में यूज़र्स को याद रखने देती है
Hindsight★ 64.5kएक एजेंट मेमोरी सर्वर, जो एजेंट्स को सिर्फ़ चैट इतिहास दोहराने के बजाय सीखने में सक्षम बनाने के लिए बनाया गया है
MemPalace★ 60.8kलोकल-फ़र्स्ट एजेंट मेमोरी, जो बातचीत को हू-ब-हू सहेजती है और कभी उसका सार नहीं बनाती
OpenViking★ 43.1kएक context database, जिसे agent किसी black-box vector store की तरह नहीं, बल्कि filesystem की तरह ब्राउज़ करता है
Cognee★ 33.8kओपन सोर्स AI मेमोरी, जो आपके डेटा को एजेंट्स के लिए क्वेरी करने योग्य नॉलेज ग्राफ़ में बदल देती है
Graphiti★ 33.3kAI एजेंट के facts समय के साथ कैसे बदलते हैं, यह ट्रैक करने वाले temporal knowledge graph बनाएँ
Supermemory★ 32kAI को अलग-अलग सेशन में भी याद रखने देने वाला मेमोरी और कॉन्टेक्स्ट इंजन