Skip to content

Implement core Lucid x402 search API#212

Open
minyanyi wants to merge 1 commit into
langoustine69:mainfrom
minyanyi:fix/core-lucid-x402-api
Open

Implement core Lucid x402 search API#212
minyanyi wants to merge 1 commit into
langoustine69:mainfrom
minyanyi:fix/core-lucid-x402-api

Conversation

@minyanyi
Copy link
Copy Markdown

Summary

  • adds a Bun/Hono server entrypoint with free /health and paid /v1/search, /v1/search/news, and /v1/search/deep endpoints
  • adds Zod v4 request/response/error schemas with JSON Schema export
  • wires search orchestration through Brave results, ranking, cache, freshness metadata, and GPT synthesis fallback
  • adds Lucid Agents + x402 payment dependencies and a Lucid agent builder using paymentsFromEnv()
  • documents required environment variables in .env.example and README

Tests

  • bun run typecheck
  • bun test (43 passing)

Fixes #1.

TaskMarket payout

USDC/EVM payout address: 0x2E4380d2e1668Ca9fA3Ef91fF776FDc140Cf3fE8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[T1] Core Lucid Agent — x402 paid API with TDD

1 participant