PyAGI
Description
Autonomous AI agent framework for Python using OpenAI & LangChain — generates app descriptions, architecture outlines, UX flows & code from natural language objectives. Published on PyPI.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
pyAGI
**pyAGI** is a Python package that functions as an autonomous agent for your Python application. By interfacing with OpenAI models, it utilizes a sequence of prompts to instruct the AI in generating various outputs such as application descriptions, architecture outlines, user experience flows, and even code samples. All these are achieved using the **langchain** framework to construct chains of language models.
Features
- Supports several OpenAI models, including a range of GPT-3 and Davinci models.
- Provides functionality for generating:
- Application descriptions
- Software architecture outlines
- User experience flows
- Code flow descriptions
- Coding steps
- Application code
- Application descriptions
Setup
To use pyAGI, you need to have an [OpenAI account](https://www.openai.com/) and obtain your API key. Once you have your OpenAI API key, set it as an environment variable OPENAI_API_KEY in your system.
`export OPENAI_API_KEY='your-api-key-here'`
Installation
To install pyAGI, use pip:
`pip install pyAGI`
The package is available at PyPI pyAGI (https://pypi.org/project/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 (https://openai.com/waitlist/gpt-4-api):
- "gpt-4",
- "gpt-4-0314",
- "gpt-4-32k",
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI