# Unfragile — agents.md

> Search for everything an agent can invoke: 2.2 million tool actions inside MCP servers, APIs, CLIs, SDKs, models, robots and devices. Every result labelled by measured checks.
> Human page: https://unfragile.ai/docs/agents

Generated: 2026-12-01T13:26:17.491Z

## Install

One line on a machine with Claude Code (prints the config block on any other machine):

```sh
curl -fsSL https://unfragile.ai/install.sh | sh
```

Claude Code directly:

```sh
claude mcp add unfragile -- npx -y @unfragile/mcp-server
```

Hosted, nothing to install, no key (9 Nov 2026):

```sh
claude mcp add --transport http unfragile https://unfragile.ai/api/mcp
```

The hosted server's tools are `unfragile_find`, `unfragile_verify`, `unfragile_resolve`, `unfragile_passport`. `unfragile_find` takes `task` (plain words), `limit`, `answer` and `lane`: `"fast"` returns ranked results only, `"standard"` (the default) adds the written, cited answer, `"best"` writes a fresh one. The seven tools below belong to the installed package. Read the tool's own schema with tools/list before you call it.

As a skill: save https://unfragile.ai/skill.md as SKILL.md in your agent's skills folder (Claude Code: ~/.claude/skills/unfragile/SKILL.md).

Claude Desktop, Cursor, Windsurf, Cline or any MCP client — add to the client's MCP configuration:

```json
{ "mcpServers": { "unfragile": { "command": "npx", "args": ["-y", "@unfragile/mcp-server"] } } }
```

## The seven tools

| Tool | What it does |
|---|---|
| unfragile_find | Arguments: `task` (plain words), `limit` (1–20, default 5), `answer` (boolean). The tool ACTION that does a task. Every result labelled. `answer: true` adds a cited answer: a summary, up to six products that do the task, or a question back; it costs 2–10 s, the results alone under a second. |
| unfragile_answer | One verified software record for a need, with evidence and an install snippet, or an honest no. |
| unfragile_search | Ranked software records with per-record evidence. |
| unfragile_verify | A signed verdict for a target before you install or invoke it: trusted · caution · unverified · flagged. |
| unfragile_resolve | One intent in; one record, verdict, signed passport and invocation snippet out. |
| unfragile_passport | The raw Ed25519-signed trust passport for a record, verifiable offline. |
| unfragile_stats | Live index numbers by door type. |

## Plain HTTP (no SDK, no key)

| Call | Returns |
|---|---|
| GET https://unfragile.ai/api/v1/find?q={task}&k=10&answer=1 | the actions that do the task, labelled; with answer=1 a cited answer: summary, up to six products, fit, question back. Remembered up to 24 h (same question, or same search+intent+named); add max_age={seconds} for a fresher one; the memory field says which you got. Every response carries a receipt signed with Ed25519 (what ran, why, when, cost, a sha256 of the answer and results, and one of the typed pieces), checkable offline with /api/v1/trust-passport-public-key. With answer=1, blocks lays the answer out as typed pieces (summary, pick, question, sources, receipt), each fact with who decided it, its sources and when it was checked. lane=fast|standard|best (results only, default, always-fresh answer); client_model and session_id go on the receipt; a bad value is a 400 naming the parameter, an unknown one a warning in call.warnings |
| GET https://unfragile.ai/api/answer?q={need} | one verified software record, or an honest no |
| GET https://unfragile.ai/api/v1/search?q={need}&limit=5 | ranked software records with evidence |
| POST https://unfragile.ai/api/v1/resolve  {"intent": "…"} | one record + verdict + signed passport + invocation snippet |
| POST https://unfragile.ai/api/v1/verify  {"target": "npm:…"} | verdict before you invoke |
| GET https://unfragile.ai/api/v1/passport/{id} | the signed passport (URL-encode the id) |
| GET https://unfragile.ai/api/v1/stats | live index numbers |
| GET https://unfragile.ai/api/v1/trust-passport-public-key | the Ed25519 public key |

## Python (no SDK required)

```python
import json, urllib.parse, urllib.request

q = urllib.parse.quote("send a slack message")
data = json.load(urllib.request.urlopen(f"https://unfragile.ai/api/v1/find?q={q}&k=5&answer=1"))
answer = data["answer"]
print(answer["summary"])
for p in answer["products"][:answer["fit"]]:          # the products that do the main job
    print(p["label"], "·", p["name"], "·", p["what"])
if answer["question"]:
    print("question back:", answer["question"])
```

## POST /api/v1/resolve

```sh
curl -X POST https://unfragile.ai/api/v1/resolve \
  -H "Content-Type: application/json" \
  -d '{"intent": "Postgres MCP server"}'
```

Response shape (fields you will use):

```json
{
  "intent": "Postgres MCP server",
  "resolved": { "name": "…", "envelope": "mcp", "status": "static-verified", "verdict": "trusted", "verdictReason": "…", "passport": { "signature": "…" } },
  "alternatives": [ … ],
  "_links": { "answer": "https://unfragile.ai/?q=Postgres%20MCP%20server" }
}
```

`resolved` is `null` when nothing qualifies. Do not invoke a guess.

## POST /api/v1/verify

```sh
curl -X POST https://unfragile.ai/api/v1/verify \
  -H "Content-Type: application/json" \
  -d '{"target": "npm:postmark-mcp"}'
```

Returns `verdict` (trusted | caution | unverified | flagged), `reason`, the record and its signed passport when one exists. Never invoke a `flagged` target; treat `unverified` as review-first.

## Signed trust passport

```sh
curl https://unfragile.ai/api/v1/trust-passport-public-key
curl https://unfragile.ai/api/v1/passport/api%3Astripe.com
```

Offline verifier (copy-paste): https://unfragile.ai/how#verify

## The rules

1. Labels are the instruments' verdict: verified and signed · official · checked: not enough evidence yet · found in code, not yet checked · website read, tools not yet checked · demo or tutorial · failed its last check. No ranking, model or payment changes them.
2. Never invoke a `failed` or `flagged` target. Treat checked (not enough evidence yet) and found-in-code as review-first. Unknown is never safe.
3. An honest no is an answer: `answer.products` is empty and `answer.fit` is 0 when nothing fits; `answer.question` asks one thing back when the task is ambiguous.
4. Cite the passport: a verified result's `url` is its signed passport.

## Citation

Cite a record by its page, `https://unfragile.ai/<slug>`, or its passport URL; cite index numbers from `https://unfragile.ai/api/v1/stats`.

## Links

- For agents (human page): https://unfragile.ai/docs/agents
- API reference: https://unfragile.ai/docs · resolve: https://unfragile.ai/docs#resolve
- MCP server: https://unfragile.ai/docs/mcp
- How we check: https://unfragile.ai/how
- Robots: https://unfragile.ai/robots.md
- OpenAPI description: https://unfragile.ai/openapi.json
- The full LLM guide: https://unfragile.ai/llms.txt
