Skip to content

Commit ef7cfbb

Browse files
authored
refactor: AutoGPT Platform Stealth Launch Repo Re-Org (Significant-Gravitas#8113)
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform: * Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder * Also rename `autogpt` to `original_autogpt` for absolute clarity * Rename `rnd/` to `autogpt_platform/` * `rnd/autogpt_builder` -> `autogpt_platform/frontend` * `rnd/autogpt_server` -> `autogpt_platform/backend` * Adjust any paths accordingly
1 parent 2dfc927 commit ef7cfbb

File tree

2,820 files changed

+77759
-12165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,820 files changed

+77759
-12165
lines changed

.gitattributes

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
frontend/build/** linguist-generated
1+
classic/frontend/build/** linguist-generated
22

33
**/poetry.lock linguist-generated
44

55
docs/_javascript/** linguist-vendored
66

77
# Exclude VCR cassettes from stats
8-
forge/tests/vcr_cassettes/**/**.y*ml linguist-generated
8+
classic/forge/tests/vcr_cassettes/**/**.y*ml linguist-generated
99

1010
* text=auto

.github/CODEOWNERS

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* @Significant-Gravitas/maintainers
22
.github/workflows/ @Significant-Gravitas/devops
3-
forge/ @Significant-Gravitas/forge-maintainers
4-
benchmark/ @Significant-Gravitas/benchmark-maintainers
5-
frontend/ @Significant-Gravitas/frontend-maintainers
6-
rnd/infra @Significant-Gravitas/devops
3+
classic/forge/ @Significant-Gravitas/forge-maintainers
4+
classic/benchmark/ @Significant-Gravitas/benchmark-maintainers
5+
classic/frontend/ @Significant-Gravitas/frontend-maintainers
6+
autogpt_platform/infra @Significant-Gravitas/devops
77
.github/CODEOWNERS @Significant-Gravitas/admins

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
### Testing 🔍
1111
> [!NOTE]
12-
Only for the new autogpt platform, currently in rnd/
12+
Only for the new autogpt platform, currently in autogpt_platform/
1313

1414
<!--
1515
Please make sure your changes have been tested and are in good working condition.

.github/labeler.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
AutoGPT Agent:
1+
Classic AutoGPT Agent:
22
- changed-files:
3-
- any-glob-to-any-file: autogpt/**
3+
- any-glob-to-any-file: classic/original_autogpt/**
44

5-
Forge:
5+
Classic Benchmark:
66
- changed-files:
7-
- any-glob-to-any-file: forge/**
7+
- any-glob-to-any-file: classic/benchmark/**
88

9-
Benchmark:
9+
Classic Frontend:
1010
- changed-files:
11-
- any-glob-to-any-file: benchmark/**
11+
- any-glob-to-any-file: classic/frontend/**
1212

13-
Frontend:
13+
Forge:
1414
- changed-files:
15-
- any-glob-to-any-file: frontend/**
15+
- any-glob-to-any-file: classic/forge/**
1616

1717
documentation:
1818
- changed-files:
1919
- any-glob-to-any-file: docs/**
2020

21-
Builder:
21+
platform/frontend:
2222
- changed-files:
23-
- any-glob-to-any-file: rnd/autogpt_builder/**
23+
- any-glob-to-any-file: autogpt_platform/frontend/**
2424

25-
Server:
25+
platform/backend:
2626
- changed-files:
27-
- any-glob-to-any-file: rnd/autogpt_server/**
27+
- any-glob-to-any-file: autogpt_platform/backend/**

.github/workflows/autogpts-benchmark.yml

-97
This file was deleted.

.github/workflows/autogpt-ci.yml renamed to .github/workflows/classic-autogpt-ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
name: AutoGPT CI
1+
name: Classic - AutoGPT CI
22

33
on:
44
push:
55
branches: [ master, development, ci-test* ]
66
paths:
7-
- '.github/workflows/autogpt-ci.yml'
8-
- 'autogpt/**'
7+
- '.github/workflows/classic-autogpt-ci.yml'
8+
- 'classic/original_autogpt/**'
99
pull_request:
1010
branches: [ master, development, release-* ]
1111
paths:
12-
- '.github/workflows/autogpt-ci.yml'
13-
- 'autogpt/**'
12+
- '.github/workflows/classic-autogpt-ci.yml'
13+
- 'classic/original_autogpt/**'
1414

1515
concurrency:
16-
group: ${{ format('autogpt-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}
16+
group: ${{ format('classic-autogpt-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}
1717
cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}
1818

1919
defaults:
2020
run:
2121
shell: bash
22-
working-directory: autogpt
22+
working-directory: classic/original_autogpt
2323

2424
jobs:
2525
test:
@@ -86,7 +86,7 @@ jobs:
8686
uses: actions/cache@v4
8787
with:
8888
path: ${{ runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}
89-
key: poetry-${{ runner.os }}-${{ hashFiles('autogpt/poetry.lock') }}
89+
key: poetry-${{ runner.os }}-${{ hashFiles('classic/original_autogpt/poetry.lock') }}
9090

9191
- name: Install Poetry (Unix)
9292
if: runner.os != 'Windows'
@@ -135,4 +135,4 @@ jobs:
135135
uses: actions/upload-artifact@v4
136136
with:
137137
name: test-logs
138-
path: autogpt/logs/
138+
path: classic/original_autogpt/logs/

.github/workflows/autogpt-docker-cache-clean.yml renamed to .github/workflows/classic-autogpt-docker-cache-clean.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Purge Auto-GPT Docker CI cache
1+
name: Classic - Purge Auto-GPT Docker CI cache
22

33
on:
44
schedule:
@@ -25,7 +25,8 @@ jobs:
2525
name: Build image
2626
uses: docker/build-push-action@v5
2727
with:
28-
file: Dockerfile.autogpt
28+
context: classic/
29+
file: classic/Dockerfile.autogpt
2930
build-args: BUILD_TYPE=${{ matrix.build-type }}
3031
load: true # save to docker images
3132
# use GHA cache as read-only

.github/workflows/autogpt-docker-ci.yml renamed to .github/workflows/classic-autogpt-docker-ci.yml

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
1-
name: AutoGPT Docker CI
1+
name: Classic - AutoGPT Docker CI
22

33
on:
44
push:
55
branches: [ master, development ]
66
paths:
7-
- '.github/workflows/autogpt-docker-ci.yml'
8-
- 'autogpt/**'
7+
- '.github/workflows/classic-autogpt-docker-ci.yml'
8+
- 'classic/original_autogpt/**'
9+
- 'classic/forge/**'
910
pull_request:
1011
branches: [ master, development, release-* ]
1112
paths:
12-
- '.github/workflows/autogpt-docker-ci.yml'
13-
- 'autogpt/**'
13+
- '.github/workflows/classic-autogpt-docker-ci.yml'
14+
- 'classic/original_autogpt/**'
15+
- 'classic/forge/**'
1416

1517
concurrency:
16-
group: ${{ format('autogpt-docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}
18+
group: ${{ format('classic-autogpt-docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}
1719
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1820

1921
defaults:
2022
run:
21-
working-directory: autogpt
23+
working-directory: classic/original_autogpt
2224

2325
env:
2426
IMAGE_NAME: auto-gpt
@@ -47,7 +49,8 @@ jobs:
4749
name: Build image
4850
uses: docker/build-push-action@v5
4951
with:
50-
file: Dockerfile.autogpt
52+
context: classic/
53+
file: classic/Dockerfile.autogpt
5154
build-args: BUILD_TYPE=${{ matrix.build-type }}
5255
tags: ${{ env.IMAGE_NAME }}
5356
labels: GIT_REVISION=${{ github.sha }}
@@ -116,7 +119,8 @@ jobs:
116119
name: Build image
117120
uses: docker/build-push-action@v5
118121
with:
119-
file: Dockerfile.autogpt
122+
context: classic/
123+
file: classic/Dockerfile.autogpt
120124
build-args: BUILD_TYPE=dev # include pytest
121125
tags: >
122126
${{ env.IMAGE_NAME }},

.github/workflows/autogpt-docker-release.yml renamed to .github/workflows/classic-autogpt-docker-release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: AutoGPT Docker Release
1+
name: Classic - AutoGPT Docker Release
22

33
on:
44
release:
@@ -44,6 +44,7 @@ jobs:
4444
name: Build image
4545
uses: docker/build-push-action@v5
4646
with:
47+
context: classic/
4748
file: Dockerfile.autogpt
4849
build-args: BUILD_TYPE=release
4950
load: true # save to docker images

.github/workflows/autogpts-ci.yml renamed to .github/workflows/classic-autogpts-ci.yml

+22-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Agent smoke tests
1+
name: Classic - Agent smoke tests
22

33
on:
44
workflow_dispatch:
@@ -7,32 +7,37 @@ on:
77
push:
88
branches: [ master, development, ci-test* ]
99
paths:
10-
- '.github/workflows/autogpts-ci.yml'
11-
- 'autogpt/**'
12-
- 'forge/**'
13-
- 'benchmark/**'
14-
- 'run'
15-
- 'cli.py'
16-
- 'setup.py'
10+
- '.github/workflows/classic-autogpts-ci.yml'
11+
- 'classic/original_autogpt/**'
12+
- 'classic/forge/**'
13+
- 'classic/benchmark/**'
14+
- 'classic/run'
15+
- 'classic/cli.py'
16+
- 'classic/setup.py'
1717
- '!**/*.md'
1818
pull_request:
1919
branches: [ master, development, release-* ]
2020
paths:
21-
- '.github/workflows/autogpts-ci.yml'
22-
- 'autogpt/**'
23-
- 'forge/**'
24-
- 'benchmark/**'
25-
- 'run'
26-
- 'cli.py'
27-
- 'setup.py'
21+
- '.github/workflows/classic-autogpts-ci.yml'
22+
- 'classic/original_autogpt/**'
23+
- 'classic/forge/**'
24+
- 'classic/benchmark/**'
25+
- 'classic/run'
26+
- 'classic/cli.py'
27+
- 'classic/setup.py'
2828
- '!**/*.md'
2929

30+
defaults:
31+
run:
32+
shell: bash
33+
working-directory: classic
34+
3035
jobs:
3136
serve-agent-protocol:
3237
runs-on: ubuntu-latest
3338
strategy:
3439
matrix:
35-
agent-name: [ autogpt ]
40+
agent-name: [ original_autogpt ]
3641
fail-fast: false
3742
timeout-minutes: 20
3843
env:
@@ -50,7 +55,7 @@ jobs:
5055
python-version: ${{ env.min-python-version }}
5156

5257
- name: Install Poetry
53-
working-directory: ./${{ matrix.agent-name }}/
58+
working-directory: ./classic/${{ matrix.agent-name }}/
5459
run: |
5560
curl -sSL https://install.python-poetry.org | python -
5661

0 commit comments

Comments
 (0)