Views
No views yet


1git clone https://github.com/LinkSoul-AI/AutoAgents
2cd AutoAgents
3python setup.py installOPENAI_API_KEY (or LLM_API_KEY) and SERPAPI_API_KEY.OPENAI_API_MODEL (default: gpt-4o)OPENAI_API_BASE, OPENAI_API_TYPE, OPENAI_API_VERSION, DEPLOYMENT_ID (Azure-style OpenAI)GLOBAL_PROXY or OPENAI_PROXY for HTTP(S) proxy; or use --proxy flagSEARCH_ENGINE (default: serpapi_google). Other keys: SERPER_API_KEY, GOOGLE_API_KEY, GOOGLE_CSE_ID1# Minimum required
2export OPENAI_API_KEY="sk-..."
3export SERPAPI_API_KEY="your-serpapi-key"
4
5# Optional: change model and set proxy
6export OPENAI_API_MODEL="gpt-4o-mini"
7export GLOBAL_PROXY="http://127.0.0.1:7890"
8
9# Optional: Azure-style OpenAI
10export OPENAI_API_TYPE="azure"
11export OPENAI_API_BASE="https://<your-azure-endpoint>/openai/deployments"
12export OPENAI_API_VERSION="2024-02-01"
13export DEPLOYMENT_ID="<your-deployment>"1# Using environment variables (prompts for any missing ones)
2python main.py --mode commandline --idea "Is LK-99 really a room temperature superconducting material?"
3
4# Or pass keys explicitly
5python main.py --mode commandline \
6 --llm_api_key "$OPENAI_API_KEY" \
7 --serpapi_key "$SERPAPI_API_KEY" \
8 --idea "Is LK-99 really a room temperature superconducting material?"
9
10# Optional HTTP proxy
11python main.py --mode commandline --proxy "http://127.0.0.1:7890" --idea "..."python main.py --mode service --host 127.0.0.1 --port 9000ws://<host>:<port>. You can use the demo UI under frontend/app/demo.html by serving the frontend/app folder with any static HTTP server.1IMAGE="linksoul.ai/autoagents"
2VERSION=1.0
3
4docker build -f docker/Dockerfile -t "${IMAGE}:${VERSION}" .docker run -it --rm -p 7860:7860 "${IMAGE}:${VERSION}"1@inproceedings{ijcai2024p3,
2 title = {{AutoAgents}: A Framework for Automatic Agent Generation},
3 author = {Chen, Guangyao and Dong, Siwei and Shu, Yu and Zhang, Ge and Sesay, Jaward and Karlsson, Börje F. and Fu, Jie and Shi, Yemin},
4 booktitle = {Proceedings of the Thirty-Third International Joint Conference on
5 Artificial Intelligence, {IJCAI-24}},
6 pages = {22--30},
7 year = {2024},
8 month = {8},
9 note = {Main Track},
10 doi = {10.24963/ijcai.2024/3},
11 url = {https://doi.org/10.24963/ijcai.2024/3},
12}