aibtcdev / ai-agent-crew

Langchain + CrewAI powered AI agents with Bitcoin wallets.
https://aibtc.dev
35 stars 11 forks source link

Crew: Clarity Code Writer #23

Closed whoabuddy closed 2 months ago

whoabuddy commented 3 months ago

Bounty Information

Prize: $1,000 in BTC

Submissions are made through a working PR to this repository.

First working implementation gets the bounty as long as it meets the criteria below:

LLMs are not that great at writing Clarity, let's use agents to fix this!

This crew should accept the user's request as an input, a large textarea would be good to start with.

The output should be valid Clarity code that's tested and verified by Clarinet. The final code should be both shown and available to download.

Agents

Agents below are only a suggestion, more agents can be added as needed!

Agent 1

Agent 2

Tasks

Input will vary depending on what somebody submits, but here are a few sample test cases:

Tools

Clarinet

The agents will need to be able to use Clarinet. We can use a runner file like we have for Bun.js to execute Clarinet commands.

When working with Clarinet:

Resources

We have several strong resources for agents in the training-data repository, any of the markdown can be saved alongside the agents and imported as context, or stored in a vector database and searched.

Other resources can be used as well, context is key! 🔑 For example, a resource like this is extremely helpful when prompting an agent to write or review Clarity code. Check out the built-in CrewAI tools for RAG.

Execution Loop

This is flexible as long as the desired result is achieved.