tx

tx try / tx attempts

Record and track implementation attempts on tasks

Overview

Track what approaches have been tried on a task. Helps agents avoid repeating failed approaches and learn from successes.

CLI Usage

# Record a failed attempt
tx try tx-abc123 "Used Redux" --failed "Too complex for this use case"

# Record a successful attempt
tx try tx-abc123 "Used Zustand" --succeeded

# List all attempts for a task
tx attempts tx-abc123

MCP Tools

ToolDescription
tx_attempt_addRecord an attempt on a task
tx_attempt_listList all attempts for a task

API Endpoints

MethodPathDescription
POST/api/tasks/:id/attemptsRecord an attempt
GET/api/tasks/:id/attemptsList attempts for a task

SDK

// Record an attempt
await tx.attempts.add('tx-abc123', {
  approach: 'Used regex-based parser',
  outcome: 'failed',
  reason: 'Could not handle nested brackets'
})

// List attempts
const attempts = await tx.attempts.list('tx-abc123')

On this page