Skip to content
Fourohtwo

aialign.halowerk.com/v1/goal-drift

Aligns caller-labeled dimensions, computes cosine similarity and a normalized L1 difference, and flags drift against a supplied cosine threshold. It does not infer goals from behavior, decide which goal is correct or detect deception; results depend entirely on the supplied vector representation.

BaseUnchecked
POSThttps://aialign.halowerk.com/v1/goal-drift

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://aialign.halowerk.com/v1/goal-drift", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"dimensions":[{"current_weight":0.62,"initial_weight":0.7,"name":"user_safety"},{"current_weight":0.31,"initial_weight":0.2,"name":"task_completion"},{"current_weight":0.07,"initial_weight":0.1,"name":"resource_efficiency"}],"minimum_cosine_similarity":0.97}),
});
console.log(await res.json());

Example input

{
  "dimensions": [
    {
      "current_weight": 0.62,
      "initial_weight": 0.7,
      "name": "user_safety"
    },
    {
      "current_weight": 0.31,
      "initial_weight": 0.2,
      "name": "task_completion"
    },
    {
      "current_weight": 0.07,
      "initial_weight": 0.1,
      "name": "resource_efficiency"
    }
  ],
  "minimum_cosine_similarity": 0.97
}