Skip to main content

AGI

Project description

SkyAGI: an End to End Application based on Generative Agents

PyPI

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 interesting response and believable human behaviors. The interesting observations in this demo show a huge potential for rethinking game development in many aspects.

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 more details about the observations, refer to the observations section

Quick Start

Installation

pip install --upgrade skyagi

How to run

export OPENAI_API_KEY="..."
skyagi
# or
OPENAI_API_KEY="..." skyagi

For 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_KEY_KEY=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 skyagi

To use example agent configs, download it from here: https://github.com/litanlitudan/skyagi/tree/main/examples (pip install doesn't contain the agent configuration)

Interesting observations in this demo

References

  1. https://arxiv.org/abs/2304.03442
  2. https://python.langchain.com/en/latest/use_cases/agent_simulations/characters.html#create-a-generative-character

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skyagi-0.0.19.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

skyagi-0.0.19-py3-none-any.whl (18.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page