Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReliabilityLane

Reliability patterns for AI agents. Match a failure symptom to a known pattern, plan a retry with backoff, verify work against a checklist, and resolve incidents with a playbook — all from a curated, deterministic dataset. No LLM guessing.

Why it exists

Agents fail in predictable ways: they retry the same broken call forever, trust a green check without verifying the end state, grade their own work, lose context, and let a language model do arithmetic. ReliabilityLane turns those failures into deterministic rules so agents fail safer, retry smarter, and prove their work.

Open dataset, CLI, and MCP server today. Hosted power behind them.

Install

npm install @talocode/reliabilitylane

Quickstart

import { TalocodeApiClient } from '@talocode/reliabilitylane'

const api = new TalocodeApiClient({ apiKey: process.env.TALOCODE_API_KEY })

// Plan a retry for a 500
const plan = await api.reliabilitylane.retryPlan({ status: 500 })
console.log(plan.strategy.name, plan.nextDelayMs)

// Match a failure symptom to a pattern
const match = await api.reliabilitylane.match({ symptom: 'it keeps retrying the same call forever' })
console.log(match.matches[0].pattern.name)

// Verify a deployment
const result = await api.reliabilitylane.verify({
  area: 'deployment',
  evidence: { 'Deploy command exited with a success status': true },
})
console.log(result.verdict)

No key needed for the local deterministic engine:

import { matchFailure, planRetry, verify, incidentFor } from '@talocode/reliabilitylane'

planRetry({ status: 429 })                  // rate-limit strategy, jittered delay
matchFailure({ symptom: 'retries forever' }) // retry-hammering pattern
verify({ area: 'code', evidence: { 'Lint passes': true } })
incidentFor({ symptom: 'deploy failed' })

Auth / env

  • TALOCODE_API_KEY — hosted API key from StackLane Cloud
  • TALOCODE_BASE_URL — defaults to https://api.talocode.site

API surface

Hosted endpoints (/v1/reliabilitylane/*)

Method Route Credits Returns
GET /v1/reliabilitylane/health 0 service status
GET /v1/reliabilitylane/pricing 0 credit table
GET /v1/reliabilitylane/capabilities 0 dataset sizes + endpoints
GET /v1/reliabilitylane/patterns 1 all failure patterns
GET /v1/reliabilitylane/patterns/:id 1 single pattern
POST /v1/reliabilitylane/match 1 matched patterns for a symptom
GET /v1/reliabilitylane/retries 1 all retry strategies
POST /v1/reliabilitylane/retry-plan 1 retry plan for an error
GET /v1/reliabilitylane/checklists 1 all verification checklists
POST /v1/reliabilitylane/verify 1 checklist verdict from evidence
GET /v1/reliabilitylane/playbooks 1 all incident playbooks
POST /v1/reliabilitylane/incident 2 playbook for a failure
GET /v1/reliabilitylane/antipatterns 0 anti-patterns to avoid

Credits: patterns/retry/verify 1 cr, incident 2 cr, reads from dataset 0–1 cr.

Client methods

health, pricing, capabilities, patterns, retries, checklists, playbooks, antipatterns, match(input), retryPlan(input), verify(input), incident(input).

Local engine

classifyError, matchFailure, planRetry, verify, incidentFor, allAntiPatterns, getReliabilityLanePricing, getReliabilityLaneCapabilities.

CLI

reliabilitylane match "it keeps retrying the same call forever"
reliabilitylane retry-plan --status 429
reliabilitylane verify --area deployment --evidence "Service responds"
reliabilitylane incident "deploy failed"
reliabilitylane antipatterns
reliabilitylane patterns
reliabilitylane retries
reliabilitylane checklists
reliabilitylane playbooks
reliabilitylane list
reliabilitylane pricing
reliabilitylane capabilities

MCP server

npm install -g @talocode/reliabilitylane
reliabilitylane-mcp

Stdio JSON-RPC MCP server exposing 6 ReliabilityLane tools (match-pattern, retry-plan, verify, incident, antipatterns, list). Compatible with any MCP client.

Related packages

Package Install
ReliabilityLane (this package) npm i @talocode/reliabilitylane · pip install talocode-reliabilitylane
RetryLane npm i @talocode/retrylane
XSearchLane npm i @talocode/xsearchlane
CalcLane pip install talocode-calclane
SearchLane pip install talocode-searchlane
DocuLane pip install talocode-doculane
Codra pip install talocode-codra
Tera pip install talocode-tera
StackLane pip install talocode

Talocode ecosystem

Product Repo
ReliabilityLane (this repo) github.com/talocode/reliabilitylane
Tera github.com/talocode/tera
Codra github.com/talocode/codra
SearchLane github.com/talocode/searchlane
StackLane github.com/talocode/stacklane
GateLane github.com/talocode/gatelane
ContextLane github.com/talocode/contextlane
ScreenLane github.com/talocode/screenlane
MemoryLane github.com/talocode/memorylane
Tradia github.com/talocode/tradia
DevTool github.com/talocode/devtool
XProLane github.com/talocode/xprolane
XSearchLane github.com/talocode/xsearchlane
Agent Browser github.com/talocode/agent-browser
InvoiceLane github.com/talocode/invoicelane
GeoLane github.com/talocode/geolane
ClipLoop github.com/talocode/cliploop

More: github.com/talocode · talocode.site · docs.talocode.site

License

MIT © Talocode

About

Reliability patterns for AI agents — match failures, plan retries, verify work, resolve incidents from a curated dataset

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages