INNER CODE UNIT · Python

AgentType

nottelabs/notte · packages/notte-agent/src/notte_agent/main.py:20

class AgentType(StrEnum):
    FALCO = "falco"

    def get_agent_class(self) -> type[FalcoAgent]:
        match self:
            case AgentType.FALCO:
                return FalcoAgent


class Agent(BaseAgent):
    def __init__(
        self,
        session: NotteSession,
        vault: BaseVault | None = None,
        persona: BasePersona | None = None,
        notifier: BaseNotifier | None = None,
        agent_type: AgentType = AgentType.FALCO,
        trajectory: Trajectory | None = None,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…