Skip to content

Overview

OpenContext gives your product a fraud team in a box. At the moments that matter (a sign-up, a login, an application, a checkout, a payout), one API call tells you:

  • Who is acting: a person, a customer’s AI agent, a good bot, or a bad bot, with the agent named and how we know.
  • Which device: a stable device ID, recognized again on every return visit, and how it links to your accounts.
  • How risky it is: a 0 to 1000 risk score, a trust score from good history, reason codes, and a recommendation from your own rules.

When you later learn what happened, you report it as an outcome, and every later decision sees that history.

Part Where it runs What it does
Browser tag Your web pages Collects device and interaction signals, returns a request_id
Decision API Your server calls it Returns the decision for an event
Outcomes API Your server calls it Records what happened after a decision
Rules The console Turns scores and facts into your recommendation, per event type
MCP server Your agents call it Tools over decisions, devices, accounts, cases, and the review queue; read only unless the key allows casework
Console Your team’s browser Keys, rules, transactions, the review queue, and the fraud manager

Every account has two environments. Sandbox keys (oc_test_…) see sandbox data only, so you can build and test freely. Live keys (oc_live_…) handle real traffic. Rulesets are kept separately per environment.

We onboard every customer personally. Request early access and we will set up your account, then you create your own keys in the console.

These docs are written to be read by coding agents as well as people. Point your agent at https://docs.opencontext.com/llms.txt: it lists every page with a one-line summary, and each page has a Markdown copy at the same address ending in .md (this page is https://docs.opencontext.com/start.md). Everything in one file is at https://docs.opencontext.com/llms-full.txt, and the API contract is at https://docs.opencontext.com/openapi.yaml.

Next: the quickstart.