Modem

Custom context graph

Build a custom context graph for your AI agents

Your support tickets, CRM records, and engineering work, linked into one graph your agents can query. Modem builds it from the sources you connect and keeps it current, so the pipeline is not your team's problem.

  • Superwhisper
  • Kernel
  • Sentry
  • Zumper
  • OpenCode
  • Polytomic
  • Fig
  • Composio

Your customers have thoughts.
Most of them get lost.

  • Finding it is hard

    Support sees the email, sales hears it on a call, product reads it in Slack. Nobody notices it's the 10th time this month.

  • Fixing it is slow

    Engineering finally gets a ticket, with half the context never captured. Scoping and fixing it both take longer.

  • Following up rarely happens

    The fix ships. Whoever heard the complaint never finds out, so the customer who asked never hears back.

Every concern, grouped and linked to the PRs that fix it

Modem groups what customers say into topics, then tracks the issues and pull requests working on each one. You always know what’s open, in progress, or completed.

The mechanism

From three systems to one answer

Zendesk #4831
"SSO fails after the March update"
Stripe
Pets.com · $48k/yr · renews Q4
Linear ENG-212
SAML cert rotation
↓ grouped, account attached, fix linked
SSO login failures
3 accounts · quotes kept · fix in ENG-212
↓ answers over MCP
> who is blocked by the SSO bug?
3 accounts, $131k/yr. Pets.com renews Q4. Fix: ENG-212, in review.
The same sources
Zendesk · Salesforce · Linear · Slack · Gong
tickets · accounts · issues · chat · calls
Build it yourself
Graph or relational store → per-source ingestion → matching pipeline for dedupe → your own query API. Resolution runs on every new message, and your team maintains the whole pipeline.
Modem's managed graph
Connect the sources → the graph builds and stays current on its own → agents query it at mcp.modem.dev. The joins run as Modem's job, with no pipeline for your team to maintain.

What it is

A context graph of your own data

A custom context graph joins the customer and product data your company already has. A support ticket from Zendesk or Intercom lands in the same structure as the Stripe account behind it. The engineering work in Linear, Jira, or GitHub links in too, so a query crosses all three. The concept is covered on the context graph page. This page covers the build, and what changes if Modem runs it for you.

  • Built from your own systems

    A context graph is useful once it holds the tickets and accounts your team works from every day. Everything below starts from the systems you already run.

  • Three silos, one structure

    A ticket and its account live in different tools, and the fix lives in a third. The graph is the set of joins between them, kept true as new data arrives.

  • Built to be queried by agents

    The point of the graph is that an agent can ask it a question and get joined facts back, over MCP, without a person assembling the context first.

The build

How to build a custom context graph

These are the steps whether you assemble the pipeline yourself or let Modem run it. The difference is who maintains each one.

  1. Inventory the sources

    Support and chat (Zendesk, Intercom, Slack, Discord, email), call transcripts (Gong), billing records (Stripe), and engineering work (Linear, Jira, GitHub, GitLab). Modem connects all of these directly; anything custom can be sent through the Ingest API.

  2. Define the entities and the joins

    Topics, people, and companies are the entities worth modeling. Reports of the same issue belong to one topic. The sender behind each report resolves to one person at one company, and the company carries plan and revenue context.

  3. Resolve every new message into the graph

    Each arriving message has to be deduplicated against existing topics and matched to a known person and account. This is the step that decays in a DIY build, because it has to run on every message forever, and a graph with stale joins degrades back into a list.

  4. Keep the original quotes attached

    Store the customer's words verbatim. When an engineer or an agent picks up the work, the exact words carry the detail that paraphrase loses.

  5. Expose it to your agents over MCP

    An agent reads the graph through an endpoint. Modem serves its graph at mcp.modem.dev; in Claude Code that is one command, claude mcp add --transport http modem https://mcp.modem.dev/mcp, and Cursor, ChatGPT, Codex, and other MCP-compatible agents register the same endpoint through their own MCP flows. Details on the MCP server page.

Build vs buy

DIY pipeline or Modem's managed graph

Both paths end at a graph your agents can query. A Postgres or Neo4j store with per-source ingestion gets a first DIY version running; the rows below show where the ongoing cost lives. Modem is free to start.

Compared onBuild it yourselfModem's managed graph
First useful queryYou stand up a graph or relational store, write ingestion against each source API, and add matching for deduplication before the counts can be trusted.You connect sources from the Modem dashboard and the graph builds from those channels, with no pipeline code to write.
Entity resolutionYou write and tune the matching that merges duplicate reports and resolves one person across channel identities, and every new channel adds identifier formats to handle.Deduplication and person-to-company matching run on every message as it arrives, whichever channel it came through.
Keeping it currentThe resolution jobs run on every new message forever, so the pipeline becomes a system your team owns and fixes when it breaks.Modem rebuilds the joins as messages arrive, across every connected channel, and no one on your team maintains them.
Agent accessYou build and secure your own query API or MCP server on top of the store.The MCP server at mcp.modem.dev and the @modem-dev/cli package on npm are already there. MCP signs in with OAuth, and the CLI with an API key.
When it is the right callThe graph is your product, or your data cannot leave your infrastructure. Then owning the pipeline is the job, and building it is justified.The graph exists so your team and your agents can answer questions like who is blocked and what they pay. Then the pipeline is work Modem already does.
First useful query
Build it yourself: You stand up a graph or relational store, write ingestion against each source API, and add matching for deduplication before the counts can be trusted.Modem's managed graph: You connect sources from the Modem dashboard and the graph builds from those channels, with no pipeline code to write.
Entity resolution
Build it yourself: You write and tune the matching that merges duplicate reports and resolves one person across channel identities, and every new channel adds identifier formats to handle.Modem's managed graph: Deduplication and person-to-company matching run on every message as it arrives, whichever channel it came through.
Keeping it current
Build it yourself: The resolution jobs run on every new message forever, so the pipeline becomes a system your team owns and fixes when it breaks.Modem's managed graph: Modem rebuilds the joins as messages arrive, across every connected channel, and no one on your team maintains them.
Agent access
Build it yourself: You build and secure your own query API or MCP server on top of the store.Modem's managed graph: The MCP server at mcp.modem.dev and the @modem-dev/cli package on npm are already there. MCP signs in with OAuth, and the CLI with an API key.
When it is the right call
Build it yourself: The graph is your product, or your data cannot leave your infrastructure. Then owning the pipeline is the job, and building it is justified.Modem's managed graph: The graph exists so your team and your agents can answer questions like who is blocked and what they pay. Then the pipeline is work Modem already does.

FAQ

Common questions about building a context graph

