General Agent: From LLM to Agent
Project description
GeneralAgent: From LLM to Agent
A simple, general, customizable Agent framework
Features
- Simple、Fast、Stable: stable with GPT3.5.
- GeneralAgent support serialization, include python state.
- Build-in interpreters: Python, AppleScript, Shell, File, Plan, Retrieve Embedding etc.
- Dynamic UI: Agent can create dynamic ui to user who can use.
- WebUI with agent builder. You can use natural language to create agent without coding.
Architecture
Demo
Version 0.03
Version 0.0.2
https://github.com/CosmosShadow/GeneralAgent/assets/13933465/9d9b4d6b-0c9c-404d-87d8-7f8e03f3772b
Installation
docker
# pull docker
docker pull cosmosshadow/general-agent
# make .env
# replace the OPENAI_API_KEY key
# replace the REPLICATE_API_TOKEN key='xx' If you want to use other ai tools like ai draw、tts、...
cp .env.example .env
# run
docker run \
-p 3000:3000 \
-p 7777:7777 \
-v `pwd`/.env:/workspace/.env \
-v `pwd`/data:/workspace/data \
--name=agent \
--privileged=true \
-d cosmosshadow/general-agent
# open: localhost:3000
local install
install from pip:
pip install GeneralAgent
install from source code:
git clone https://github.com/CosmosShadow/GeneralAgent
cd GeneralAgent
python setup.py install
Usage
Web
localhost:3000
Terminal
GeneralAgent
Optional parameters:
GeneralAgent --workspace ./test --new --auto_run
# worksapce: Set workspace directory, default ./general_agent
# new: if workspace exists, create a new workspace, like ./general_agent_2023xxx
# auto_run: if auto_run, the agent will run the code automatically, default no
Python
Join us
discord is comming soon.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GeneralAgent-0.0.3.tar.gz
(47.2 kB
view hashes)
Built Distribution
Close
Hashes for GeneralAgent-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e8da32befef876d133ec7273a210b70ad1ec5371a9d16c31d7009fc1983f789 |
|
MD5 | 30febdbe0b7a8da6596aaf3d4ceefb8a |
|
BLAKE2b-256 | 6f29d5545dea79d3e664c279ffddd536e4ef0d1031de2d9db75c743f829c5b54 |