v0.4.0-alpha
What's new
[2025-01-29] Release 0.4.0 with various improvements. Some highlights:
- Personas have deeper specifications now, including personality traits, preferences, beliefs, and more. It is likely we'll further expand this in the future.
TinyPersons can now be defined as JSON files as well, and loaded via theTinyPerson.load_specification(), for greater convenience. After loading the JSON file, you can still modify the agent programmatically. See the examples/agents/ folder for examples.- Introduces the concept of fragments to allow the reuse of persona elements across different agents. See the examples/fragments/ folder for examples, and the notebook Political Compass (customizing agents with fragments) for a demonstration.
- Introduces LLM-based logical
Propositions, to facilitate the monitoring of agent behavior. - Introduces
Interventions, to allow the specification of event-based modifications to the simulation. - Submodules have their own folders now, to allow better organization and growth.
Note: this will likely break some existing programs, as the API has changed in some places.
PRs from the community and the core team
- allow configuration of Azure OpenAI embedding model by Evan Wheeler (@ewheeler) in #59
- Fix spelling and grammatical errors by terrchen in #19
- Change to use de facto standard for dotenv sample by Webysther Sperandio (@webysther) in #22
- fix typo, call
semantic_memorymethod of agent not self by Evan Wheeler (@ewheeler) in #57 - docs: update README.md by Ikko Eltociear Ashimine (@eltociear) in #24
- Add
matplotlibto dependencies by RektPunk in #33 - variable typo #18 fixed by Rahim Baig (@rahimbaig28) in #25
- also retry aux_act_once upon TypeError by Evan Wheeler (@ewheeler) in #58
- Adds deeper persona structure, including fragments. by Paulo Salem (@paulosalem) in #86
- Merges latest development version into main. by Paulo Salem (@paulosalem) in #90
New Contributors
- Evan Wheeler (@ewheeler) made their first contribution in #59
- terrchen made their first contribution in #19
- Webysther Sperandio (@webysther) made their first contribution in #22
- Ikko Eltociear Ashimine (@eltociear) made their first contribution in #24
- RektPunk made their first contribution in #33
- Rahim Baig (@rahimbaig28) made their first contribution in #25
Full Changelog: v0.3.1-alpha...v0.4.0-alpha