Preview Flyte 2 for productionHosted on Union.ai
LLM-powered code generation and evaluation

LLM-powered code generation and evaluation

flyteplugins-codegen

Flyte SDK (v2)Developer Toolscodegen

Generate code from natural language prompts and validate it by running tests in an isolated sandbox. Works with any model that supports structured outputs (GPT-4, Claude, Gemini, etc. via LiteLLM) or directly with the Agent SDK (Claude-only).

Install
pip install flyteplugins-codegen

Quick Start(example, may need adjustment)

pip install flyteplugins-codegen

from flytekit import task, workflow
from flyteplugins.codegen import AutoCoderAgent

agent = AutoCoderAgent(...)

@workflow
def my_workflow() -> None:
    my_task()

Available Imports (1)

configAutoCoderAgent

Agent for single-file Python code generation with automatic testing and iteration.

extends dataclass — configuration or data structure for plugin setup

from flyteplugins.codegen import AutoCoderAgent

Dependencies

litellmpandas

Related Plugins

Package Info

Min Flyte SDK
Modules1

Downloads

Last day56
Last week240
Last month410