Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungMy fact-checker said CONFIRMED about a group that doesn't exist(23.09.2026 um 02:13 Uhr)
Sichere ProgrammierungZero-Friction Payment Architectures for Global Scalability(23.09.2026 um 02:20 Uhr)
Sichere ProgrammierungYour SaaS launch should have a high-score table(23.09.2026 um 02:24 Uhr)
Sichere ProgrammierungMy fact-checker said CONFIRMED about a group that doesn't exist(23.09.2026 um 02:13 Uhr)
Sichere ProgrammierungZero-Friction Payment Architectures for Global Scalability(23.09.2026 um 02:20 Uhr)
Sichere ProgrammierungYour SaaS launch should have a high-score table(23.09.2026 um 02:24 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Building a Local-First Research Agent that Actually Remembers (using AIsa, Cognee & Ollama)

AI agents are great at searching the web. They are terrible at remembering what they found yesterday. Most "memory" in AI apps is just vector similarity search—retrieving chunks of text that mathematically look like your query. This fails …

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

AI agents are great at searching the web. They are terrible at remembering what they found yesterday.



Most "memory" in AI apps is just vector similarity search—retrieving chunks of text that mathematically look like your query. This fails when you need structured reasoning over time (e.g., "How has the sentiment on usage-based pricing changed in the last 30 days?").



In this post, I'll show you how to build a Founder Research Agent that combines:




  1. AIsa.one: For high-quality live web intelligence and LLM routing.

  2. Cognee: For deterministic, graph-based memory (running locally!).

  3. Ollama: For local inference (using Gemma 3 12b) to keep reasoning free and private.






The Stack




  • Backend: Node.js (Express) acting as the orchestrator.

  • Memory Service: Python (FastAPI) wrapping Cognee, because Cognee is Python-native.

  • Intelligence: AIsa API for search + Ollama for local processing.






Why this architecture?



We decouple the brain (LLM) from the memory (Cognee).




  • AIsa acts as our eyes and ears. Instead of maintaining 10 different scraper APIs, we use AIsa's unified gateway to search the web and scholar sources.


  • Cognee structures this raw text into a Knowledge Graph. Instead of just saving "Pricing is popular", it creates nodes:



    (Concept: Usage-Based Pricing) --[relationship: increasing_adoption_in]--> (Market: SaaS).




  • Ollama runs the loop. We use


    gemma3:12b



    locally to extract these triples, saving huge API costs.








Key Implementation Details



1. Reliable Search with AIsa We switched from a myriad of tools to a single AIsa endpoint.




//src/services/aisa.js
const response = await axios.post('https://api.aisa.one/v1/chat/completions', {
model: 'gpt-4o', // Using the best model for extraction
messages: [
{ role: "system", content: "You are a search engine. Return JSON..." },
{ role: "user", content: query }
]
});






2. Structured Evidence with Cognee The magic happens when we store data. We don't just dump text. We normalize it into a strict Pydantic model in our Python microservice:




class Evidence(BaseModel):
id: str
type: str
summary: str
source_url: str
sentiment: str






This allows us to ask rigorous questions later, like "Show me all evidence that contradicts this hypothesis from trusted sources."



We now have an agent that runs locally, costs pennies (thanks to caching & local LLMs), and builds a clearer picture of the world the more you use it.



Here's how this works



Here's the complete code.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Building a Local-First Research Agent that Actually Remembers (using AIsa, Cognee & Ollama)

Thematisch verwandte Begriffe: Building, LocalFirst, Research, Agent · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-17636 | IBM Financial Transaction Manager (FTM) for RedHat OpenShift could allow…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick