AboutWorkProjectsNotes
PT

say hi

 © 2026

  • SAPSAPSoftware Developer
    • Fine-tuning
    • Agents & knowledge graph
      • The problem
      • What I built
      • Locking
      • Knowledge graph
      • Accountability
    • Long-context training data
  • MiHINMiHINSoftware Engineer

SAPSAPAgents · 2026

Letting agents write to systems that matter.

Keeping a change in sync between SAP and Perforce took a day and a half of hand-offs. MCP tool-calling agents now do it in five minutes, with locks so they can't overwrite each other and an auth chain that puts a person's name on every write.

Company
SAP
Team
Research & Innovation
Role
Software Developer
Timeline
2026
1.5 days →
5 min
cross-system update
−92%
developer query time
5,000+
developers served
5
OAuth hops to a real user
01

A day and a half of hand-offs.

Some changes have to land in both SAP and Perforce. That meant two people, two tools and a queue in between. The edits themselves were quick. The waiting wasn't.

02

One agent does both halves.

The agent calls SAP and Perforce tools over MCP, locks the record it's changing, and logs every write against a real user. Press Run, or click any step.

idle
Change requestAgentFastMCP toolsEntity lockper recordSAPPerforceAudit trailwho wrote whatOAuth chain5 hops

AgentFastMCP tools

A tool-calling agent plans the change and calls SAP and Perforce tools exposed over MCP.

Click any step for details · Run walks a request through each step

03

Two agents, one record.

Agents run at the same time. If two of them read the same record and both write it back, the second write silently erases the first.

Entity-level locks make the second agent wait for that one record only, so unrelated work still runs in parallel. Toggle the lock and press Play.

  1. agent Areads #4821 (v1)
  2. agent Breads #4821 (v1)
  3. agent Asets status → approved, writes v2
  4. agent Badds a file to its v1 copy, writes v2
change #4821v1

status: draft

files:

srv/catalog.cds

both changes kept

Simplified. The record and its fields are illustrative.

04

A graph that answers developer questions.

Answers about services, APIs, owners and code were spread across docs and systems. A knowledge-graph RAG service (RDF and SPARQL), served over MCP, cut the time to an answer from an hour to five minutes for 5,000+ developers.

Pick a question to see the path it takes through the graph.

exposedByownedBybuiltFromstoredAtaffectedByresolvedBydocumentedIn/invoices APIbilling serviceTeam LedgerINC: timeoutscap-billing pkg//depot/billingTimeout runbookDesign doc
SELECT ?team WHERE {
  :invoicesApi :exposedBy ?svc .
  ?svc :ownedBy ?team .
}

answerTeam Ledger, via the billing service.

An illustrative slice of the graph. The real one is much bigger.

05

Every write has a name on it.

Agents that change real systems need to be accountable and observable.

  • 5-hop OAuthUser → Claude → MCP server → PKCE with XSUAA → SAP auth → Microsoft Entra. The user's identity travels the whole way, so every write traces to a verified person.
  • PKCEThe knowledge-graph service uses OAuth with PKCE, so a public client can sign in safely.
  • OpenTelemetryEvery query and tool call is traced, so slow or failing paths show up on a dashboard.
next case studySAP · Training on agent runs too long to fit.