Skip to content

tim1771/worklocal-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Work Local AI — Paid API for AI Agents

AI implementation intelligence for small businesses, delivered via x402 micropayments


What Is This?

Work Local AI is a machine-to-machine paid API that provides curated AI tool reviews, industry benchmarks, training content, and ROI projections — designed for AI agents to consume programmatically.

Agents pay per request using USDC on Base via the x402 protocol. No API keys, no subscriptions. Payment is authentication.

Live at: https://worklocal-agent-services.onrender.com


Quick Start

1. Discover available services (free)

curl https://worklocal-agent-services.onrender.com/api/v1/services

Returns the full service catalog with endpoints, prices, input schemas, and payment details.

2. Wake the server (free)

curl https://worklocal-agent-services.onrender.com/api/v1/ping

The server runs on a free tier and may sleep after 15 minutes of inactivity. Call /ping before making paid requests to ensure the server is warm.

3. Make a paid request

Call any paid endpoint. The server responds with 402 Payment Required and payment details. Your x402 client signs a USDC payment, then resends the request with the payment header. The server verifies, settles, and returns the data.


Endpoints

Endpoint Method Price Description
/api/v1/ai-readiness POST $0.05 AI adoption rates, scoring weights, competitor gaps, and highest-ROI automations for a specific industry
/api/v1/competitive-intel POST $0.10 Industry benchmarks combined with AI tool analysis for competitive positioning
/api/v1/tool-recommendations POST $0.03 Scored AI tool reviews filtered by category, industry, or budget — with pros/cons and pricing
/api/v1/training-content POST $0.08 Structured micro-training modules with objectives, exercises, quizzes, and further reading
/api/v1/roi-calculator POST $0.02 Time and cost savings projections (conservative/moderate/aggressive) based on real labor market data

Free Endpoints

Endpoint Method Description
/api/v1/services GET Machine-readable service catalog (JSON)
/api/v1/health GET Server health, database status, uptime
/api/v1/ping GET Lightweight wake-up call

Data Coverage

20 AI Tools Reviewed

ChatGPT, Canva, Mailchimp, HubSpot CRM, Calendly, Tidio, Notion AI, QuickBooks, Shopify, Hootsuite, Buffer, Grammarly, Midjourney, FreshBooks, Surfer SEO, Otter.ai, Square, Zapier, Instantly.ai, Claude

Each tool has scores (1-10) for ease of use, price/value, integration, AI capability, and support — plus pros, cons, ideal industries, and integration lists.

12 Industries Benchmarked

Retail, Restaurant, Healthcare, Real Estate, Construction, Legal, Salon/Beauty, Fitness, Dental, Home Services, Automotive, Accounting

Each industry includes AI adoption rates, competitor gaps, highest-ROI automations, average time saved, and data sources.

8 Training Modules

Prompt Engineering, AI Customer Service, Email Marketing, Social Media Strategy, Local SEO, Automated Bookkeeping, AI-Assisted Hiring, Content Creation Workflows

Each module has objectives, key concepts, hands-on exercises, quizzes, and further reading.

13 ROI Templates

Email Marketing, Content Creation, Scheduling/Booking, Workflow Automation, Customer Service, Social Media, CRM/Sales, Bookkeeping, SEO/Content, Appointment Scheduling, Graphic Design, Hiring/Recruitment, Meeting Productivity


Example Workflows

Full Business Assessment — 3 calls, $0.17

1. POST /api/v1/ai-readiness       → Industry baseline and adoption data
2. POST /api/v1/competitive-intel   → Competitive landscape + relevant tools
3. POST /api/v1/roi-calculator      → ROI projection for top recommendation

Tool Selection Pipeline — 2 calls, $0.05

1. POST /api/v1/tool-recommendations → Scored options for the use case
2. POST /api/v1/roi-calculator       → Calculate ROI for the best match

Training Delivery — 2 calls, $0.11

1. POST /api/v1/tool-recommendations → Identify tools for client
2. POST /api/v1/training-content     → Training module for selected tool

Payment Details

Property Value
Protocol x402
Currency USDC
Network Base (eip155:8453)
Wallet 0xBDF8008d2F6B8F2F34F19443534C907277528cb4
Facilitator https://facilitator.payai.network

No API keys. No accounts. No subscriptions. An agent with a USDC balance on Base can call any endpoint immediately.


For Agent Developers

Install the SKILL.md file into your agent's skills directory to teach it how to discover and consume this API automatically.

cp SKILL.md ~/.cursor/skills/worklocal-agent-services/SKILL.md

The skill activates automatically when the agent encounters tasks related to AI implementation, small business tools, industry benchmarks, training content, or ROI analysis.


Infrastructure Notes

  • Hosting: Render (free tier — server may sleep after 15 min of inactivity)
  • Cold start: First request after sleep takes 30-60 seconds. Call /api/v1/ping first.
  • x402 flow: The initial 402 response wakes the server; your paid follow-up will be fast.
  • Retry policy: If a request times out, retry once after 5 seconds.
  • Timeout suggestion: Set HTTP client timeout to at least 90 seconds for first request.

Error Codes

Status Meaning
200 Success
400 Missing required input fields
402 Payment required — include x402 payment header
404 No data found for the given query
500 Server error

Links


Built for the autonomous machine economy. Powered by x402 micropayments on Base.

About

Paid API for AI agents — AI tool reviews, industry benchmarks, training content, ROI projections. x402 micropayments (USDC on Base).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors