econagents 0.0.3__py3-none-any.whl → 0.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- econagents/__init__.py +1 -1
- econagents/cli.py +136 -0
- econagents/config_parser/__init__.py +18 -0
- econagents/config_parser/base.py +518 -0
- econagents/config_parser/basic.py +45 -0
- econagents/config_parser/ibex_tudelft.py +243 -0
- econagents/core/game_runner.py +112 -13
- econagents/core/manager/base.py +4 -8
- econagents/core/transport.py +62 -28
- {econagents-0.0.3.dist-info → econagents-0.0.7.dist-info}/METADATA +18 -10
- {econagents-0.0.3.dist-info → econagents-0.0.7.dist-info}/RECORD +14 -8
- {econagents-0.0.3.dist-info → econagents-0.0.7.dist-info}/WHEEL +1 -1
- econagents-0.0.7.dist-info/entry_points.txt +3 -0
- {econagents-0.0.3.dist-info → econagents-0.0.7.dist-info}/LICENSE +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: econagents
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary:
|
5
5
|
License: MIT
|
6
6
|
Author: Dylan Castillo
|
@@ -13,26 +13,32 @@ Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
15
15
|
Provides-Extra: all
|
16
|
-
Provides-Extra: default
|
17
16
|
Provides-Extra: langfuse
|
18
17
|
Provides-Extra: langsmith
|
19
18
|
Provides-Extra: ollama
|
20
19
|
Provides-Extra: openai
|
21
|
-
|
22
|
-
Requires-Dist:
|
23
|
-
Requires-Dist:
|
24
|
-
Requires-Dist:
|
20
|
+
Provides-Extra: standard
|
21
|
+
Requires-Dist: langfuse ; extra == "all"
|
22
|
+
Requires-Dist: langfuse ; extra == "langfuse"
|
23
|
+
Requires-Dist: langsmith ; extra == "all"
|
24
|
+
Requires-Dist: langsmith ; extra == "langsmith"
|
25
|
+
Requires-Dist: langsmith ; extra == "standard"
|
26
|
+
Requires-Dist: ollama ; extra == "all"
|
27
|
+
Requires-Dist: ollama ; extra == "ollama"
|
28
|
+
Requires-Dist: openai ; extra == "all"
|
29
|
+
Requires-Dist: openai ; extra == "openai"
|
30
|
+
Requires-Dist: openai ; extra == "standard"
|
25
31
|
Description-Content-Type: text/markdown
|
26
32
|
|
27
33
|
<div align="center">
|
28
|
-
<img src="https://raw.githubusercontent.com/
|
34
|
+
<img src="https://raw.githubusercontent.com/IBEX-TUDelft/econagents/main/assets/logo_200w.png">
|
29
35
|
</div>
|
30
36
|
|
31
37
|
<div align="center">
|
32
38
|
|
33
39
|

