Give any AI product a soul — Five Generals + 4D Intent Mixing + 3-Layer Memory + Personality Evolution
Project description
taijios-soul
Give any AI product a soul.
from taijios import Soul
soul = Soul(user_id="alice")
response = soul.chat("今天心情不好")
print(response.reply)
Five Generals + 4D Intent Mixing + 3-Layer Memory + Personality Evolution — all running automatically behind three lines of code.
Install
pip install taijios-soul
With Claude API support:
pip install taijios-soul[claude]
Quick Start
from taijios import Soul
# Zero config — runs with local ollama or mock mode
soul = Soul(user_id="alice")
# Chat — full 10-step soul pipeline runs automatically
r = soul.chat("帮我看一个bug")
print(r.reply) # Soul-driven response
print(r.intent) # {work: 0.7, chat: 0.1, crisis: 0.0, learning: 0.2}
print(r.stage) # 初见 → 眼熟 → 熟人 → 老友
print(r.generals) # Five Generals council result
# With Claude API
soul = Soul(user_id="bob", api_key="sk-ant-...")
r = soul.chat("为什么Redis用单线程反而更快?")
# Feedback drives evolution
soul.feedback(positive=True)
# End session — triggers memory consolidation
soul.end_session()
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file taijios_soul-0.1.0.tar.gz.
File metadata
- Download URL: taijios_soul-0.1.0.tar.gz
- Upload date:
- Size: 111.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c567e4b1d39eb4656c68ccd7ec8a602d00fbc3061e7b0a8b2d7e9ed8a32f5607
|
|
| MD5 |
49065e94454de7d7cdabad2b4ea13b73
|
|
| BLAKE2b-256 |
10f6f37b23dfffe9d9b9860ade2edf02c9beabf87a17ec997d134ced2b2784b7
|
File details
Details for the file taijios_soul-0.1.0-py3-none-any.whl.
File metadata
- Download URL: taijios_soul-0.1.0-py3-none-any.whl
- Upload date:
- Size: 126.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5df9e2f4b3e7d78c9fc3dab48a6be48ca1d74d20cf2497b0785ed27b052b078
|
|
| MD5 |
aa34ee4d75e5bdcca7060af80d7636fa
|
|
| BLAKE2b-256 |
53d60f658f1367316c309192ae52d268f971cb570b0c136d0904f5c60ea1b45a
|