gpt_engineer.core.base_agent.BaseAgent

class gpt_engineer.core.base_agent.BaseAgent[source]

Bases: ABC

Abstract base class for an agent that interacts with code.

Defines the interface for agents capable of initializing and improving code based on a given prompt. Implementations of this class are expected to provide concrete methods for these actions.

abstract improve(files_dict: FilesDict, prompt: Prompt) FilesDict[source]
abstract init(prompt: Prompt) FilesDict[source]