← Work

net-triage

Give it a network log or a device config and it tells you what's probably wrong, and which lines gave it away.

$ npm run eval[PASS] bgp-neighbor-as-mismatch: bgp_neighbor_down (exp bgp_neighbor_down, conf 99%)[PASS] stp-loop-macflap: stp_loop (exp stp_loop, conf 97%)... 14 more ...Accuracy: 16/16 (100%)Total cost: $0.1977

Most of the work went into the test set: 16 real Cisco IOS cases where I already know the answer. It gets all 16 right at the moment, for about 20 cents a run.

Try it

$ git clone https://github.com/LeelaKrishna-R/net-triage && cd net-triage$ npm install$ export ANTHROPIC_API_KEY=sk-ant-...$ node src/cli.ts fixtures/ospf-adjacency/input.txt
2026TypeScriptClaude