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

generative_agents

generative_agents é um projeto de agentes de IA de código aberto de joonspk-research (joonspk-research/generative_agents no GitHub). Tem 22.200 estrelas no GitHub e 3.112 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 5 de agosto de 2024.

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

★ 22,2 mil estrelas⑂ 3,1 mil forksApache-2.0atualizado ago 2024
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
22.200
Forks
3.112
Licença
Apache-2.0
Última atualização no GitHub
5 de agosto de 2024
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
// como funciona

Como 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.

// recursos

Por que as pessoas gostam 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
// execute você mesmo

Execute você mesmo

  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

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Agentes de IA

eventcatalog

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

★ 2,9 mil estrelasCustom
Ver o guia →
Agentes de IA

webgradients

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

★ 2,5 mil estrelasMIT
Ver o guia →
Agentes de IA

babysitter

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

★ 1,8 mil estrelasMIT
Ver o guia →
Agentes de IA

nullhub

Management console for installing and monitoring AI agents and pipelines.

★ 1,8 mil estrelasMIT
Ver o guia →
Agentes de IA

ktx

Context layer so AI agents query your analytics databases accurately.

★ 1,6 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

paritok-4b-v1

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

★ 1,5 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se generative_agents não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de generative_agents: continue explorando dos dois lados dele.

Baixe o generative_agents

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.