Alex Bäuerle cd58194d2a
docs(docs): start implementing docs website (#1372)
* docs(docs): start implementing docs website

* update video url

* add autogenerated codebase docs for backend

* precommit

* update links

* fix config and video

* gh actions

* rename

* workdirs

* path

* path

* fix doc1

* redo markdown

* docs

* change main folder name

* simplify readme

* add back architecture

* Fix lint errors

* lint

* update poetry lock

---------

Co-authored-by: Jim Su <jimsu@protonmail.com>
2024-04-29 10:00:51 -07:00

712 B

sidebar_label, title
sidebar_label title
agent agenthub.SWE_agent.agent

SWEAgent Objects

class SWEAgent(Agent)

An attempt to recreate swe_agent with output parsing, prompting style, and Application Computer Interface (ACI).

SWE-agent includes ACI functions like 'goto', 'search_for', 'edit', 'scroll', 'run'

step

def step(state: State) -> Action

SWE-Agent step: 1. Get context - past actions, custom commands, current step 2. Perform think-act - prompt model for action and reasoning 3. Catch errors - ensure model takes action (5 attempts max)

reset

def reset() -> None

Used to reset the agent