LibreAI / Agents IA / generative_agents
// agents · joonspk-research/generative_agents

generative_agents

generative_agents est un projet de agents IA open source, créé par joonspk-research (joonspk-research/generative_agents sur GitHub). Il compte 22 200 étoiles sur GitHub et 3 112 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 5 août 2024.

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

★ 22,2 k étoiles⑂ 3,1 k forksApache-2.0mis à jour août 2024
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
22 200
Forks
3 112
Licence
Apache-2.0
Dernière mise à jour sur GitHub
5 août 2024
Catégorie
Agents IA
Type de fiche
Guide d'installation complet
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

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.

// continuez l'exploration

Outils similaires

Agents IA

eventcatalog

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

★ 2,9 k étoilesCustom
Voir le guide →
Agents IA

webgradients

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

★ 2,5 k étoilesMIT
Voir le guide →
Agents IA

babysitter

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

★ 1,8 k étoilesMIT
Voir le guide →
Agents IA

nullhub

Management console for installing and monitoring AI agents and pipelines.

★ 1,8 k étoilesMIT
Voir le guide →
Agents IA

ktx

Context layer so AI agents query your analytics databases accurately.

★ 1,6 k étoilesApache-2.0
Voir le guide →
Agents IA

paritok-4b-v1

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

★ 1,5 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Agents IA

Les autres projets de la catégorie Agents IA avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si generative_agents ne vous convient pas.

// plus en agents

Plus en Agents IA

Projets de la catégorie Agents IA proches dans le catalogue, les plus proches en étoiles de generative_agents — continuez à explorer de part et d'autre.

Obtenir generative_agents

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.