Skip to content

Zeeeepa/codegen-examples

 
 

Repository files navigation

Codegen Examples

Documentation

This is a collection of examples using Codegen. You can use these examples to learn how to use Codegen and integrate the codegen agent into your workflows.

Setup

We recommend using uv with Python 3.13 for the best experience.

Install Codegen

uv pip install codegen

In order to use the codegen API you will need to generate a token here

Your environment is now ready to use the codegen API!

Examples

Within the examples folder, each subdirectory contains a self-contained example with:

  • An explanation of the use case (README.md)
  • Files that leverage codegen for powerful applications

Available Examples

  1. Agent Tasks - Examples of using the Agent class to create and run AI-powered agents
  2. Codebase Analysis - Examples of using the Codebase class to analyze and manipulate code
  3. Custom Functions - Examples of using the function decorator and CodegenApp class
  4. Codecov Agent Trigger - Example of integrating Codegen with Codecov

For a detailed overview of all examples, see examples.md.

Learn More

Contributing

Have a useful example to share? We'd love to include it! Please see our Contributing Guide for instructions.

License

The Apache 2.0 license.

About

Examples using the Codegen SDK

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published