Urgent.News

What's breaking now, across thousands of outlets.

Tech

I gave my agent a graph and it stopped guessing who owned what

How moving company knowledge from vector chunks into FalkorDB changed the way my agent answers the three questions on-call engineers actually ask. The 2am page A payments retry storm hits. The pager goes off, and the first thing someone asks the assistant is: who owns payments-api? It gives a name. The problem is that the person left the team four months ago. Nobody updated the wiki. The org…

The story revolves around a moving company that used graph technology to improve how its on-call engineers answered questions. Typically, when a page hit at 2am, the engineers would ask who owned a particular system. However, the existing Retrieval-Augmented Generation (RAG) approach only searched for text chunks similar to the question, which often led to outdated or irrelevant information since the relevant data was scattered across various sources like wikis, Slack threads, and ticket history.

The solution was to treat company knowledge as a graph to be traversed instead of just a text to be searched. In this graph, entities like Person, Project, System, Ticket, Document, and Decision were linked together based on their relationships. This allowed the system to not only find the right text but also understand the relationships between different entities.

For instance, the system could determine who owned a system, understand the dependencies of a system, and trace the decisions made about a system. This was achieved by creating a graph database called company_brain that stored all the relevant entities and their relationships. The graph contained around 4,000 nodes with relationships such as 'works on', 'uses', 'depends on', 'reported in', 'wrote', and 'decided'.

The key queries used in this approach were:

1. Finding the owner and the path leading to the owner

2. Tracing the blast radius, i.e., which systems could be affected if a particular system failed

3. Tracing a decision back to its source to verify the answer.

Instead of maintaining separate databases for memory, the memory was integrated into the same graph. Each user's question and answer was stored as 'ASKED' and 'PROCESSED' nodes respectively, along with timestamps. This allowed the system to remember past interactions without needing a separate database.

In conclusion, by thinking of company knowledge as a graph instead of text, the moving company was able to provide more accurate and context-aware answers, which significantly improved the efficiency of its on-call engineers.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Everything You Need to Know About TDK CLI Core

TDK CLI Core is the command-line tool at the centre of TDK. It describes each service of an application in a small service.json file, generates the local runtime files from those descriptions, and…

  • Each service is defined in a service.json file, specifying runtime, port, and dependencies.
  • TDK CLI Core performs a self-check before starting the stack, flagging any manual edits for review.

Someone Behind the Software

  • Software products reflect creators' experiences, values, and perspectives.
  • Linear's intuition-driven approach shapes its unique product character.
  • Dilution of software's soul occurs when teams work independently without a unified vision.

TDK CLI Core: Run Your Whole Local Stack With One Command

Every multi-service project has the same morning. You pull the latest code, start the database, start the API, start the frontend, start the worker, and hope the ports line up.

  • TDK CLI Core simplifies multi-service project setup with one command "tdk up".
  • Shared infrastructure like Postgres and Traefik are started automatically.
  • Dry run feature allows previewing services, ports, and Tilt command before execution.

How We Built TRACEFORGE: Graph-Native Autonomous Incident Response on FalkorDB

The Blind Spot in Modern AI Security Every cloud security engineer knows this nightmare scenario: a fires on an internet-facing Kubernetes pod or API gateway (payment-ingress-api).

  • TRACEFORGE is a graph-native autonomous incident response agent.
  • Built on FalkorDB's graph-based data sensory cortex for real-time response.
  • Surgical choke-point defense identifies critical paths to remediate attacks.

More from Sunday 18 October →