The Codegen SDK enables developers to programmatically interact with Codegen SWE agents via API.
Go to developer settings to generate an API token
Codegen agents can research code, create PRs, modify Linear tickets, and more.
Install the SDK using pip or uv:
The Codegen SDK is your gateway to programmatically interacting with your AI Software Engineer. You can use it to:
Essentially, the SDK allows you to leverage Codegen’s AI capabilities wherever you can run Python code.
Sign up for a free account and get your API token.
Get help and connect with the Codegen community.
Learn how to use Codegen for common code transformation tasks.
Star us on GitHub and contribute to the project.