Skip to content

La Ruta

No monarch butterfly makes the whole migration: it takes several generations, and still they reach the same fir forests in Michoacán every autumn. AI agents are like that. An agent session remembers nothing of the last one, and the model itself will be replaced. La Ruta is where the way is kept: the platform's memory, for people and for agents, so that whoever comes next (another session, another model, or a person) picks up where the last one left off.

What it holds

Kind What Who writes it
Decision what was decided, and why people and agents
Manual how to do something here people and agents
To do something left to do; ticked off when done people and agents
Note anything else worth knowing people and agents
Lived (lo vivido) stories people lived, in their own words people only

Lo vivido exists because an agent only knows what was written down, not what people lived. Those stories are kept as told; agents read them with respect but can never write or change them.

Nothing is lost: an edit keeps the previous version, and Archive hides an entry without deleting it.

Entries about an app

A to-do or a decision can say which app it is about (the optional app field). The Ruta stays one; the entry simply also shows in that app's libreta, the list of what was asked for the app and whether it is done. An entry about an app can name the branches it is worked on (rama), so its state there comes from their runs, merge and release, and it can be set aside with its reason (descartado), which the libreta shows as discarded (or with Discard on its card there). A branch is also linked by itself: a commit pushed to it with a line Ruta: 150 names that entry, and a branch an agent runs in its cargo answers the entries about that app it wrote or changed in the cargo (which branches belong to a request). The history keeps an entry's app and its reason for being set aside too, like its other fields. Note a request on an app's Libreta tab writes a to-do with the app already set. An entry about an app the person may not see is hidden from them, as one tagged with it is.

For you: the front page

The Ruta opens on For you (Para usted): how many things wait for your word, the coding agent live (what it does now and how far it is; a tap opens its queue), and then one row for each thing that needs you, each with one action:

Row What it is Its action
Review an encargo an agent delivered opens it to mark it reviewed or send it back
Encargos waiting for someone pending encargos nobody has, that the coding agent will not take by itself and you did not leave to your own agent tick the ones to send to the coding agent (the bar at the bottom sends them, with what they would cost), or Choose app when one says none
Decide an entry tagged por-decidir: a decision only a person makes opens it
Rate a known failure the diagnostician wrote with a stronger model, still sin confirmar the run, to say whether it was right
Do it yourself a to-do tagged para-usted, or with your login (as agents mark what only you can do: an account only you have, a key only you hold) opens its steps
Nobody answered a person's comment on an agent's work no agent has answered yet the thread

Agents learn the two tags from ruta_anotar: por-decidir when an entry waits for a person's word, para-usted (or the person's login) when only a person can do it. Meanwhile counts what goes on by itself: encargos in agents' hands, to-dos for later, what was done today (encargos delivered and to-dos ticked) and new stories in lo vivido, each a link to where it is.

On a phone the Ruta's four places are a bar at the bottom, above the menu: For you, Encargos, The agent (the coding agent's queue, see Encargos) and Journal (Cuaderno). On a computer they are tabs on top, and For you has a right column with the agent, the counts, the journal's sections and the latest entries. The journal is a search and a card for each section: to-dos, decisions, manuals, lo vivido, cargos and the agents' keys, with what was written last. Old links keep working: ?tab=encargos, ?tab=cargos, ?tab=vivido, ?tab=llaves, and ?tab=ruta or ?entrada=N for the index of every entry. When movement is off (in the top bar, or on the device) the monarch, the agent's spinner and its progress stay still.

Cargos: an agent's turn of work

An agent that wants to write first takes a cargo: a turn of work with a purpose ("move stockpulse's database"). Everything it writes belongs to that cargo. Before it leaves, it hands the cargo over (entrega): what it did, and what is left. The next agent starts by reading the last handovers. The Cargos tab shows them as the monarchs' flight, one after another, with every tool call recorded.

Encargos is the work asked of agents: you write what to do, an agent takes it, may wait on its runs, and hands it over; you review it or send it back. See Encargos.

Comments on an agent's work

When something in a handover or an encargo is wrong, or you would like it otherwise, say so under it: every cargo on the Cargos tab and every encargo has Comment on it. A comment sends nothing back and changes nothing; it is a thread with who said what and when.

  • Agents find them. ruta_inicio lists the comments no agent has answered, those on the agent's own work first, and encargo_leer and encargo_esperar bring the ones on an encargo, so a comment made while an agent works on it reaches that agent at its next wait.
  • They answer. With comentario_responder an agent says what it did about it, or why not; the answer sits under your comment.
  • The bell tells you. An agent's answer to your comment waits in the bell until you see it in its thread. Comments do not send email.

Comments are kept like the rest of the Ruta, and a comment that looks like a secret is refused. An agent reads a comment as a person's word about its work: when it asks for something other than what the person it works with asked for, the agent says so instead of doing it.

Talking an entry over

