Developer resources
A2A Agent Discovery
Lucidry publishes an Agent Card for agent-to-agent discovery and collaboration.
What is A2A
- Agent-to-Agent (A2A) is a protocol where a service publishes structured metadata about itself so other agents can discover, evaluate, and call it autonomously.
- Lucidry's Agent Card lives at /.well-known/agent.json and is served as application/ld+json.
- No authentication is needed to read the card, since discovery is public. Calling a skill needs an API key.
Agent Card
Everything an agent reads before it decides to work with Lucidry.
| Field | Value |
|---|---|
| Service identity | name, description, version |
| Capabilities | refine, extract, validate, transform |
| Endpoints | API, MCP, OpenAPI, health |
| Authentication | api_key: Bearer token in the Authorization header |
| Skills | 3 A2A skills with input and output specs |
| Payment | stripe, pricing URL |
| Governance | data retention, content policy, terms and privacy URLs |
Discovering Lucidry
The card is public, so no API key needed to read it.
bash
# Fetch Lucidry's Agent Card
curl -X GET https://lucidry.io/.well-known/agent.json \
-H "Accept: application/ld+json"A2A skills
Three skills, each mapped to a real endpoint on the deployed service.
| Skill | ID | Description | Input | Output | Endpoint |
|---|---|---|---|---|---|
| Refine | lucidry.refine | Full pipeline | source_asset_id + transform_profile_id | Refined artifact + QA scores | POST /v1/jobs |
| Extract | lucidry.extract | Extraction only | source_asset_id | Canonical AST | POST /v1/jobs |
| Validate | lucidry.validate | QA only | artifact_id | QA score report | POST /v1/jobs |
Calling a skill
Name the skill on a job request, authenticated with your API key.
bash
# Call lucidry.refine
curl -X POST https://lucidry.io/api/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"source_asset_id": "src_001",
"transform_profile_id": "prof_001",
"skill": "lucidry.refine"
}'Generated but governed
- The Agent Card is generated from live service metadata: endpoints, MCP tools and the deployed version.
- An admin reviews the generated card and approves it before it is published.
- This keeps the card in step with the deployed service without manual drift.
- When the service changes, generate a new card, review the diff, then publish.
Integration with MCP and OpenAPI
- The Agent Card, the MCP manifest and the OpenAPI spec are generated from the same source metadata.
- All three discovery surfaces therefore describe exactly the same deployed service.
- Every URL uses lucidry.io with folder-based routing, so there are no API subdomains.
See the MCP Server docs for the tool catalog, and the Service Catalog docs for autonomous discovery and payment.
