LibreAI / Agentes de IA / generative_agents
// agents · joonspk-research/generative_agents

generative_agents

generative_agents es un proyecto de agentes de IA de código abierto de joonspk-research (joonspk-research/generative_agents en GitHub). Tiene 22.200 estrellas en GitHub y 3.112 bifurcaciones, se publica bajo la licencia Apache-2.0 y se actualizó por última vez en GitHub el 5 de agosto de 2024.

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

★ 22,2k estrellas⑂ 3,1k bifurcacionesApache-2.0actualizado ago 2024
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Estrellas en GitHub
22.200
Bifurcaciones
3.112
Licencia
Apache-2.0
Última actualización en GitHub
5 de agosto de 2024
Categoría
Agentes de IA
Tipo de ficha
Guía de instalación completa
// cómo funciona

Cómo funciona

  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.

// características

Por qué gusta tanto

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
// ejecútalo

Ejecútalo tú mismo

  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
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

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.

// sigue explorando

Herramientas similares

Agentes de IA

eventcatalog

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

★ 2,9k estrellasCustom
Ver la guía →
Agentes de IA

webgradients

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

★ 2,5k estrellasMIT
Ver la guía →
Agentes de IA

babysitter

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

★ 1,8k estrellasMIT
Ver la guía →
Agentes de IA

nullhub

Management console for installing and monitoring AI agents and pipelines.

★ 1,8k estrellasMIT
Ver la guía →
Agentes de IA

ktx

Context layer so AI agents query your analytics databases accurately.

★ 1,6k estrellasApache-2.0
Ver la guía →
Agentes de IA

paritok-4b-v1

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

★ 1,5k estrellasApache-2.0
Ver la guía →
// alternativas

Alternativas en Agentes de IA

Los demás proyectos de Agentes de IA con más estrellas del catálogo de LibreAI: la lista realista de alternativas si generative_agents no es lo que buscas.

// más en agents

Más en Agentes de IA

Proyectos de Agentes de IA cercanos en el catálogo, los más próximos en estrellas a generative_agents: sigue explorando a ambos lados.

Consigue generative_agents

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.