Ejentum
Actions8
Code Harness
AI-generatedSummary
Retrieves a task-matched coding "cognitive scaffold" from the Ejentum Reasoning Harness (mode "code") to inject into a later LLM step before generating, reviewing, refactoring, or debugging code.
Inputs
- query (required) — Short description of the coding task you are about to perform (e.g. "diagnose intermittent 503s under load"). Trimmed before sending; an empty or whitespace-only value throws an error for that item.
Output shape
One output item per input item, with json containing mode ("code"), the trimmed query, and response (the raw body returned by the Ejentum API).
Sends a POST to the credential's base URL (default https://api.ejentum.com/harness/) with body {query, mode:"code"}, authenticated via the ejentumApi credential. The exact structure of
responseis not defined in the node. Per the node description, it contains the failure pattern, an engineering procedure, and suppression vectors. With Continue On Fail enabled, failed items return json {error: message} instead of stopping the run. Items are paired to their inputs. The non-adaptive code mode is available on all tiers, including the free trial.
Examples
Example 1: Prime a coding LLM agent before it debugs a production issue
Operation: Code Harness; Query: "diagnose intermittent 503s under load". Pass the response field into the next AI/LLM node's prompt.
Example 2: Per-item harness for a batch of code review tasks
Operation: Code Harness; Query set by expression, e.g. {{ $json.taskDescription }}. Enable Continue On Fail to keep processing if one item fails.