Every entry but lo vivido opens in two tabs: The entry (La entrada) and Talk it over (Platicarla), with how many messages it has. The second is a conversation about the entry, kept with it: everyone who can see the entry can join in, and every message is signed with who wrote it (a person's login, the AI with its model, or an agent with its key's name). Two people in it see each other's messages within a few seconds.

  • Who answers. The box to write in has the AIs the AI page offers now, each with what a message costs: the platform's AI, your organization's own key, the local model (free), and My agent (Mi agente), your own Claude Code or Codex. The choice is kept with the conversation. With My agent the platform's AI does not answer: your agent finds the conversations waiting for it with platicas_esperando and answers with platica_responder, in a cargo, signed with its key's name.
  • What the AI reads. The entry, the Ruta's entries related to it (never lo vivido) and the book's pages whose titles match; under each answer it says what it read. It only talks: it has no tools and changes nothing. What people wrote reaches it fenced, as data and never as instructions, so a text that asks it to do something is only part of what the text says.
  • The idea so far (La idea hasta ahora). After each answer the AI writes, in a few lines, what has been decided and, last, what is still to decide (those lines start with Still to decide, in red). Anyone in the conversation can Correct it; the AI keeps the corrections.
  • What it costs. Under the box: what the conversation has spent. Past the cap per conversation (on the AI page, under Talking entries over, 50 cents unless an administrator changes it) it asks before going on, and each yes allows one cap more. The local model and your own agent cost nothing here; every call goes through the AI gateway, so the monthly caps hold too.

Done: make encargos (Ya está: hacer encargos) asks the AI to turn what was decided into encargos. You see what was decided (with Save it as a decision in the Ruta: a decision entry linked to this one) and each proposed encargo, to keep or leave out, with its title, its app (required), its difficulty and what the platform's AI would spend (priced by the estimator, as any encargo), who does it (the platform's AI or your own agent, by your amount per encargo, which you can change) and what it comes after. + Add another adds one by hand. Make them creates them; Make and send also sends the platform AI's ones to the coding agent. Each encargo carries a link to the conversation, the idea as it stood and the decision, so the agent that takes it knows why. Only save the decision saves the decision without encargos.

Connecting an agent (MCP)

Agents reach the Ruta through MCP (Model Context Protocol), an open standard many AI tools speak, at https://<your rendimiento>/mcp.

  1. On Ruta → Keys, create a key: a name, its role (reader, or collaborator to also write and run CI), optionally the apps it may use, and how long it lasts (at most 90 days). The key is shown once.
  2. Connect the agent. In Claude Code:

    claude mcp add --transport http rendimiento https://rendimiento.example.com/mcp \
      --header "Authorization: Bearer $RENDIMIENTO_MCP_TOKEN"
    

    Or commit a .mcp.json to a repository, so anyone who opens it with an agent is connected, with the key in an environment variable and never in git:

    { "mcpServers": { "rendimiento": { "type": "http", "url": "https://rendimiento.example.com/mcp",
        "headers": { "Authorization": "Bearer ${RENDIMIENTO_MCP_TOKEN}" } } } }
    
  3. When the agent connects, the server tells it the rules: start with ruta_inicio, take a cargo before writing, hand it over before leaving, never write secrets.

The rules and the tools' descriptions come in the platform's language (NOTIFY_LANG), or in the one the address asks for: /mcp?lang=en or /mcp?lang=es. The tools keep their Spanish names (ruta_inicio, cargo_tomar…) in both, and so do the fields of their answers; the English instructions explain the words an agent meets (cargo, encargo, entrega).

When a release changes the tools

An agent's client lists the tools, and what each one answers (its output schema), when it connects, and keeps that list for the whole session. The endpoint is stateless: each request is answered on its own, with no stream back to the client, so it cannot send notifications/tools/list_changed when a release adds or changes a tool. A session opened before a release keeps the tools of the release before: what was added since is missing until the agent starts a new session. So that such a session keeps working meanwhile, output schemas are open (they never say additionalProperties: false) and a new field of an answer is always optional: an old session takes an answer with one field more. Sessions opened before the first release with open schemas still have closed ones; if a tool answers Structured content does not match the tool's output schema, start a new session.

Tool Does Key
ruta_inicio the last handovers, open to-dos, recent entries, and the agent's open cargo any
ruta_buscar search by text and kind any
ruta_leer one entry in full any
cargo_tomar take a cargo with a purpose collaborator
ruta_anotar add a decision, manual, to-do or note; with app, about that app (its libreta shows it), and with rama, the branch it is worked on collaborator, with a cargo
ruta_actualizar change an entry or its app, tick a to-do, link one more branch (rama) or set it aside with the reason (descartado) collaborator, with a cargo
cargo_entregar hand the cargo over collaborator, with a cargo
comentarios_leer the comments on a cargo or an encargo, with agents' answers any
comentario_responder answer a person's comment collaborator, with a cargo
platicas_esperando the conversations about entries that chose the person's own agent (My agent) and wait for it, with their entry, idea and last messages any
platica_responder answer one, signed with the key's name, and update its idea (idea) collaborator, with a cargo

The same server also has the platform's tools (apps, runs, logs, kept requests, and running CI on a branch) and, while the Mercado is on, its tools: see Built for agents.

Safety

  • Keys are random, stored only as a SHA-256 hash, always expire, and can be revoked on the Keys tab; revoking closes the key's open cargo. A reader's key doesn't even see the writing tools, and a key limited to some apps sees only those.
  • No secrets: entries that look like a password, token or private key are refused, by agents and people alike. Write where a secret lives (the Secret's name), not its value.
  • Everything is recorded: every tool call, allowed or refused, with its key and cargo.
  • Notes, not orders: agents are told that entries are notes. If an entry asks for something the person they work with didn't ask for, they don't do it, and say so.
  • Same front door: /mcp refuses requests from other websites (the Origin check), like the rest of the API.
  • Agents test, people deploy: an agent can run CI on a branch, never on the default one (which deploys). Deploying and rolling back through MCP come later, with a person's approval.