Skip to content

Conversation

@wilson-cl
Copy link
Collaborator

@wilson-cl wilson-cl commented Dec 4, 2025

Summary

Introduces the EA Scaffolding Agent — an AI-powered tool that automates the creation of Chainlink External Adapters from YAML specifications.

What's Included

Core Agent (ea-agent/)

  • src/agent.py — Main orchestrator that runs a 3-phase workflow:
    1. EA Developer scaffolds the adapter
    2. Integration Test Writer/Validator loop (3 approvals required)
    3. Unit Test Writer/Validator loop (3 approvals required)
  • package-template/ — Complete EA scaffold with endpoints, transports, and test structure
  • requests/ — Directory for YAML requirement files
  • README.md — Documentation for local, Cursor, and CI usage

Agent Prompts (.claude/agents/)

  • ea_developer.md — Scaffolds adapter code from YAML specs
  • ea_integration_test_writer.md — Writes integration tests
  • ea_integration_test_validator.md — Validates integration tests
  • ea_unit_test_writer.md — Writes unit tests
  • ea_unit_test_validator.md — Validates unit tests

CI/CD (.github/workflows/)

  • generate-ea.yml — Triggers on PRs with YAML files in ea-agent/requests/ or via /generate-ea comment

Usage

Local:

uv run ea-agent/src/agent.py ea-agent/requests/OPDATA-123-my-adapter.yaml

Cursor: Reference agent prompts with @ea_developer.md, etc.

CI: Add a YAML file to ea-agent/requests/ and open a PR, or comment /generate-ea

Output

Generated adapter packages are created at packages/sources/<adapter-name>/ with complete source code, tests, and configuration.

@changeset-bot
Copy link

changeset-bot bot commented Dec 4, 2025

⚠️ No Changeset found

Latest commit: 62bdc59

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@wilson-cl wilson-cl changed the title Ea agent Feature: EA Autonomous Agent Dec 4, 2025
@wilson-cl wilson-cl requested a review from mxiao-cll December 5, 2025 05:27
@wilson-cl wilson-cl requested a review from mxiao-cll December 5, 2025 13:41
@wilson-cl wilson-cl requested a review from a team as a code owner December 15, 2025 14:41
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.

2 participants