Trellis

GraphRAG

One question, the connected answer.

Your agent asks once and gets the decision, the code it is about and the document that explains it, with the path between them, instead of a pile of text chunks to join itself.
Illustrative product story

How it answers

  • Finds starting points

    It finds starting points by meaning across documents, code, decisions and connected records, and by exact name (ticket keys, file paths, code identifiers).

  • Follows the graph

    It follows the graph’s relationships from them. Items reached through the graph also carry the path that links them to the question.

  • Ranks what it found

    It ranks everything by how well it matches and how closely it connects.

  • Returns sources

    It returns items within a token budget, each with its source and a preview whose full text can be read on demand.

Finds more of the right answers

Because it searches code and connected records as well as documents, and matches exact names, it finds more of the right answers than searching documents by meaning alone.

Your reranker

Search with the reranker you run.

Point Trellis at a reranker you run, on your own machine or on a server you choose, the same way you set up its embedding and language models.
  • Looks further

    With a reranker set up, searches look further before choosing what to return, and include code matched by its own text.

  • Puts the top results in order

    Your reranker reads the question beside each candidate and orders the top results by how well they answer it.

  • Keeps the connections

    Related items one step away in the graph are listed under the result they connect to.

Trellis does not include a reranker: you run one and point Trellis at it. A reranked search takes longer, and searches for an exact name do not rerank. Your reranker receives your question and the text of your top results. A small open reranker on your own machine keeps them there. Trellis treats a reranker at any address other than localhost as remote, one on your local network included, and sends them to it only when you have allowed cloud calls and your organization has not blocked them.

What it does not do

  • It does not write answers: your agent writes the answer from what Trellis returns.
  • It has no general entity graph or summaries of themes across your data.
  • It returns code as signatures, locations and summaries, not whole bodies.
  • It matches exact names, such as ticket keys, file paths and code identifiers, not keywords inside a document’s text.
  • It can only follow the links your sources contain: documents, pages, tickets and pull requests reach code through the code names and file paths they mention, and a merged pull request through the code it changed.

Try it on your own codebase.

Bring a repository, a few useful documents and the agent workflow you want to improve.