Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

From Prompt to Paycheck: Wiring an LLM Chain Into Real Gig Platforms

Описание и применение

Автоматический агент, использующий LangChain, Upwork API и протокол x402, преобразует запросы на поиск работы в предложения и автоматически обрабатывает платежи.

Задача

A developer wants an autonomous AI agent that can interpret a natural‑language job request, search a gig marketplace, submit a proposal, and trigger payment when accepted, without manual handling of authentication, pagination, and API mismatches.

Результат

The agent successfully interprets user requests, searches Upwork, submits proposals, and settles payments automatically, reducing manual effort and improving reliability.

Рабочий процесс

  • 1. User submits natural‑language request to the agent.
  • 2. Prompt Engine (LLMChain + Pydantic) parses request into JobSpec JSON.
  • 3. Gig Adapter translates JobSpec into Upwork API calls, handles OAuth, pagination, and retries.
  • 4. Adapter returns normalized job listings to the agent.
  • 5. Agent generates proposal text and submits via Upwork API.
  • 6. Upon contract award, x402 Settler creates an x402 invoice and settles payment in USDC on Base.
  • 7. Agent logs outcome and notifies user.

Доказательства

We use LangChain’s LLMChain with a simple Jinja2 template...

Источник

Upwork’s API requires OAuth 2.0 bearer tokens and uses cursor‑based pagination...

Источник

x402 Settler watches for a successful contract award, creates an x402 invoice...

Источник

  • Дата записи: 2026-09-14T10:30:23.761Z