Neblita

Neblita for Builders

Make your agent finish, and stay safe.

Building your own AI agent? Add an independent referee in a few lines: score tasks before running, find exactly where runs fail, refuse to call a task done without proof, and test whether a web page can hijack it.

API

Score, autopsy and finish-check endpoints. JSON in, JSON out. Works with any agent framework.

MCP server

One command adds Neblita to Claude Code, Cursor or your own MCP-capable agent.

Agent Test Lab

Bug-bounty-style prompt-injection tests. See if planted text can steer your agent.

Quickstart

Three steps.

  1. 1Create a key in your dashboard and store it as NEBLITA_API_KEY.

  2. 2When a run fails or looks unfinished, send it for an autopsy:

    curl
    curl https://neblita.com/api/v1/autopsy \
      -H "Authorization: Bearer $NEBLITA_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "task": "Book a table for 2 near Union Square, Friday 7pm",
        "agent_log": "Opened tablebook.example\nPicked Friday 7pm\nClicked Save details\nSaid: booked!",
        "site": "tablebook.example"
      }'
    TypeScript
    const res = await fetch("https://neblita.com/api/v1/autopsy", {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.NEBLITA_API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({ task, agent_log: run.steps.join("\n"), site }),
    });
    const report = await res.json();
    
    if (report.verdict !== "finished") {
      console.log("Went wrong at step", report.failure_step, report.failure_category);
      await agent.retry(report.fixed_instructions); // re-run with Neblita's fix
    }
  3. 3Score tasks before you run them, and use the rewrite when the odds are low:

    Python
    import os, requests
    
    r = requests.post(
        "https://neblita.com/api/v1/score",
        headers={"Authorization": f"Bearer {os.environ['NEBLITA_API_KEY']}"},
        json={"task": "Compare 3 standing desks under $500 on amazon.com", "site": "amazon.com"},
        timeout=60,
    )
    score = r.json()
    if score["score"] < 60:
        task = score["suggested_rewrite"]  # use the clearer instructions instead

MCP server

Give your coding agent a referee.

Tools exposed: score_task, autopsy, finish_check and get_playbooks.

Claude Code
claude mcp add --transport http neblita https://neblita.com/api/mcp \
  --header "Authorization: Bearer nbl_live_YOUR_KEY"
Cursor / any MCP client (JSON)
{
  "mcpServers": {
    "neblita": {
      "url": "https://neblita.com/api/mcp",
      "headers": { "Authorization": "Bearer nbl_live_YOUR_KEY" }
    }
  }
}

Then add this rule to your agent's instructions (CLAUDE.md, system prompt or rules file):

Agent rule
Before saying a browser task is done, call neblita.finish_check with a
screenshot of the final page. If it isn't "finished", call neblita.autopsy with
your step log and retry using fixed_instructions.

API reference

Endpoints.

EndpointBodyReturns
POST/api/v1/score{ task, site? }score (0–100), decision, reasons[], suggested_rewrite, ai_steps[], human_steps[], done_looks_like, learned
POST/api/v1/autopsy{ task, agent_log, outcome?, site? }verdict, headline, steps[{what_happened, status, note}], failure_step, failure_category, root_cause, fixed_instructions, remaining_for_you[], confidence
POST/api/v1/finish-check{ task, screenshot_base64, media_type, agent_claim? }verdict, confidence, evidence_seen[], missing[], remaining_for_you[], summary
POST/api/lab/runs{ scenario }id, test_url, task_for_agent, status
GET/api/lab/runs/:id—status (failed | no_trip_detected), tripped_how
  • Auth. Authorization: Bearer nbl_live_…. Keys are stored only as a hash.
  • Limits. 30 requests a minute and 1,000 a day per key. Over the limit returns 429.
  • Errors. Always { error: { code, message } } with 400, 401, 429, 503 or 500.
  • Privacy. Emails, phone numbers, addresses and long numbers are removed before the AI sees anything. Screenshots are never stored.
  • Learning. With “Help improve predictions” on, your runs sharpen scores for everyone (anonymous totals only).
  • Failure categories. login_wall, captcha_or_bot_check, wrong_click, missing_info, stuck_or_looping, said_done_but_wasnt, gave_up_early, misunderstood_goal, site_error, needed_your_approval, hijacked_by_page.

Ship agents people can trust.