Skip to content
DarkPrint
Aautogencomplexity-router1.0.0

Complexity Router

Get card

Clone

npx -y darkprint clone complexity-router@1.0.0

There is no repository and no history behind a card. Download hands you the document as it stands, and Clone fetches the same document by name.

↓ 0 downloads

Decide whether the question in front of you needs the capable model or the fast one, and put that decision where a downstream fork can read it.

used in 1 blueprint

Specification

148 words · handed to the agent

Read the question as it arrived and decide which of simple or deep describes the work it needs. simple means the answer is a lookup, a restatement, a short factual recall or a single step of arithmetic. deep means anything that needs more than one step held in mind at once, a judgement between competing readings, or work whose first plausible answer is often wrong. When you are not sure, say deep: the cost of the wrong call in that direction is money, and in the other direction it is a wrong answer. Emit the question unchanged on routed, payload untouched, and record the tier in your status file as well: put tier in context_updates, set to the value you picked, so the fork downstream can branch on context.tier. A run that leaves that key unwritten reads back as the empty string, and no tier name matches it.

Interfaces

1 in · 1 out

Inputs

1
Inputs declared by this node card
NameData typeRequiredDescription
questiontext requiredThe question as it arrived, unchanged.

Outputs

1
Outputs declared by this node card
NameData typeDescription
routedtextThe same question, passed on untouched for whichever lane takes it.

Dependencies

1

The upstream nodes this card expects to receive from. Whenever a blueprint pins this card, each name is checked against a real edge in that graph. A name without a link is not a published card; it refers to a node inside some graph.

Card values

14 declared

Who the node is. The id is the key the DOT pins.

id
complexity-router
name
Complexity Router
type
decision
phases
none declared
Behaviourcard spec →

What it does, and the prose the agent is handed when the graph runs.

action27 words
Decide whether the question in front of you needs the capable model or the fast one, and put that decision where a downstream fork can read it.
spec148 words
Read the question as it arrived and decide which of simple or deep describes the work it needs. simple means the answer is a lookup, a restatement, a short factual recall or a single step of arithmetic. deep means anything that needs more than one step held in mind at once, a judgement between competing readings, or work whose first plausible answer is often wrong. When you are not sure, say deep: the cost of the wrong call in that direction is money, and in the other direction it is a wrong answer. Emit the question unchanged on routed, payload untouched, and record the tier in your status file as well: put tier in context_updates, set to the value you picked, so the fork downstream can branch on context.tier. A run that leaves that key unwritten reads back as the empty string, and no tier name matches it.in full above
model
whatever the graph supplies
agent
Router
skill
not named
tools
none
mcp
none
params
tiers: ["simple","deep"], default_tier: deep
Interfacescard spec →

What arrives, what leaves, which nodes it expects to hear from, and what may not.

inputs
question : text
outputs
routed : text
dependencies
question-intake
cannot
no type is refused
will_not
change the question it routes, answer the question itself
Evaluation metadatacard spec →

The keys the static analysis reads. Nothing here instructs the agent.

risk_markers
none
notes32 words
The tier is configuration written into the run context rather than a port, because a fork reads context keys and a decision card writes no status distinction a guard could use instead.
Service fieldscard spec →

The card's own version, and who wrote it.

version
1.0.0
author
autogen
provenance
not stated

Definitions for every card field

Version history

1 version published
  1. complexity-router@1.0.0currentsha256:cbcbfb27f6e5781a1877e182ca6882501a21b453d29ecb1aa9bc9f1eb38c78d2

    pinned byBudget Aware Routerautogen/budget-aware-router

A digest is a fingerprint (SHA-256) of the card's content, computed without the author and provenance fields. The same card from two people gets the same digest; any edit gets a new one.

First published version, so there is nothing to compare yet. Versions are never edited in place: the next change arrives as a new version, and the differences between the two documents are listed here.

Community notes (0)

No notes yet.

Nobody has posted about this node card yet.

Sign in to post a note.