Devin API integration plugin for Eliza, providing automated engineering assistance through the Devin API.
pnpm add @elizaos/plugin-devin
The plugin requires a Devin API token for authentication. Set the following environment variable:
DEVIN_API_TOKEN=your_api_token_here
Or configure it in your Eliza runtime settings:
runtime.setSetting("DEVIN_API_TOKEN", "your_api_token_here");
- Session Management: Create and manage Devin engineering sessions
- State Tracking: Monitor session status and progress
- Client Agnostic: Works with any Eliza client implementation
- Rate Limiting: Built-in API request rate limiting
- Error Handling: Comprehensive error handling with retries
Creates a new Devin session with the specified prompt.
const result = await runtime.runAction("START_DEVIN_SESSION", {
content: { text: "Help me refactor this code" }
});
Manages Devin session state and provides session information.
const state = await runtime.getState();
const devinState = state.devin;
// Access session details
console.log(devinState.sessionId);
console.log(devinState.status);
console.log(devinState.url);
Run the test suite:
pnpm test
For detailed API documentation, visit:
MIT