Ammad-Nasir

Reliable Agent — Data skill for Claude Code

Data community

Reliable multi-step AI agent with planning, tool use, memory, human approval for risky actions, and full observability.

How to install Reliable Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Ammad-Nasir/reliable-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Reliable Agent does

Reliable multi-step AI agent with planning, tool use, memory, human approval for risky actions, and full observability. Stack: Python, LangGraph, Claude API, Redis, Postgres, FastAPI, Celery.

Alternatives in Data

  • Finance Skills Pack — Financial analysis and planning skills 5.3k ★
  • Vibepod CLI — Unified CLI for running AI coding agents in isolated containers 138 ★
  • Xiaoman — Xiaoman (小满) — a conversation-first, local-first personal finance AI agent · FastAPI + LangGraph + React · dat 77 ★

README

Reliable Multi-Step AI Agent System

A production-grade, highly reliable, multi-step customer remediation and support AI agent built with **LangGraph**, **Claude API**, **Redis**, **PostgreSQL**, **FastAPI**, and **Celery**.

The system features structured multi-step planning, typed tool execution, dual-layer persistent memory with full crash recovery, human-in-the-loop (HITL) checkpoints for high-risk financial and security actions, and comprehensive step trace logging.


1. Concrete Use Case: E-Commerce Customer Support & Order Remediation

The agent handles customer orders, shipment delays, compensation calculations, courtesy credits, refund processing, notification emails, and account fraud flagging.

6 Real Typed Tools with Pydantic Schemas

All tools are strictly validated using Pydantic schemas before invocation:

Tool Name Input Schema Purpose Risk Level
lookup_customer LookupCustomerInput (customer_id: str) Fetches customer profile, VIP/Gold/Bronze tier, lifetime spend, account status, and fraud risk score. Safe
lookup_order LookupOrderInput (order_id: str) Retrieves order items, promised vs actual delivery dates, carrier tracking status, delay days, and delivery notes. Safe
calculate_delay_compensation CalculateDelayCompensationInput (order_id: str, delay_days: int, customer_tier: Literal) Calculates policy-compliant compensation voucher or credit based on shipping delay duration and loyalty tier multiplier. Safe
issue_refund IssueRefundInput (order_id: str, amount: float > 0, reason: str, refund_method: Literal) Issues a financial refund to original payment or store credit. Amounts > $50.00 trigger a high-risk supervisor authorization checkpoint. High Risk (> $50.00)
send_email_notification SendEmailNotificationInput (customer_email: str, subject: str, body: str, template_type: Literal) Dispatches an official resolution or courtesy