SkyAGI: Emerging human-behavior simulation capability in LLM
SkyAGI: Emerging human-behavior simulation capability in LLM
https://github.com/litanlitudan/skyagi/assets/4970420/a584b364-e659-476d-a884-932b3c04df61
SkyAGI is a python package that demonstrates LLM's emerging capability in simulating believable human behaviors.
Specifically, SkyAGI implements the idea of Generative Agents and delivers a role-playing game that creates a very interesting user experience.
Different from previous AI based NPC systems, SkyAGI's NPC generates very believable human responses.
The interesting observations in this demo show a huge potential for rethinking game development in many aspects, such as NPC script writing.
To demonstrate this, SkyAGI provides example characters from The Big Bang Theory and The Avengers as a starting point.
Users could also define customized characters by creating config json files like customized_character.json
For details about the interesting observations, refer to the observations section.
Installation
pip install --upgrade skyagiOr
make installHow to run
export OPENAI_API_KEY="..."
skyagi
# or
OPENAI_API_KEY="..." skyagiFor example if the OpenAI key is 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, then the exact command would be the following
# make sure no quote around the token
export OPENAI_API_KEY=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
skyagi
# or
OPENAI_API_KEY=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 skyagiTo use example agent configs, download it from here: https://github.com/litanlitudan/skyagi/tree/main/examples (pip install doesn't contain the agent configuration)
An example agent configuration (Sheldon) looks something like this:
…Here is a screenshot of a live demo using The Big Bang Theory example.
From the conversation, we can observe three interesting points that have not been widely seen in previous systems:
No open issues yet, or sync has not completed.