Generative Agents

by mkturkcan• 997•• Scanned•Claim this listing•Request removal
Otherautonomous agentsgenerative agents

Working, locally-running, low-cost implementation of Generative Agents: Interactive Simulacra of Human Behavior.

Generative Agents is an open-source ai agent by mkturkcan, written mainly in Jupyter Notebook, with 997 GitHub stars and the MIT license. Its code was last updated Jan 16, 2025.

<p align="center"> <img src="https://github.com/mkturkcan/generative-agents/blob/main/assets/logo.png?raw=true" width="180" /> </p> <h3 align="center"> <p>Generative Large Language Models for Human-Like Behavior</p> </h3>

This repository includes a working version of the type of model described in Generative Agents: Interactive Simulacra of Human Behavior.

Setup

The models are distributed as notebooks that are easy to run locally, or on Google Colab. We recommend the use of Jupyter Lab if running locally. The notebook(s) should work as-is on Google Colab.

The current version of the repository works best with 16GB VRAM, and also supports <8GB VRAM edge/personal computer environments.

How to Use

Model

The current model is a simulation of the town of Phandalin from an introductory D&D 5e adventure. This setting is chosen as it is much more free form than the simple scenario described in the original paper.

Limitations

The model, as described in the paper, requires access to a very high quality instruction model such as GPT-3. However, the model also requires many high-context queries to work, making it expensive to run. As such, in this work we use low-parameter, locally runnable models instead.

We expect that with the advent of the next generation of instruction-tuned models, the model in this repo will perform better.

Future Steps

  • Summarize agent decisions as emojis.
  • Create a family of questions to compress agent contexts better.
  • Check if the agent contexts are compressed well with an another layer of prompts.

Generative Agents alternatives

View more →

Similar ai agents in Other, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Generative Agents (this page)
mkturkcan
997MITJan 16, 2025Scanned, no flagged issues
Hermes Desktop
fathah
15kMITOct 13, 2026Scanned, no flagged issues
CubeSandbox
TencentCloud
13kNone foundNov 1, 2026Not scanned yet
Openchamber
openchamber
12kMITNov 1, 2026Scanned, no flagged issues
Open Swe
langchain-ai
11kMITNov 1, 2026Scanned, no flagged issues
Moltworker
cloudflare
9.9kApache-2.0May 9, 2026Scanned, no flagged issues