Reference·CellsIndex

Cells

Add a cell from the hub and the agent gains a skill: here, language servers that check every file it writes.

.mdllms.txt

Nodecode is built from cells. Discord, Telegram, cron, the guard: each is a folder you can see in /cells and switch off. More are on the hub, and one line adds one.

Adds a cell from the hub

nodecode add nc://lsp adds nodecode-lsp, a port of oh-my-pi's language-server module:

  1. Before installing, it shows the repository, the commit it is pinned at, and that the cell runs with full access to your files and keys.
  2. Pyright is on the PATH, so the cell starts it the first time the agent writes a Python file.
  3. Asked to make Reader.feed take str, the agent changes the signature and leaves the bytes buffer under it. The eval that wrote the file comes back with pyright's error at app/sse.py:12:9: Operator "+=" not supported for types "bytes" and "str".
  4. The agent writes both files as text, and the eval's tests pass. /cells lists lsp under From the hub, running.

How

  • nodecode add nc://NAME installs a cell from the hub. With Nodecode running it turns on there, with no restart; otherwise it loads at the next launch.
  • In /cells, the Hub tab lists the same cells. Space shows where one comes from; a second Space installs it.
  • Ask for a part that does not exist yet ("Make a cell that...") and the agent builds it as a cell of its own.
  • A cell is a git repository. Push it anywhere to share it. The rest are under Cells.

Every rule and table: Cells reference. How a cell is written: Cell API.

Esc

    Loading the index…

    ↑↓ moveEnter openEsc close