Introduction

Open Devin is a platform for AI-powered autonomous software engineering. It enables AI agents to collaborate with human developers to write code, fix bugs, and ship features. Integrating Helicone with Open Devin allows you to monitor and analyze these AI-human interactions throughout the development process.

Integration Steps

1

Create an account + Generate an API Key

Log into helicone or create an account. Once you have an account, you can generate an API key.

Make sure to generate a write only API key.

2

Set OPENAI_API_BASE as an environment variable when running the container

export HELICONE_API_KEY=pk-<YOUR_API_KEY>

docker run -it \
    --pull=always \
    -e SANDBOX_USER_ID=$(id -u) \
    -e OPENAI_API_BASE="https://oai.helicone.ai/${HELICONE_API_KEY}/v1" \
    -e PERSIST_SANDBOX="true" \
    -e SSH_PASSWORD="make something up here" \
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
    -v $WORKSPACE_BASE:/opt/workspace_base \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    --name opendevin-app-$(date +%Y%m%d%H%M%S) \
    ghcr.io/opendevin/opendevin:0.6

Check out the Open Devin GitHub repository for more information and examples.