Kairos 开源发布:支持 AI Agent 调优的实时风控决策平台

原标题:Show HN: Kairos – Open-source risk and fraud decisioning platform
62AI 研判分

Kairos 推出开源实时欺诈与风险决策平台,作为 Sardine 等商业产品的替代方案。其核心创新在于内置 MCP 服务器,允许开发者使用 Claude Code、Cursor 等编码智能体直接调整检测逻辑与工作流,并引入无标签场景下的决策模型以应对冷启动问题。

报道正文

本文目录7 个章节

Kairos Cloud · Docs · Discord · Finic

Kairos is open-source, real-time fraud and risk decisioning

Kairos decides every sign-up, login, order, payment and payout as it happens, and keeps each decision with the signals behind it. It is an open-source alternative to Sardine, Sift, Riskified and SEON, with two things they don't have: your coding agent tunes it, and decision models catch fraud before you have the labels to train on.

Decisioning

  • Real-time decisions: one call returns approve, step up, review or block, with a risk score and the reasons, from the subject's history, the devices, cards and addresses it shares with others, and the session.
  • Workflows: ask a decision model, score with a model, branch, call webhooks, open cases, and decide again later.
  • Queues and cases: review work for people, whose resolutions become labels.

Agent-first

  • MCP server: Claude Code, Cursor or Codex read your decisions and build workflows, with every action recorded under its key.
  • Experiments: your agent proposes model variants, Kairos trains and tests them on your data, and the agent ships the winner.

Decision models and traditional ML

  • Grayson: Finic's decision model answers questions about each request in plain language. It works with few labels and reads unstructured data.
  • Models: logistic regression and gradient-boosted trees (XGBoost-compatible) on your numbers and Grayson's answers, trained in Kairos or uploaded.

For developers

An AI fraud ML engineer, always tuning on your data

You send Kairos what happens in your product: sign-ups, logins, orders, payouts, chargebacks. It decides each request (approve, step up, review or block) and keeps every decision with the signals behind it.

What makes Kairos different is who tunes it. Connect Claude Code, Cursor, Codex or any agent over MCP, and the agent can do the work of a fraud ML engineer:

  1. Build the workflow. It defines what to decide, which questions to ask a decision model, and which fields to score.
  2. Design experiments. It proposes variants: a decision model alone, logistic regression on your numbers, gradient-boosted trees, a stack of them, or the decision model's answers combined with your numbers in one model.
  3. Let Kairos run them. The server trains each variant on your oldest labeled data, chooses on the next, and tests on the newest, then reports ROC-AUC, PR-AUC, the gain over a baseline with its 95% interval, and precision and recall at your thresholds.
  4. Pick the winner and ship it. The agent explains its choice, applies the variant as the workflow's next version, and comes back when new labels arrive.
YAML
You:     "Our chargebacks went up. Find a better model for shopify_order and publish it if it wins."
Agent:   designs six variants → create_workflow_experiment → reads the results →
         "Logistic regression on the order's numbers plus Grayson's answers wins: ROC-AUC 0.949 on validation,
          0.930 on test. Publishing it as v6."

Decision models and traditional ML, together

Kairos is built around Grayson, Finic's decision model. You ask it questions in plain language ("Does the shipping address look like a reshipper?", "Is this email throwaway?") and it answers with calibrated probabilities. Decision models are strong where traditional ML is weak:

  • Few labels. Grayson works on day one, before you have the thousands of chargebacks a model needs to learn from.
  • Unstructured data. It reads descriptions, emails, names, addresses, notes and item titles, which a gradient-boosted tree can't.
  • Explanations. Every answer is a question you wrote, so every decision says why.

Traditional models are strong where decision models are weak: they learn your own outcomes precisely, from your own numbers, and they cost nothing per decision. Kairos lets you combine both: Grayson's answers become features next to your fields in a logistic regression or gradient-boosted trees (XGBoost-compatible, trained in Kairos itself), and experiments tell you which combination wins on your data.

<img src="docs/images/readme/kairos-decision.jpg" alt="A decision in Kairos: the risk score, the outcome, and the signals Grayson found, each with its probability" width="100%"/>

(注:更多技术实现细节与完整 API 文档请查阅原项目 README)


作者发帖说明(HN):

Hey HN, Ayan here from Finic. We’re launching Kairos, an open source alternative to Sift, Sardine, and other real-time fraud decisioning platforms. Kairos addresses two of the biggest problems facing traditional decisioning tools: a lack of labeled data to train on and dealing with fraudsters that are constantly changing their tactics.

  1. Traditional fraud solutions use ML models such as XGBoost to detect fraud, but these models are dependent on quality labeled data which many businesses do not have. We address this by using “System One” decision models in additional to traditional models such as XGBoost and logistic regression. This allows you to incorporate plain language questions such as “Is this a throwaway email” into your decisioning, bypassing the need for large amounts of labeled data. This also allows you to capture aspects of fraud that are more unstructured, which is something that XGBoost models struggle with.

  2. Fraud teams are facing off with live players that are constantly changing their behavior to bypass the detection logic they have in place. You can train a detection model or define a ruleset once, but it will become obsolete in a matter of weeks as fraudsters figure out what your detection logic is. This means that you need a team regularly training models and updating rules based on new fraud patterns. Typically this takes a large data science/ML team. Kairos addresses this by introducing an MCP server, so that your agent (Claude Code, Cursor, Codex, ...