Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arena #50

Open
wants to merge 57 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
f8b0a6c
fix format
Oct 10, 2023
3e99482
working better
Oct 1, 2023
5bf77fc
use images
Oct 1, 2023
ba278e8
update ports
Oct 1, 2023
e93a685
work in progress
Oct 2, 2023
8b43cda
lock
Oct 2, 2023
712740f
update
Oct 2, 2023
bc543e0
act base
Oct 2, 2023
dec467f
dockerbuild
Oct 2, 2023
68d97b0
working first build
Oct 2, 2023
efefdd6
v1
Oct 2, 2023
271e710
push
Oct 2, 2023
faebef6
building autogpt in 12 seconds
Oct 3, 2023
80f985e
now building
Oct 3, 2023
bb65c8f
update
Oct 3, 2023
fc74651
Update pipeline.yml
jmikedupont2 Oct 3, 2023
3d96c18
blac
Oct 3, 2023
2c6699e
its building
Oct 3, 2023
9c8c8d5
update docker
Oct 3, 2023
ae24fe9
update
Oct 4, 2023
b0ec1a6
Update pipeline.yml
jmikedupont2 Oct 4, 2023
0bf5eb8
bugfix
jmikedupont2 Oct 2, 2023
1f598b0
you are the metagpt
Oct 4, 2023
0261e48
work in progress
Oct 2, 2023
739ccf6
dockerbuild
Oct 2, 2023
815bb5c
now building
Oct 3, 2023
1469a31
blac
Oct 3, 2023
0f82de7
adding ignore
Oct 11, 2023
7d5a08a
now building and running locally
Oct 11, 2023
ab52edc
the docker controller
Oct 11, 2023
2fd15b4
update submodules
Oct 11, 2023
334194d
update
Oct 12, 2023
e89d752
adding langchain
Oct 12, 2023
cc6985c
update bench
Oct 13, 2023
78d854e
adding active submodule to the arena
Oct 14, 2023
c8409a8
adding in more
Oct 14, 2023
4838e5a
first build
Oct 15, 2023
33ec636
autogpt turbo starting to build
Oct 15, 2023
b88a42b
build working with turbo
Oct 15, 2023
cb5c0c7
updating submodules
Oct 15, 2023
04d2ea5
parking changes
Oct 15, 2023
ce4a693
first one starting to work
Oct 15, 2023
8acf7e2
update sub branch
Oct 15, 2023
eae4192
docker compose working
Oct 15, 2023
6cf934d
the aj version is working
Oct 15, 2023
82934d1
adding babyagi
Oct 15, 2023
c2c67ad
adding scott
Oct 15, 2023
daa901b
adding autogpt-trading
Oct 15, 2023
7df95f5
adding polygpt-alpha and sharing templates
Oct 16, 2023
e458fde
starting to run the agency more work to do
Oct 16, 2023
134edfc
now jarvi is running
Oct 16, 2023
8245873
adding the run log
Oct 16, 2023
5106807
fixing bug in the agency
Oct 17, 2023
df69908
adding the leader is bord
Oct 17, 2023
cf5fdd2
contenders
Oct 18, 2023
a7712e6
ghost coder is now working, agent protocol running
Oct 19, 2023
638883a
getting the agency running!
Oct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.env
.env~
.secrets
.secrets~
112 changes: 112 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: Pipeline

on: push

jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.10.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --no-root
- name: pylint
run: |
source .venv/bin/activate
pylint build tests
- name: black
run: |
source .venv/bin/activate
black --check .

run-tests:
needs: code-quality
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.10.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --no-root
- name: Run all tests with pytest
run: |
source .venv/bin/activate
pytest --cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

publish-all-images:
needs: run-tests
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Get Git Commit Tag Name
uses: olegtarasov/[email protected]
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.10.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --no-root
- name: Publish Image to Docker Hub
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
run: |
source .venv/bin/activate
python -m build.publish
42 changes: 35 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,61 @@ on:
pull_request:
branches: [ "runautogpt-main" ]
jobs:
<<<<<<< HEAD
run-autogpt-in-githubaction:
=======
python-package-build:
>>>>>>> f1e604a (starting to work)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: [
#"3.10",
"3.x"]
steps:


- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@master
with:
submodules: 'true'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
#- name: Set up Python ${{ matrix.python-version }}
#3 uses: actions/setup-python@v3
# with:
# architecture: x64
# python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
#python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install podman-compose
#- name: Lint with flake8
# run: |
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Docker Compose Action
uses: isbang/compose-action@v1.5.1
- name: Docker Compose Action build
#uses: meta-introspector/compose-action@main
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
run: docker-compose build


