Nodecode Subagents
Install · Configure · Eval APIs · Sessions and coordination
An OMP-style Nodecode cell for parallel child sessions and IRC-style coordination on Nodecode's durable Board. Nodecode's built-in eval is the sole model tool; this cell adds reusable Lisp APIs, not provider-facing tools.
Install
Clone this repository into Nodecode's local cells directory, then restart Nodecode or run (restart-cells):
Windows · PowerShell
git clone https://github.com/drvova/nodecode-subagents "$HOME\.nodecode\cells\nodecode-subagents"
macOS · Linux
git clone https://github.com/drvova/nodecode-subagents "$HOME/.nodecode/cells/nodecode-subagents"
Nodecode must have local-cell loading enabled. Install and enable the nodecode-board cell as well; it provides the durable board used for coordination.
Configure
Enable both cells in ~/.nodecode/config.jsonc:
{
"board": { "enabled": true },
"subagents": {
"enabled": true,
"max_agents": 4
}
}
max_agents accepts 1–5 and controls concurrency only. This cell adds no per-worker or team-wide token/time ceiling and does not override Nodecode's turn-budget policy. Workers inherit the parent's model selection; Nodecode and the selected provider/model remain responsible for their own limits.
When upgrading from 0.1.x, remove budget_tokens and budget_seconds from ~/.nodecode/config.jsonc; the cell no longer reads them.
Eval APIs
The cell exports subagents:task, subagents:agents, and subagents:irc. Call them as Common Lisp forms through Nodecode's built-in eval:
(subagents:task '((:name "worker" :task "Inspect the parser and report findings."))
:context "The goal is to identify parsing edge cases.")
(subagents:agents "list")
(subagents:irc "send" :message "I found an edge case in the parser.")
task has signature (task tasks &key (context "") (workspace "") (team-id "") (await nil) (timeout-seconds 60)); each assignment is a plist with :name, :task, and optional :workspace.
agents has signature (agents op &key (team-id "") (agent "") (timeout-seconds 60)). op is "list", "wait", or "stop".
irc has signature (irc op &key (team-id "") (to "all") (message "") (reply-to "") (from "") (after -1) (limit 25) (timeout-seconds 30) (await-reply nil)). op is "join", "send", "inbox", "history", "wait", or "roster".
Sessions and coordination
A task request accepts :name and :task assignments and may include shared context, a common workspace, per-assignment workspaces, and an :await timeout. Child sessions inherit the parent's model selection, not its conversation; include the context they need explicitly.
Workers use the workspace paths you provide. Those directories are shared, not isolated worktrees. Give workers separate existing directories when they may edit the same files.
agents accepts "list", "wait", and "stop". irc accepts "join", "send", "inbox", "history", "wait", and "roster"; messages are stored on Nodecode Board. These are Lisp APIs called through the built-in eval, not separate provider-facing tools.
Artwork
The Foresight Labs mark is a 312 × 266 pixel-art SVG with seven color paths and 253 rectangular cells, not a 3D model. Its compiled React/Next.js bundle stores the animation as 24 frames on a 39 × 28 cell grid, packed as base64 data; a runtime decoder turns each frame into SVG paths and advances them at 12 fps on hover or focus. I couldn't find public source or metadata identifying the drawing/animation app, so I don't claim one. This README model is a source-geometry 3D reinterpretation, not their 2D player.
How the source artwork became a 3D animation
- Inspect the real asset. The SVG markup and rendered header were compared directly, recording the
viewBox, path order, fills, and hover behavior instead of tracing a screenshot or guessing at a 3D model. - Preserve and parse its geometry.
nodecode-axolotl.svgis the editable source.export-axolotl-stl.pyparses its closed rectangular path cells, retains each fill and coordinate, and writesaxo-pixels.jsonplus an STL preview. Unsupported path commands fail the export rather than silently changing the silhouette. - Extrude the original layers.
axolotl-model.tsxturns each rectangle into a RAEA cross-section, unions cells within each animated part, then extrudes the colored layers with small depth offsets. The original SVG coordinate system stays intact, so the 3D relief keeps the source proportions and pixel edges. - Rig around real attachments. Source cells are grouped into body, gills, eyes, and limb sections. Pivots sit at the limb roots; the shoulder rows stay with the torso while the lower sections paddle, preventing the legs from pulling away. Gills move independently with offset phases.
- Build a deterministic swim cycle.
axolotl-3d.tsxcreates four 96-frame, 24-fps section loops with different phases and views.readme-hero.tsxreuses the same model in a six-second hero. Frame-based body drift, yaw, pitch, roll, breathing, gill/limb strokes, and a brief blink create secondary motion without changing the mascot design. - Render for GitHub.
render-readme-mascot.ps1renders each RAEA composition to video and a representative PNG still; FFmpeg converts the video to a looping, palette-optimized GIF. The README's<picture>elements serve the stills when reduced motion is preferred. - Check the actual frames. Inspect the stills, limb roots, stroke extremes, and loop seam at display size; compare the silhouette to the SVG; then verify both the GIF and reduced-motion PNG in the rendered README.
The universal source-artwork reconstruction skill covers 1:1 2D reproduction and faithful 3D reconstruction, while distinguishing recovered source geometry from inferred depth. The focused 2D and 3D skills are also available. Copy any skill folder into an agent's supported skills directory to reuse it elsewhere.
Regenerate the artwork
From artwork/, regenerate the rectangle data, STL preview, animation loops, and reduced-motion stills with RAEA and ffmpeg installed:
python .\export-axolotl-stl.py .\render-readme-mascot.ps1
RAEA and FFmpeg are needed only to regenerate the artwork, not to run this cell. The source-derived model also has an interactive STL preview.
License
MIT. See LICENSE.
Credits
Built for Nodecode, the agent environment at nodecode.ai. This cell uses Nodecode's documented cell and eval APIs; it does not copy upstream code.