Skip to content

Commit

Permalink
Moving things (Josh-XT#412)
Browse files Browse the repository at this point in the history
* Moving things

* Organization

* Organization

* Updates

* Updates
  • Loading branch information
Josh-XT authored May 21, 2023
1 parent 815ba29 commit 58e4d6a
Show file tree
Hide file tree
Showing 127 changed files with 44 additions and 51 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ Agent-LLM-Frontend/
*.code-workspace
chains/*/*
data/*
src/agixt/agents/*
src/agixt/data/*
src/agixt/WORKSPACE/*
agixt/agents/*
agixt/agents/*/*
agixt/data/*
agixt/WORKSPACE/*
# docs generation
_book/
package.json
Expand Down
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include docs/README.md
include src/agixt/requirements.txt
include src/agixt/version
include agixt/requirements.txt
include agixt/version
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.10-slim-buster

WORKDIR /app
ADD . /app
COPY src/agixt/requirements.txt .
COPY agixt/requirements.txt .

RUN apt-get update
RUN apt-get upgrade -y
Expand All @@ -21,6 +21,6 @@ RUN apt-get install git -y
RUN apt-get autoremove -y
RUN rm -rf /var/lib/apt/lists/*

COPY --link src/agixt/ .
COPY --link agixt/ .
EXPOSE 7437
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7437"]
4 changes: 2 additions & 2 deletions docker/Dockerfile.nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update ; \

WORKDIR /app
ADD . /app
COPY src/agixt/requirements.txt ./
COPY agixt/requirements.txt ./

# Install pip requirements
RUN pip install -r requirements.txt
Expand All @@ -20,6 +20,6 @@ RUN pip install --no-cache-dir -r gen_requirements.txt
RUN rm gen_requirements.txt

# Run FastAPI app with Uvicorn
COPY --link src/agixt/ .
COPY --link agixt/ .
EXPOSE 7437
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7437"]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
backend:
build:
context: .
dockerfile: docker/Dockerfile-streamlit
dockerfile: Dockerfile-streamlit
platform: linux/amd64
init: true
env_file:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-mac.yml → docker/docker-compose-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
backend:
build:
context: .
dockerfile: docker/Dockerfile
dockerfile: Dockerfile
platform: linux/amd64
init: true
env_file:
Expand Down
File renamed without changes.
File renamed without changes.
66 changes: 29 additions & 37 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,40 +18,34 @@ AGiXT is a dynamic Artificial Intelligence Automation Platform engineered to orc

Embracing the spirit of extremity in every facet of life, we introduce AGiXT. This advanced AI Automation Platform is our bold step towards the realization of Artificial General Intelligence (AGI). Seamlessly orchestrating instruction management and executing complex tasks across diverse AI providers, AGiXT combines adaptive memory, smart features, and a versatile plugin system to maximize AI potential. With our unwavering commitment to innovation, we're dedicated to pushing the boundaries of AI and bringing AGI closer to reality.

## ⚠️ Monitor Your Usage!
Please note that using some AI providers (such as OpenAI's GPT-4 API) can be expensive! Monitor your usage carefully to avoid incurring unexpected costs. We're **NOT** responsible for your usage under any circumstance.

## ⚠️ Under Development!
This project is under active development and may still have issues. We appreciate your understanding and patience. If you encounter any problems, please first check the open issues. If your issue is not listed, kindly create a new issue detailing the error or problem you experienced. Thank you for your support!

## Table of Contents 📖

- [AGiXT](#agixt)
- [⚠️ Monitor Your Usage!](#️-monitor-your-usage)
- [⚠️ Under Development!](#️-under-development)
- [Table of Contents 📖](#table-of-contents-)
- [Media Coverage ⏯️](#media-coverage-️)
- [Video](#video)
- [⚠️ Disclaimers!](#️-disclaimers)
- [Monitor Your Usage!](#monitor-your-usage)
- [Under Development!](#under-development)
- [Key Features 🗝️](#key-features-️)
- [Run with Docker](#run-with-docker)
- [Linux or Windows](#linux-or-windows)
- [Quickstart with Docker](#quickstart-with-docker)
- [Windows Docker Desktop (streamlit only example)](#windows-docker-desktop-streamlit-only-example)
- [Alternative Docker Compose Profiles](#alternative-docker-compose-profiles)
- [Development using docker](#development-using-docker)
- [Local Development](#local-development)
- [API Endpoints](#api-endpoints)
- [Configuration](#configuration)
- [API Endpoints](#api-endpoints)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [Donations and Sponsorships](#donations-and-sponsorships)
- [Our Team 🧑‍💻](#our-team-)
- [Acknowledgments](#acknowledgments)
- [History](#history)

## Media Coverage ⏯️

### Video
- From [World of AI](https://www.youtube.com/@intheworldofai) on YouTube: [AGiXT: AI Automation Bot for Managing and Implementing AI Through Applications](https://www.youtube.com/watch?v=g0_36Mf2-To)
## ⚠️ Disclaimers!
### Monitor Your Usage!
Please note that using some AI providers (such as OpenAI's GPT-4 API) can be expensive! Monitor your usage carefully to avoid incurring unexpected costs. We're **NOT** responsible for your usage under any circumstance.

### Under Development!
This project is under active development and may still have issues. We appreciate your understanding and patience. If you encounter any problems, please first check the open issues. If your issue is not listed, kindly create a new issue detailing the error or problem you experienced. Thank you for your support!

## Key Features 🗝️

Expand All @@ -70,29 +64,29 @@ This project is under active development and may still have issues. We appreciat
- **RESTful API**: FastAPI-powered RESTful API for seamless integration with external applications and services.
- **Expanding AI Support**: Continually updated to include new AI providers and services, ensuring the software stays at the forefront of AI technology.

## Run with Docker
Clone the repositories for the AGiXT front/back ends then start the services with Docker.

### Linux or Windows
## Quickstart with Docker
Download the `docker-compose` file and run the AGiXT Streamlit Web App.
```
git clone https://github.com/Josh-XT/AGiXT
cd AGiXT
wget https://raw.githubusercontent.com/Josh-XT/AGiXT/main/docker/docker-compose.yml
docker compose --profile streamlit up
```

Choose a service you want to run using profiles, e.g.
`docker compose --profile streamlit up`

Run all available services
`docker compose --profile all up`

- Web Interface http://localhost:8501

### Windows Docker Desktop (streamlit only example)
- Container Name: AGiXT
- Host Port: 8501:8501/tcp

### Alternative Docker Compose Profiles

Run all available services, this includes the FastAPI back end (Port 7437) and NextJS front end (Port 3000).
```
docker compose --profile all up
```

### Development using docker
```
wget https://raw.githubusercontent.com/Josh-XT/AGiXT/main/docker/docker-compose.yml
wget https://raw.githubusercontent.com/Josh-XT/AGiXT/main/docker/docker-compose.dev.yml
docker compose --profile all -f docker-compose.yml -f docker-compose.dev.yaml up
```

Expand All @@ -102,32 +96,30 @@ Clone the repository for the AGiXT back end and start it.

```
git clone https://github.com/Josh-XT/AGiXT
cd AGiXT/src/agixt
cd AGiXT/agixt
pip install -r requirements.txt
streamlit run streamlit.py
```

Access the web interface at http://localhost:8501

## Configuration

Each AGiXT Agent has its own settings for interfacing with AI providers, and other configuration options. These settings can be set and modified through the web interface.

## API Endpoints
### API Endpoints

AGiXT provides several API endpoints for managing agents, prompts and chains.

If you're not running with Docker, the back end can be run with:
```
python src/agixt/app.py
python agixt/app.py
```

To learn more about the API endpoints and their usage, visit the API documentation at
- [Swagger](http://localhost:7437)
- [Redoc](http://localhost:7437/redoc)

This documentation is hosted locally and the frontend must be running for these links to work.
## Configuration

Each AGiXT Agent has its own settings for interfacing with AI providers, and other configuration options. These settings can be set and modified through the web interface.
## Documentation

Not enough information? Check out the [documentation](https://josh-xt.github.io/AGiXT) for more details.
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

# Get requirements from requirements.txt to a list
with open(
os.path.join(this_directory, "src/agixt/requirements.txt"), encoding="utf-8"
os.path.join(this_directory, "agixt/requirements.txt"), encoding="utf-8"
) as f:
install_requires = f.read().splitlines()
requirements = []
for reqs in install_requires:
if "--" not in reqs and ":" not in reqs and "#" not in reqs:
requirements.append(reqs)
# Get version from version file in src/agixt/version
with open(os.path.join(this_directory, "src/agixt/version"), encoding="utf-8") as f:
# Get version from version file in agixt/version
with open(os.path.join(this_directory, "agixt/version"), encoding="utf-8") as f:
version = f.read().strip()

setup(
Expand Down

0 comments on commit 58e4d6a

Please sign in to comment.