|
34
40
|
[](https://pypi.python.org/pypi/econagents)
|
35
|
-
[](https://github.com/IBEX-TUDelft/econagents/actions?query=workflow%3Atests)
|
36
42
|
[](https://econagents.readthedocs.io/en/latest/?badge=latest)
|
37
43
|
|
38
44
|
</div>
|
@@ -50,7 +56,7 @@ econagents is a Python library that lets you use LLM agents in economic experime
|
|
50
56
|
pip install econagents
|
51
57
|
|
52
58
|
# Or install directly from GitHub
|
53
|
-
pip install git+https://github.com/
|
59
|
+
pip install git+https://github.com/IBEX-TUDelft/econagents.git
|
54
60
|
```
|
55
61
|
|
56
62
|
## Framework Components
|
@@ -76,7 +82,7 @@ The simplest game to run is a version of the repeated prisoner's dilemma game th
|
|
76
82
|
|
77
83
|
```shell
|
78
84
|
# Run the server
|
79
|
-
python examples/
|
85
|
+
python examples/prisoner/server/server.py
|
80
86
|
|
81
87
|
# Run the experiment (in a separate terminal)
|
82
88
|
python examples/prisoner/run_game.py
|
@@ -95,3 +101,5 @@ Note: you still have to set up the connection to the agents.
|
|
95
101
|
|
96
102
|
For detailed guides and API reference, visit [the documentation](https://econagents.readthedocs.io/en/latest/).
|
97
103
|
|
104
|
+
You should also check out the [econagents cookbook](https://github.com/iwanalabs/econagents-cookbook/tree/main/) for more examples.
|
105
|
+
|
@@ -1,25 +1,31 @@
|
|
1
|
-
econagents/__init__.py,sha256=
|
1
|
+
econagents/__init__.py,sha256=jxK63Ad8DSNSsWeKwcH1TIrZTuOdMKVfhlh6Io65LTM,1111
|
2
2
|
econagents/_c_extension.pyi,sha256=evVvDNUCGqyMPrNViPF7QXfGUNNIMbUdY5HemRNQ1_o,113
|
3
|
+
econagents/cli.py,sha256=Db2U9oSG9cyUv6UEM1wvWpDzo86MH8MpQmlEsk3vJU0,5394
|
4
|
+
econagents/config_parser/__init__.py,sha256=FtBqoJ0ghPtQgjjM1L1h2yFcle1IYTOQDsetDsnc8yc,582
|
5
|
+
econagents/config_parser/base.py,sha256=RU0jQrEkETkWOoXIPUFYaqDH_lOTYAgyPfh1pJoG1-4,19551
|
6
|
+
econagents/config_parser/basic.py,sha256=jVuDGltHCfOmmdIhxIe7egtu9hBfHiLO6qwmOwjBg5A,1780
|
7
|
+
econagents/config_parser/ibex_tudelft.py,sha256=E6MfN72JowbTT5VM_InIE8Ak2NuyaV3R2hTnh2DiXlQ,10916
|
3
8
|
econagents/core/__init__.py,sha256=QZoOp6n5CX1j-Ob6PZgyCNY78vi2kWmd_LVLrJUj1TU,393
|
4
9
|
econagents/core/agent_role.py,sha256=MA0aaTEWiI5NLSKN2YmWHb8gBYljtDVlLOSpohkv45M,15895
|
5
10
|
econagents/core/events.py,sha256=hx-Ru_NoSISuN--7ZFC3CIql5hry3AATSnHZJJv3Kds,294
|
6
|
-
econagents/core/game_runner.py,sha256=
|
11
|
+
econagents/core/game_runner.py,sha256=jfb8d04QXCbUo22jBtVLyaMpAOZJ7_V13_bxnyFzsVI,19374
|
7
12
|
econagents/core/logging_mixin.py,sha256=tYsRc5ngW-hzfElrb838KO-9-BGOPyUv2v5LLuJToBE,1421
|
8
13
|
econagents/core/manager/__init__.py,sha256=bDpCQlFcw_E-js575X3Xl6iwZ1uILC18An1vt6oE7S4,284
|
9
|
-
econagents/core/manager/base.py,sha256=
|
14
|
+
econagents/core/manager/base.py,sha256=7fCvZzO2W39otdtSoUALoX4dGSgpC4cZ2Jpyi8jF9pg,18861
|
10
15
|
econagents/core/manager/phase.py,sha256=gx1ku_hPVmT-BgKTdc55BSZ56Qd3fN1smUgjPbYYtCs,19268
|
11
16
|
econagents/core/state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
17
|
econagents/core/state/fields.py,sha256=YxVOqdriaHRHoyeXsIB8ZDHygneMJD1OikOyeILK_oA,1854
|
13
18
|
econagents/core/state/game.py,sha256=6J3xV_SViShwBNgcWc_sK1dQPNO8Abb7qONFF0d4qVs,9729
|
14
19
|
econagents/core/state/market.py,sha256=Jg-X9mYH6B3cYOwxzjFDV5PDbCIYxipx2UN4ecfyyDE,3909
|
15
|
-
econagents/core/transport.py,sha256=
|
20
|
+
econagents/core/transport.py,sha256=dANw1BTwmUs99tb7PtCZSyJBQ23siiRZrBBmp2z5mbw,6427
|
16
21
|
econagents/llm/__init__.py,sha256=J1PqpG3wL41oBAfzp5QaaP2ekwxCM_tiRq4H0OeSv4w,482
|
17
22
|
econagents/llm/base.py,sha256=TFZhot8ffW-2JAOxDxeCG8V5Nn56ulSjCzJwSBopKg0,1726
|
18
23
|
econagents/llm/observability.py,sha256=WSkJ7lZZl2FVpDWpFivudoeOENR_lyLZscUisveAi6k,9467
|
19
24
|
econagents/llm/ollama.py,sha256=0ElnQhyCCAOu6u-TIC2JeNzh8OV6_VZjchFpi1F3HxU,2242
|
20
25
|
econagents/llm/openai.py,sha256=x1L9GS2DXNvPTECXP6DVMwr9fuhcHMZh_2k8ds30i-Y,2395
|
21
26
|
econagents/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
|
-
econagents-0.0.
|
23
|
-
econagents-0.0.
|
24
|
-
econagents-0.0.
|
25
|
-
econagents-0.0.
|
27
|
+
econagents-0.0.7.dist-info/LICENSE,sha256=Bd4MAEaMayyDO5BncOl3q0T2b6sWcjABigXLRFxgKIU,1082
|
28
|
+
econagents-0.0.7.dist-info/METADATA,sha256=GFiZWlkiARilrWx4nFdEVTP1di3UYHnD4OMh5OKKiuA,3969
|
29
|
+
econagents-0.0.7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
30
|
+
econagents-0.0.7.dist-info/entry_points.txt,sha256=zm53n6FbaLAJuef_zRdddtTS-N0WTyWbxhcNUSdSZ0c,53
|
31
|
+
econagents-0.0.7.dist-info/RECORD,,
|
File without changes
|