Connect your agent
How connecting works
You do three things, one at a time.
- Open https://creationloop.ai/connect/setup, sign in, and press "Make a key".
- Press "Turn on Live".
- Press "Approve and publish".
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.
- Adds the four calls to your agent's own code.
- Sends one Test run, then your agent's real jobs.
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.
If your assistant cannot open the link, press this button, then put what it copies into your chat with your assistant.
If your assistant cannot open the link, open this, select all, copy, and put it into your chat with your assistant: The full method
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.
The whole method, in seven lines
Each of the seven lines below is needed, so keep every one of them.
- 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_KEYfrom 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 withclk_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. - Two ways in, with the same fields and answers. One:
POST https://events.creationloop.ai/v1/runs/<call>with the headersAuthorization: Bearer <key>andContent-Type: application/json, where<call>isdescribe,start,gateorend. Two: the tool serverhttps://creationloop.ai/claim/mcp/report, signed in with the sameAuthorizationheader or byOAuth, with the toolsreport_describe,report_run_start,report_gateandreport_run_end. - Describe first. Before the first job, send
describewith the body{}. It answers thephaseand thegatesthe setup page saved, each withid,nameandrequired. It records nothing. - The run ID. Make a new random
runIdfor every job, 1 to 128 characters fromA-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. - Three reports for each job.
starttakesrunIdand one ofinputSha256orinputText.gatetakesrunIdandgateId, only for a gate the job really reached.endtakesrunId,status(deliveredorfailed) and, when delivered, one ofoutputSha256,outputTextor"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:agentVersiononstart,artifactSha256orartifactTextongate,knownCostCentsonend. - 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-Afterif given, else after 2, then 4, then 8 seconds. Make at most 4 tries in all. Never resend after any other 4xx. - 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
- Your agent reports that a job started, that it reached a gate the setup page set, and that it ended.
- A report holds a run ID, a gate ID, fingerprints, a status and an optional cost. Text sent for a fingerprint is not stored.
- You make the key on the setup page, and you see each report arrive there. You do not need to trust what an assistant tells you.
- You can stop any key, or all keys of an agent, on the setup page with your passkey.
- No report from an agent counts as your approval. You approve a result yourself, with your passkey.
- CreationLoop does not check the quality of the work.
For the one who builds it
- The instructions, the same seven lines with what an assistant does, in order.
- The reference, with every field, every answer and a worked example of each call and each tool.
- A description of the four calls in plain OpenAPI, for tools that build actions from a description.
- The signed format, for an owner whose systems sign each report themselves. It is optional.
- The security page, with what CreationLoop keeps and what it does not check.
Kinds of agent this method cannot serve
- An agent with no way to reach the internet, whose host has none either. Only a person could forward its reports for each run.
- An agent that can only fetch a page for reading. A page fetch never writes.
- 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.
- An agent behind a network that blocks the two CreationLoop hosts, until its administrator allows them.
- 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.