Skip to content

automa/claude-code

Repository files navigation

claude-code

This is an AI & manual bot for Automa that uses Anthropic's Claude Code tool to work on tasks.

Features

  • Runs tasks via job schedule with retry and backoff support.
  • Generates pull request titles and bodies using Claude Sonnet 4.

Getting Started

Install on Automa

Self-Hosting

This bot can be self-hosted. You can either follow our more detailed guide or follow these steps to get it running.

Prerequisites

Needed services

  • Have redis or any redis compatible memory store running.

Automa agent

Create an agent of manual type on Automa (Cloud or Self-hosted) and point its webhook to your planned server (e.g., http://your-server-ip:8000/hooks/automa). Copy the webhook secret after it is created.

Starting the server

docker run -it --rm -p 8000:8000 \
  -e REDIS_URL=your_url_here \
  -e AUTOMA_WEBHOOK_SECRET=your_secret_here \
  -e ANTHROPIC_API_KEY=your_key_here \
  ghcr.io/automa/claude-code

You can also use AWS Bedrock by setting the relevant environment variables.

How It Works

It runs claude-code in bypassPermissions mode.

Contributing

Contributions and feedback are welcome! Feel free to open an issue or submit a pull request. See CONTRIBUTING.md for more details. Here is a list of Contributors.

LICENSE

MIT

Bug Reports

Report here.

About

Anthropic's Claude Code bot for Automa

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages