Metadata-Version: 2.1
Name: pyAGI
Version: 1.0.3
Summary: Autonomous agent for building the python app using OpenAI with AGI concept
Home-page: https://github.com/sattyamjjain/pyAGI
Author: Sattyam Jain
Author-email: sattyamjain96@gmail.com
Project-URL: Bug Reports, https://github.com/sattyamjjain/pyAGI
Project-URL: Source, https://github.com/sattyamjjain/pyAGI
Keywords: agi,pyagi,autonomous agent,code agi,python agi
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: langchain
Requires-Dist: openai
Requires-Dist: pydantic
Requires-Dist: streamlit
Requires-Dist: pandas
Requires-Dist: black
Requires-Dist: colorlog

# pyAGI
**pyAGI** is a Python package designed to create an autonomous agent for your Python application. It interfaces with OpenAI models and uses a chain of prompts to guide the AI in generating a variety of content, including application descriptions, architecture outlines, user experience flows, and even example code. This is accomplished using the langchain framework for creating chains of language models.

## Features
1. Supports several OpenAI models, including a range of GPT-3 and Davinci models.
2. Provides functionality for generating:

## Application descriptions
1. Software architecture outlines
2. User experience flows
3. Code flow descriptions
4. Coding steps
5. Application code

## Installation

To install pyAGI (https://pypi.org/project/pyAGI/), use pip:

`pip install pyAGI`

## Usage
After installing, you can use pyAGI to generate content for your application as follows:

```
from pyAGI.pyagi import PyAGI

Create a PyAGI instance with a selected OpenAI model
py_agi = PyAGI.create_llm_chain(selected_model="text-davinci-003")

# Run the PyAGI instance with the objective
py_agi({"objective": "Your Objective", "selected_model": "text-davinci-003"})
```

# Usage without installing the pip package

`python main.py "Objective of your app" "OpenAI Model"`

For example:

`python main.py "Build a weather app" "text-davinci-003"`

## Available Models

### Currently supported models:

- "text-davinci-002",
- "text-davinci-003",
- "gpt-3.5-turbo",
- "gpt-3.5-turbo-0301",
- "text-curie-001",
- "text-babbage-001",
- "text-ada-001"

### Upcoming models:

- "gpt-4",
- "gpt-4-0314",
- "gpt-4-32k",
- "gpt-4-32k-0314"

Please note that upcoming models will not be supported until released.

## Contributing
Contributions are welcome! Please open an issue if you encounter a bug, or a pull request if you have improvements to the existing code.

## License
This project is licensed under the MIT License.