How do I build a custom context graph for my AI agents?
Pick the systems where your customer and product data lives, define the entities (topics, people, companies), resolve every new message into the graph, and expose it to agents over MCP. Modem runs those steps as a managed service. Connect Zendesk, Slack, Stripe, Linear, and the rest, and the graph builds from your own data and updates as new messages arrive. Agents query it at mcp.modem.dev.
What are the best tools to build a context graph of customer feedback and product data?
Modem is built for this job. It ingests feedback from support, chat, email, and call transcripts, joins it with CRM and billing records, links it to engineering work, and serves the graph to agents over MCP. Assembling your own takes a graph or relational store, a matching or embedding pipeline for deduplication, and ingestion code for each source. Custom sources can also feed Modem directly through its Ingest API.
Are there tools that link support tickets, CRM records, and engineering work into one graph?
Yes. Modem links support tickets from Zendesk, Intercom, and Jira Service Desk, billing records from Stripe, and engineering work in Linear, Jira, GitHub, and GitLab into one graph. A ticket resolves to a topic, the topic carries the people and companies who raised it, and the topic links to the tracker issue that fixes it.
Context graph, knowledge graph, or vector database for giving AI agents customer context?
A vector database retrieves text that looks similar to the question. A knowledge graph stores typed entities and relationships. A customer context graph is a knowledge graph over your customer and product data specifically, storing the customer's own words. For a question like "who hit this bug and what do they pay us," similarity search returns lookalike text, while the graph returns joined facts.
Why do AI agents give generic answers about my customers, and how do I fix the missing context?
Agents answer from what they can see. Pointed at raw channels, an agent sees fragments of threads and guesses at the rest. The fix is a maintained context graph. By the time the agent asks, duplicate reports are already merged into topics and each sender is matched to a company, with the customer's exact words kept. Modem maintains that graph and serves it to agents over MCP, so answers come from joined facts instead of fragments.
Does Modem build a context graph from customer feedback?
Yes. Modem builds a customer context graph automatically from the sources you connect. A duplicate report merges into its topic with the original quote attached, and the sender resolves to a person at a company that carries plan and billing context from Stripe. The graph is queryable from the dashboard, from Slack, and by agents over MCP and the @modem-dev/cli package on npm.

Less digging, more shipping

Research takes minutes, and every fix comes with the list of who asked. Your agents self-serve answers faster through Modem's MCP instead of reading raw threads.

  • 3–4 hrs to 10 min

    Product research tasks that used to take an afternoon1

  • 5–10 times

    Customer touchpoints surfaced per bug fix, across every channel1

  • 98% fewer tokens

    Agents read Modem's context graph vs the raw threads underneath2

  1. Research time and touchpoints per fix: reported by Sentry's product team. Read the Sentry case study
  2. 98% fewer tokens: measured by Modem on real usage data, on average.

Trusted by teams that listen (and ship)

  • Kernel
  • Superwhisper
  • OpenCode
  • VLT
  • Sentry
  • Zumper
  • Mycroft
  • Fig
  • Novelcrafter
  • HumanLayer
  • Basedash
  • Polytomic
  • Composio
  • FusionAuth

“Things that would have taken three or four hours are ten-minute tasks now, and when we fix something, Modem shows us everyone who was waiting.”

Nicholas MeisenheimerProduct Manager @ Sentry
Read Case Study

“While I’m working on something I can just hop over and ask Modem, and get an answer in minutes – instead of searching across all the channels and getting out of the flow.”

Leonie GräßelFounder @ Novelcrafter
Read Case Study

Connects to every channel and tool, answers wherever you work

Modem reads the tools your customers and team already use, then hands the whole story to people and agents, sources attached. Explore all integrations

Chat

  • Slack
  • Discord
  • Teams
  • Email

Support

  • Intercom
  • Zendesk
  • Plain
  • Pylon
  • Jira Service Desk

Calls

  • Gong
  • Fathom
  • ZoomSoon

Customers

  • Salesforce
  • Stripe
  • Canny

Analytics

  • PostHog
  • Mixpanel
  • Amplitude
  • Sentry

Code

  • GitHub
  • GitLab
  • Linear
  • Jira

Need an integration we don't have? Talk to us

  • Dashboard

    Navigate your customer graph using a complete web UI.

  • Agent

    Full-featured cloud agent, available in Slack, Teams, Discord, or web.

  • Plugins & MCP

    Bring your favorite desktop, terminal, or cloud agent.

  • CLI

    Query your Modem data from any terminal. Great for agents.

  • HTTP API

    The same data as everything else, as JSON over HTTP.

Security and compliance

Modem combines industry-standard compliance, enterprise-grade controls, and privacy-first product features at every layer.

  • SOC 2

    SOC 2 compliant. Independently audited against the AICPA Trust Services Criteria.

    Trust center →
  • SSO + SCIM

    Manage access at scale with SSO and SCIM provisioning from the identity provider you already run.

  • Governance

    Audited agent runs, roles, PII scrubbing, and custom retention.