LibreAI / KI-Agenten / generative_agents
// agents · joonspk-research/generative_agents

generative_agents

generative_agents ist ein Open-Source-Projekt aus der Kategorie KI-Agenten von joonspk-research (joonspk-research/generative_agents auf GitHub). Es hat 22.200 Sterne auf GitHub und 3.112 Forks, wird unter der Lizenz Apache-2.0 veröffentlicht und wurde zuletzt am 5. August 2024 auf GitHub aktualisiert.

Stanford's Generative Agents simulation - 25 AI characters living in a virtual town

★ 22,2 Tsd. Sterne⑂ 3,1 Tsd. ForksApache-2.0aktualisiert Aug 2024
▦ Visual — das README dieses Projekts enthält keinen einbettbaren Screenshot,
darum hier ein Platzhalter. Die Anleitung unten ist trotzdem vollständig.
// projektdaten

Projektdaten

GitHub-Sterne
22.200
Forks
3.112
Lizenz
Apache-2.0
Zuletzt auf GitHub aktualisiert
5. August 2024
Kategorie
KI-Agenten
Eintragstyp
Vollständige Installationsanleitung
// so funktioniert es

So funktioniert es

  1. Understand the setup

    Read the paper summary and decide whether you want to replay a demo or run a live simulation.

  2. Clone the simulation

    Get the repository, which contains the environment front-end and the simulation server.

  3. Configure your API key

    Create the utils file with your OpenAI API key, then install the Python requirements.

  4. Run your first simulation

    Start the environment server and the simulation server, then watch or replay the agents' day.

// funktionen

Warum es so beliebt ist

Believable agent architecture

Implements the paper's memory stream, retrieval, reflection and planning loop for each agent.

A living town simulation

Runs 25 agents in the Smallville environment ('the Ville') with daily routines and emergent social behavior.

Save and replay

Simulations can be saved, replayed and demoed, so experiments are reproducible.

Customizable histories

Author and load agent history files to change what agents remember.

New base simulations

Create your own base simulations with different agents and starting states.

Interactive front end

Watch agents move and interact through the web-based environment server.

Advertisement
// selbst ausführen

Führe es selbst aus

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/joonspk-research/generative_agents.git
    cd generative_agents
  2. Install requirements

    After creating the utils file with your OpenAI API key (README Step 1), install the Python dependencies.

    pip install -r requirements.txt # see README for the exact path
  3. Start the servers

    The README walks through starting the environment server, then the simulation server, then running or replaying a simulation.

    # Start the environment (frontend) server, then the simulation server
    # per README 'Running a Simulation' steps 1-2
// anwendungsfälle

Was du damit bauen kannst

Advertisement
// häufige fragen

Häufige Fragen

Who maintains this project?

It is maintained by the paper's authors (Joon Sung Park and collaborators, Stanford) as research code on GitHub.

Is it free to use?

Yes - the code is Apache-2.0 licensed and free to use under that license.

Does it need a paid API key?

Yes, for live simulations you need your own OpenAI API key, and a town full of agents making LLM calls can consume meaningful API credit; replaying saved simulations avoids most of that cost.

How does it compare to alternatives?

Compared with agent frameworks like LangChain, this is not a toolkit for building your own agent app - it is a complete, paper-faithful social simulation you run, replay and modify.

How do I get started?

Clone the repo, add your OpenAI key in the utils file, install requirements.txt, and follow the README's two-server run instructions.

// weiter entdecken

Ähnliche Tools

KI-Agenten

eventcatalog

Living architecture documentation that both your team and AI agents can read.

★ 2,9 Tsd. SterneCustom
Anleitung ansehen →
KI-Agenten

webgradients

180 free gradients for CSS, Figma, and Sketch, plus a dataset for AI agents.

★ 2,5 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

babysitter

Babysitter enforces the process: deterministic, quality-gated orchestration for fleets of coding agents.

★ 1,8 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

nullhub

Management console for installing and monitoring AI agents and pipelines.

★ 1,8 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

ktx

Context layer so AI agents query your analytics databases accurately.

★ 1,6 Tsd. SterneApache-2.0
Anleitung ansehen →
KI-Agenten

paritok-4b-v1

Compression gateway that cuts AI coding agents' token bills up to 85%.

★ 1,5 Tsd. SterneApache-2.0
Anleitung ansehen →
// alternativen

Alternativen im Bereich KI-Agenten

Die anderen Projekte der Kategorie KI-Agenten mit den meisten Sternen im LibreAI-Katalog — die realistische Auswahl, falls generative_agents nicht das Richtige ist.

// mehr in agents

Mehr in KI-Agenten

Verwandte Projekte der Kategorie KI-Agenten im Katalog, die generative_agents bei den Sternen am nächsten stehen — zum Weiterstöbern auf beiden Seiten.

Hol dir generative_agents

Kostenlos und offen — hol dir den Quellcode, gib dem Repository einen Stern und leg los.