Skip to content

AI generate a Soroban contract skeleton from a description #187

Description

@Hey-Yetunde

Problem

Developers want to describe a contract and get a valid skeleton.

Context

The tools blueprint (app/tools/routes.py) already runs AI code generation.

Technical requirements

  • Add an AI tool that produces a Soroban contract skeleton (Cargo.toml + lib.rs) from a natural-language description.
  • Post-process to ensure it contains valid #[contractimpl] structure and correct soroban-sdk dependency.
  • Never claim the output compiles without evidence; label generated code clearly.

Acceptance criteria

  • Generated skeleton passes detection as likely Soroban.
  • Output is bounded and labeled as AI-generated.

Testing requirements

  • Tests with the mock provider; detection round trip.

Dependencies

  • Stellar analysis + detection (implemented).

Difficulty

Hard

Priority

Low

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiAI-powered features and analysisdifficulty/hardphase-8Work scoped for Phase 8: Plugins & Extensionspriority/lowsorobanSoroban smart contracts and Rust toolingstellarStellar network integration and tooling

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions