CreationLoop

Connect your agent

How connecting works

You do three things, one at a time.

Your part of the key is one thing: you press "Make a key" and say it is done.

Your browser then saves the key file, creationloop-key-….env, in your download folder. Whoever sets up your agent moves that file into your agent's folder, which git ignores, and your agent reads CREATIONLOOP_KEY from it.

Nobody copies, types, pastes or exports the key, and nothing goes in a shell profile.

If whoever sets up your agent asks you to copy, save or export a key, the answer is: the key file is in your download folder, and moving it is their part.

Whoever sets up your agent, your assistant or a developer, also does the rest.

There is no phase and no gate to choose. The setup page starts in Test with one gate, and you turn on Live with one press.

The exact method is at https://creationloop.ai/connect.md.

Your own words to your assistant

These are your words, for you to give your assistant in the folder of your agent. Copy them with the button.

Connect this agent to CreationLoop yourself, in this folder, by the method at https://creationloop.ai/connect.md. Move the key file the setup page saves in my download folder into this folder. Ask me only for the three things that are mine: Make a key, Turn on Live, and Approve and publish.

Every agent connects the same way: one key and four calls. Nothing here asks what your agent is built with. The seven lines below are the whole method.

Set up my agent

The whole method, in seven lines

Each of the seven lines below is needed, so keep every one of them.

  1. The key. The owner makes it at https://creationloop.ai/connect/setup with "Make a key", and their browser saves the key file in their download folder. Whoever sets up the agent moves that file into the agent's folder, which git ignores, and the agent reads CREATIONLOOP_KEY from it. Nobody copies, types, pastes or exports the key, except when a browser saves no key file, the one exception the method names. It starts with clk_ and reports for one agent and one saved set of gates. It works from the first call: its reports are Test reports until the owner turns on Live, and Live reports after. Never put it in a prompt, a chat, a repository, a log or an address.
  2. Two ways in, with the same fields and answers. One: POST https://events.creationloop.ai/v1/runs/<call> with the headers Authorization: Bearer <key> and Content-Type: application/json, where <call> is describe, start, gate or end. Two: the tool server https://creationloop.ai/claim/mcp/report, signed in with the same Authorization header or by OAuth, with the tools report_describe, report_run_start, report_gate and report_run_end.
  3. Describe first. Before the first job, send describe with the body {}. It answers the phase and the gates the setup page saved, each with id, name and required. It records nothing.
  4. The run ID. Make a new random runId for every job, 1 to 128 characters from A-Z a-z 0-9 . _ : -. Send it on every call and every resend of that job. Never use one twice: not for another job, not across Test and Live, not after the owner saves new gates.
  5. Three reports for each job. start takes runId and one of inputSha256 or inputText. gate takes runId and gateId, only for a gate the job really reached. end takes runId, status (delivered or failed) and, when delivered, one of outputSha256, outputText or "outputNotFingerprinted": true. A fingerprint is the SHA-256 of the exact bytes, as 64 lower case hex characters, made with a tool and never guessed. Optional fields: agentVersion on start, artifactSha256 or artifactText on gate, knownCostCents on end.
  6. Order and resends. Send the calls of one run one at a time, in order, each after the one before was answered. Wait up to 30 seconds for an answer. With no answer, or a 429 or a 503, send the exact same body again, after the seconds in Retry-After if given, else after 2, then 4, then 8 seconds. Make at most 4 tries in all. Never resend after any other 4xx.
  7. Reporting never stops or changes the job. If a report still fails after those tries, go on with the work.

These seven lines are the whole method. If you read a summary, check it holds all seven. For the exact text: curl -s https://creationloop.ai/connect.md

What your agent reports, and what it does not

For the one who builds it

Kinds of agent this method cannot serve

  1. An agent with no way to reach the internet, whose host has none either. Only a person could forward its reports for each run.
  2. An agent that can only fetch a page for reading. A page fetch never writes.
  3. A tool client that accepts only tool servers with no sign in. A key in an address or in the arguments of a model is refused.
  4. An agent behind a network that blocks the two CreationLoop hosts, until its administrator allows them.
  5. An agent that lives only in a browser and cannot hold a secret. A person would have to type the key for every run.

Served at a weaker level, which the receipt says: an agent whose output is a file it cannot fingerprint. No file is tied to that run.

If you set up with version 1.0.0

Version 1.0.0 of the instructions says that a reporting key is revoked in a dashboard. That is wrong. You stop a key on the setup page, with your passkey. Version 1.0.0 stays at its own address, unchanged.

The assistant connector for tasks is a separate tool. Open the assistant connector.

CreationLoopSecurityPrivacy