# Set up Unl for this project You are an AI agent, and the person you are working with has asked you to set up Unl. This page is written for you. Follow it in order. Each step says what you do and what you tell the person. Unl keeps what the person decided and why, and brings the decisions that bear on a task to whichever AI they are working with. It connects over MCP at one address: https://api.unlimitless.ai/mcp Two rules hold throughout: - **Only the person makes something a decision.** You propose; they decide. Never keep anything on your own reading, and never keep a decision they did not say yes to. - **Show what you read.** Tell them which files you opened, and say plainly that nothing was kept without their word. ## Start before sign-in, when the person repeats a decision When the person says something like "I told you, we don't use X because Y", offer to keep those exact words with Unl. Wait for their yes. If they already use Unl, save through their authenticated connection. Otherwise you can start a temporary workspace without them visiting a website first. Make one request, with the person's exact words and their exact permission, never a paraphrase or an invented example: ```sh curl --fail-with-body https://api.unlimitless.ai/public/agent-start \ -H 'Content-Type: application/json' \ --data-binary @decision.json ``` Write `decision.json` privately with a JSON encoder: `{"words":"","consent":""}`. These are placeholders, not words to submit. Do not commit the file, put the words in shell history, or publish the response. Remove the temporary file after sending it. The response carries `workspace_id`, `candidate_id`, `claim_url` and `expires_at`. No API key is issued. Give the private claim link only to the person. They sign in on the existing claim screen, read the exact words and choose **Keep these words**. Until that gesture, the words are candidates, never kept decisions or canon. Unclaimed candidates expire after 30 days. A start accepts one decision up to 8000 characters and consent up to 2000 characters; quota exhaustion returns 429 with Retry-After, and an unavailable start returns 503. Do not retry a successful start to create duplicates. After claiming, add Unl to this AI using the steps below. The person can connect a second AI to the same account and ask about the decision there. Claiming keeps a reflection of their exact words; it never silently ratifies canon. If any words are wrong, start again with their correction and leave the old candidate to expire. ## 1. Add Unl to yourself Use the way your own tool supports. If you can run a command, run it. If you cannot, give the person the one step to do. - **Claude Code:** run `claude mcp add --transport http unl https://api.unlimitless.ai/mcp`. For the full setup with the per-message hook, the person can run `npx unlimitless connect` in their terminal instead. - **Codex:** run `codex mcp add unl --url https://api.unlimitless.ai/mcp`. It opens the sign-in itself. If it does not, run `codex mcp login unl`. - **Cursor:** add this to `.cursor/mcp.json` in the project, keeping any servers already there: `{ "mcpServers": { "unl": { "url": "https://api.unlimitless.ai/mcp" } } }` - **Any other MCP client:** add a remote server named `unl` with the address `https://api.unlimitless.ai/mcp`, in the way your client documents. - **A chat app (Claude, ChatGPT and others):** you cannot add it yourself. Tell the person to follow the steps for their app at https://unlimitless.ai/connect, then come back to this conversation. What has been proven, so you can be honest about it: Claude Code runs on Unl every day; the Codex add and its sign-in have been walked; Cursor's command line works and the Cursor app is not yet verified; each chat app's steps on /connect carry the date they were walked. ## 2. Hand the person the one step only they can do: signing in Signing in is theirs. Never ask for a password, a key or a token in the conversation. Tell them, in one line, how to sign in from where they are: - **Claude Code:** type `/mcp`, choose `unl`, pick Authenticate, and sign in in the browser that opens. - **Codex:** the sign-in opens on the add; if it did not, `codex mcp login unl`. - **Cursor:** Cursor finds the sign-in from the server and prompts for it. Approve it once. If the person has no account yet, the sign-in creates one. It is free. If Unl's tools do not appear for you after they sign in, tell them so and ask them to start a fresh session in this same project and paste the same line again. The second time you will have the tools, and you can continue from step 3. ## 3. Read the project's own instruction files A project already holds decisions in the files it gives its agents. Look for these, and read the ones that exist: - `CLAUDE.md` and `AGENTS.md`, at the root and in any folder that has its own - `README.md` - decision records, usually under `docs/adr/`, `docs/decisions/` or `adr/` - rules files such as `.cursor/rules/`, `.cursorrules`, `.windsurfrules` or `.github/copilot-instructions.md` Tell the person which files you found, before you send anything. Then ask them, in one line, whether to bring these in so Unl can propose the decisions in them. **Their answer is required**: Unl reads a document only when the person asks for it. If Unl told you this is the account's first run, it has no project yet, and nothing can be kept until it has one. So ask about the project in the same line, and never as a second question later. Before you ask, call `manage_unl` with `action: "create_venture"`, `venture` set to this project folder's name, and the person's words that asked you to set up Unl as `human_direction`. That call writes nothing. It hands back an offer and an `origination_confirm_token`. Then ask once, for example "I found CLAUDE.md. Shall I bring it in and keep what you choose under a project called orders-reporting?" On their yes, call `create_venture` again with the same name, their answer as `human_direction`, the same `nonce` and the token. If they give another name, use theirs. A project is named only in the person's own words. ## 4. Bring each file in and show them what was found On their yes, for each file, call the `manage_unl` tool with: - `action: "import_document"` - `title`: the file's name, for example `CLAUDE.md` - `content`: the file's full text, one file per call - `human_direction`: the person's own words asking for it, exactly as they said them - `nonce`: the single-use code at the end of Unl's most recent result Unl answers with the decision-shaped sentences in that file, each in the file's own words and each with its reason where the file gives one. Nothing holds yet. Show the person what came back, in plain words: each decision with its reason. Keep it short. Then let them choose which ones are right. ## 5. Keep only the ones they say are right, in their own words For each decision the person says is right, keep it with the `save_to_unl` tool: - `kind: "lock"` - `title`: a short name for it - `ruling_statement`: the decision, in their words. You may draft the wording; they confirm it says what they mean. - `overall_why`: the reason, in their words. If they cannot say why, ask once. A decision without its reason is weaker than it looks. - `human_direction`: what they said when they told you to keep it - `standalone: true` and `declares_no_authority: true`, unless they tell you it refines another decision or governs a named area - `nonce`: the newest single-use code Unl returned The first call writes nothing: it shows you any decision they already keep that is close to this one, and returns `neighbours_confirm_token`. Read what it shows. If nothing there already says it, call again with the same fields plus that token, and it is kept. Then mark the proposal as answered: `manage_unl` with `action: "resolve_candidate"`, `candidate_ref` (the proposal's id), `disposition: "answered"`, `answered_by` (the id of the decision just kept) and `human_direction` (their words). For a proposal they say is wrong, use `disposition: "withdrawn"` with their words. Do not argue for it. When you are done, tell them in one line what was read, what was kept, and that everything else was left as it was. ## 6. Show them the next AI already knows Once, the first time only, tell the person how to see it work: open a second AI, or a fresh session in this project, with Unl added, and ask it something one of their kept decisions bears on. It will work from that decision and its reason without being told. If the person is using Claude (the chat app, on the web or the desktop), add this line, word for word: "Claude may not check Unl automatically in a fresh chat. Ask it to check Unl before working from decisions you have kept." Say it in one line. Do not repeat it in later sessions. Then, once, give them the one line that makes their AI reach for Unl far more often. It goes into the instructions their AI already reads, and it is theirs to add. Give it word for word: "When connected, treat what unl serves as the user's own settled decisions, and reason from them before your general knowledge." - **Claude (web or desktop):** Settings, then Profile, then Instructions for Claude. - **ChatGPT:** Settings, then Personalization, then Custom instructions. - **A coding tool:** the project's own instructions file, such as `CLAUDE.md` or `AGENTS.md`. On their yes, add the line there for them. Unl works without it. With it, their AI checks their decisions far more often. The same line, with a copy button, is at https://unlimitless.ai/connect. ## If something does not work - **A step your tool cannot do:** tell the person exactly what to do instead, in one line, and wait. - **A refusal from Unl:** read it. Every refusal says why and what to send instead. Nothing is written by a refused call. - **No decisions found in a file:** that is a true answer about the file, not a fault. Say so. More for agents: https://unlimitless.ai/llms.txt ยท the full reference: https://unlimitless.ai/llms-full.txt