A Machine With Human-Like Memory Systems
Project description
humemai
- Built on a cognitive architecture
- Functions as the brain 🧠 of your own agent
- It has human-like short-term and long-term memory
- The memory is represented as a knowledge graph
- A graph database (JanusGraph + Cassandra) is used for persistence and fastgraph traversal
- The user does not have to know graph query languages, e.g., Gremlin, since HumemAI handles read from / write to the database
- The interface of HumemAI is natural language, just like a chatbot.
- This requires the Text2Graph and Graph2Text modules, which are part of HumemAI
- Everything is open-sourced, including the database
Installation
The humemai python package can already be found in the PyPI
server
pip install humemai
or
pip install 'humemai[dev]'
for the development
Supports python>=3.10
Text2Graph and Graph2Text
These two modules are critical in HumemAI. At the moment, they are achieved with LLM prompting, which is not ideal. They'll be replaced with Transformer and GNN based neural networks.
Example
example-janus-agent.ipynb: This Jupyter Notebook reads the Harry Potter book paragraph by paragraph and turns it into a knowledge graph. Text2Graph and Graph2Text are achieved with LLM prompting.- More to come ...
Visualizaing Graph
Use JanusGraph-Visualizer to
visualize the graph.
Run below:
docker run --rm -d -p 3000:3000 -p 3001:3001 --name=janusgraph-visualizer --network=host janusgraph/janusgraph-visualizer:latest
And open http://localhost:3001/ on your web browser
Work in progress
Currently this is a one-man job. Click here to see the current progress.
pdoc documentation
Click on this link to see the HTML rendered docstrings
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Run
make test && make style && make qualityin the root repo directory, to ensure code quality. - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Authors
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 humemai_research-2.3.0.post2.tar.gz.
File metadata
- Download URL: humemai_research-2.3.0.post2.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d2ff56fb47ed777753fcd222c0e5eddfb5f08ec58d11daf4c4e8b85d9a9395e
|
|
| MD5 |
9a5c8081fda4acf19a338a9b16286038
|
|
| BLAKE2b-256 |
354a7bfd8c7f31be275a9ec63e7df72fa61dea5beefd5db37f5636ad2dd9075f
|
Provenance
The following attestation bundles were made for humemai_research-2.3.0.post2.tar.gz:
Publisher:
publish-pypi.yml on humemai/humemai-research
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
humemai_research-2.3.0.post2.tar.gz -
Subject digest:
5d2ff56fb47ed777753fcd222c0e5eddfb5f08ec58d11daf4c4e8b85d9a9395e - Sigstore transparency entry: 685332483
- Sigstore integration time:
-
Permalink:
humemai/humemai-research@58cffabd22887b5c92f6d401a96e79902ec17b13 -
Branch / Tag:
refs/tags/v2.3.0.post2 - Owner: https://github.com/humemai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@58cffabd22887b5c92f6d401a96e79902ec17b13 -
Trigger Event:
release
-
Statement type:
File details
Details for the file humemai_research-2.3.0.post2-py3-none-any.whl.
File metadata
- Download URL: humemai_research-2.3.0.post2-py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d737ea65a14755dbb0d981a252f277fa25446a79c68776dedf1a1ee255174e03
|
|
| MD5 |
f3571c109f93af0970b5d672c40a68dd
|
|
| BLAKE2b-256 |
5b8c8a07fd0fb582c0e5875c8411c591bfcad14e158c3b0b701182e9d514aa2c
|
Provenance
The following attestation bundles were made for humemai_research-2.3.0.post2-py3-none-any.whl:
Publisher:
publish-pypi.yml on humemai/humemai-research
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
humemai_research-2.3.0.post2-py3-none-any.whl -
Subject digest:
d737ea65a14755dbb0d981a252f277fa25446a79c68776dedf1a1ee255174e03 - Sigstore transparency entry: 685332484
- Sigstore integration time:
-
Permalink:
humemai/humemai-research@58cffabd22887b5c92f6d401a96e79902ec17b13 -
Branch / Tag:
refs/tags/v2.3.0.post2 - Owner: https://github.com/humemai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@58cffabd22887b5c92f6d401a96e79902ec17b13 -
Trigger Event:
release
-
Statement type: