8000 GitHub - Anton-4/roc-agent: AI agent for Roc programming
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Anton-4/roc-agent

Repository files navigation

Roc-Lang

roc-agent

AI agent setup for Roc programming. Makes Claude write code in a loop until:

  • roc check runs without errors or warnings.
  • All top level expect tests pass with roc test.
  • roc dev finishes with exit code 0.

The above options are configurable by setting the Bools run_roc_test and run_roc_dev.

Note: the roc-agent can currently only work with a single .roc file.

‼️ This lets Claude run code on your machine autonomously without restrictions. It is unlikely that Claude will screw something up on your machine, but use caution and make sure you don't copy paste a prompt from an untrusted source.

Usage

  1. Alter prompt_text and system_prompt in main.roc to fit your purpose.
  2. Get an Anthropic API key
  3. Run with:
    $ export ANTHROPIC_API_KEY=YOURAPIKEY
    $ roc main.roc
    

About

AI agent for Roc programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0