-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
22 lines (18 loc) · 810 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""
Agient - A Psychologically-Grounded Agent Simulation Framework
=============================================================
A framework for creating psychologically realistic agent-based simulations
that model human behavior, relationships, and decision-making processes.
"""
from typing import List, Dict, Optional, Callable, Union, TypeVar, Generic, Set
from pydantic import BaseModel, Field
from uuid import UUID, uuid4
from datetime import datetime
from storage import AgentStorage, StoredMemory
from llm import LLMConfig, BaseLLM, create_llm, LLMResponse
from models.personality import Personality
from models.demographics import Demographics
from models.memory import Memory, Goal
from models.agent import Agent
from models.environment import Environment
from utils.message_utils import Message