- name: create openai
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
run: |
GITHUB_PAT=${{ secrets.PAT }} GITHUB_REPO="jmikedupont2/ai-ticket" docker-compose up -d mockopenai

- name: run autogpt
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
run: |
GITHUB_PAT=${{ secrets.PAT }} GITHUB_REPO="jmikedupont2/ai-ticket" docker-compose run autogpt


5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,7 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

*~
*~
/dckr_pat_.txt
/github_pat.txt
/.secrets
180 changes: 180 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,183 @@
[submodule "vendor/Auto-GPT-Benchmarks"]
path = vendor/Auto-GPT-Benchmarks
url = https://github.com/Significant-Gravitas/Auto-GPT-Benchmarks
[submodule "vendor/act_base"]
path = vendor/act_base
url = https://github.com/meta-introspector/act_base/
[submodule "vendor/python-poetry"]
path = vendor/python-poetry
url = https://github.com/meta-introspector/python-poetry
[submodule "vendor/basic_agent"]
path = vendor/basic_agent
url = https://github.com/meta-introspector/basic_agent
[submodule "vendor/TheAgency"]
path = vendor/TheAgency
url = https://github.com/shamantechnology/TheAgency
[submodule "vendor/mljar-agent"]
path = vendor/mljar-agent
url = https://github.com/pplonski/mljar-agent
[submodule "vendor/Swarms-Of-Sparta"]
path = vendor/Swarms-Of-Sparta
url = https://github.com/Agora-X/Swarms-Of-Sparta
[submodule "vendor/Jarvis"]
path = vendor/Jarvis
url = https://github.com/jankomisarczyk/Jarvis
[submodule "vendor/AutoGPT-trading"]
path = vendor/AutoGPT-trading
url = https://github.com/enachb/AutoGPT-trading.git
[submodule "vendor/ScottGPT"]
path = vendor/ScottGPT
url = https://github.com/scottmas/ScottGPT
[submodule "vendor/AutoGPTv2"]
path = vendor/AutoGPTv2
url = https://github.com/taylor-ennen/AutoGPTv2
[submodule "vendor/beebot"]
path = vendor/beebot
url = https://github.com/AutoPackAI/beebot.git
[submodule "vendor/Auto-GPT-Turbo"]
path = vendor/Auto-GPT-Turbo
url = https://github.com/lc0rp/Auto-GPT-Turbo.git
[submodule "vendor/smol-developer"]
path = vendor/smol-developer
url = https://github.com/e2b-dev/smol-developer.git
[submodule "vendor/Multi-GPT"]
path = vendor/Multi-GPT
url = https://github.com/sidhq/Multi-GPT
[submodule "vendor/Auto-GPT-aj"]
path = vendor/Auto-GPT-aj
url = https://github.com/kaqijiang/Auto-GPT-aj
[submodule "vendor/Godmode-GPT"]
path = vendor/Godmode-GPT
url = https://github.com/FOLLGAD/Godmode-GPT
[submodule "vendor/Auto-GPT-Graph"]
path = vendor/Auto-GPT-Graph
url = https://github.com/kairess/Auto-GPT-Graph
[submodule "vendor/BillSchumacher"]
path = vendor/BillSchumacher
url = https://github.com/BillSchumacher/Auto-GPT
[submodule "vendor/Auto-GPT-chat-gpt-prompts"]
path = vendor/Auto-GPT-chat-gpt-prompts
url = https://github.com/chatgpt-prompts/Auto-GPT-chat-gpt-prompts
[submodule "vendor/MasonBoomPersonalAssistant"]
path = vendor/MasonBoomPersonalAssistant
url = https://github.com/MasonBoom/AutoGPT.git
[submodule "vendor/PolyGPT"]
path = vendor/PolyGPT
url = https://github.com/polywrap/PolyGPT.git
[submodule "vendor/SuperAGI"]
path = vendor/SuperAGI
url = https://github.com/SilenNaihin/SuperAGI.git
[submodule "vendor/babyagi"]
path = vendor/babyagi
url = https://github.com/SilenNaihin/babyagi.git
[submodule "vendor/PolyGPT-alpha"]
path = vendor/PolyGPT-alpha
url = https://github.com/team-tonic-arena-hacks/PolyGPT-alpha
[submodule "vendor/RedAGPT"]
path = vendor/RedAGPT
url = https://github.com/shamantechnology/RedAGPT
[submodule "vendor/osGPT"]
path = vendor/osGPT
url = https://github.com/jinho-kim-osd/osGPT
[submodule "vendor/FritzGPT"]
path = vendor/FritzGPT
url = https://github.com/bsenst/FritzGPT
[submodule "vendor/Asimov"]
path = vendor/Asimov
url = https://github.com/murnanedaniel/Asimov
[submodule "vendor/evo.ninja"]
path = vendor/evo.ninja
url = https://github.com/polywrap/evo.ninja
[submodule "vendor/Mutant-AI"]
path = vendor/Mutant-AI
url = https://github.com/cluna80/Mutant-AI
[submodule "vendor/gordonwilliamsburg"]
path = vendor/gordonwilliamsburg
url = https://github.com/gordonwilliamsburg/test
[submodule "vendor/joslangarica"]
path = vendor/joslangarica
url = https://github.com/joslangarica/AutoGPT
[submodule "vendor/isayahc"]
path = vendor/isayahc
url = https://github.com/isayahc/AutoGPT
[submodule "vendor/merwanehamadi"]
path = vendor/merwanehamadi
url = https://github.com/merwanehamadi/Auto-GPT
[submodule "vendor/HMDCrew"]
path = vendor/HMDCrew
url = https://github.com/HMDCrew/AutoGPT
[submodule "vendor/aorwall"]
path = vendor/aorwall
url = https://github.com/aorwall/AutoGPT
[submodule "vendor/Agora-X"]
path = vendor/Agora-X
url = https://github.com/Agora-X/Swarms-Of-Sparta
[submodule "vendor/IkuOhama"]
path = vendor/IkuOhama
url = https://github.com/IkuOhama/AutoGPT
[submodule "vendor/neitheroption"]
path = vendor/neitheroption
url = https://github.com/neitheroption/GPTAgentTest
[submodule "vendor/jackyluo-learning"]
path = vendor/jackyluo-learning
url = https://github.com/jackyluo-learning/AutoGPT
[submodule "vendor/scottmas"]
path = vendor/scottmas
url = https://github.com/scottmas/ScottGPT
[submodule "vendor/reyug9"]
path = vendor/reyug9
url = https://github.com/reyug9/AutoGPT
[submodule "vendor/taylor-ennen"]
path = vendor/taylor-ennen
url = https://github.com/taylor-ennen/AutoGPTv2
[submodule "vendor/mahmudremal"]
path = vendor/mahmudremal
url = https://github.com/mahmudremal/AutoGPT
[submodule "vendor/harishafeez1"]
path = vendor/harishafeez1
url = https://github.com/harishafeez1/AutoGPT-haris
[submodule "vendor/pplonski"]
path = vendor/pplonski
url = https://github.com/pplonski/mljar-agent
[submodule "vendor/meta-introspector"]
path = vendor/meta-introspector
url = https://github.com/meta-introspector/Auto-GPT
[submodule "vendor/georgehaws"]
path = vendor/georgehaws
url = https://github.com/georgehaws/interhalogen
[submodule "vendor/a-cires"]
path = vendor/a-cires
url = https://github.com/a-cires/AutoGPT
[submodule "vendor/MasonBoom"]
path = vendor/MasonBoom
url = https://github.com/MasonBoom/AutoGPT
[submodule "vendor/enachb"]
path = vendor/enachb
url = https://github.com/enachb/AutoGPT-trading
[submodule "vendor/micahnz"]
path = vendor/micahnz
url = https://github.com/micahnz/AutoGPT
[submodule "vendor/kabbo25"]
path = vendor/kabbo25
url = https://github.com/kabbo25/AutoGPT
[submodule "vendor/yodatech1988"]
path = vendor/yodatech1988
url = https://github.com/yodatech1988/AutoGPT
[submodule "vendor/jankomisarczyk"]
path = vendor/jankomisarczyk
url = https://github.com/jankomisarczyk/Jarvis
[submodule "vendor/NaixingWang"]
path = vendor/NaixingWang
url = https://github.com/NaixingWang/AutoGPT
[submodule "vendor/clusterfudge"]
path = vendor/clusterfudge
url = https://github.com/clusterfudge/Auto-GPT
[submodule "vendor/vikyw89"]
path = vendor/vikyw89
url = https://github.com/vikyw89/Auto-GPT
[submodule "vendor/agent-protocol-client-python"]
path = vendor/agent-protocol-client-python
url = https://github.com/AI-Engineer-Foundation/agent-protocol-client-python
[submodule "vendor/agent-protocol-sdk-python"]
path = vendor/agent-protocol-sdk-python
url = https://github.com/AI-Engineer-Foundation/agent-protocol-sdk-python
4 changes: 4 additions & 0 deletions .secrets.example.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
GITHUB_TOKEN=
GITHUB_PAT=
PAT=this isused
DOCKER=
7 changes: 7 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
In order to get poetry to accept sources in /opt/ I use this trick locally outside of docker

```
sudo git clone https://github.com/meta-introspector/agent-protocol-sdk-python /opt/agent-protocol
poetry run pip install -e /opt/agent-protocol/
poetry lock
```
Loading
Loading