# Jean Memory Python SDK
The official Python SDK for Jean Memory - Build personalized AI chatbots with persistent memory.
## Installation
```bash
pip install jeanmemory
```
## Quick Start
```python
from jeanmemory import JeanAgent
import os
# Create agent
agent = JeanAgent(
api_key=os.getenv("JEAN_API_KEY")
)
# Run the agent
agent.run()
```
## Features
- 🧠 **Persistent Memory**: Conversations remember previous interactions
- 🚀 **Easy Setup**: Get started in 3 lines of code
- 🔒 **Secure**: OAuth 2.1 authentication with JWT tokens
- ⚡ **Fast**: Optimized for production use
- 🐍 **Pythonic**: Follows Python best practices
## API Reference
### JeanAgent
```python
class JeanAgent:
def __init__(self, api_key: str, demo_mode: bool = False)
def run(self) -> None
async def process_message(self, message: str) -> str
```
### Example Usage
```python
import asyncio
from jeanmemory import JeanAgent
async def main():
agent = JeanAgent(api_key="jean_sk_your_api_key")
# Process a message
response = await agent.process_message("Remember that I love pizza")
print(response)
# Later conversation
response = await agent.process_message("What do I like to eat?")
print(response) # Will remember pizza preference
if __name__ == "__main__":
asyncio.run(main())
```
## Links
- [Documentation](https://docs.jeanmemory.com)
- [GitHub](https://github.com/jean-technologies/jean-memory)
- [Website](https://jeanmemory.com)
Raw data
{
"_id": null,
"home_page": "https://github.com/jean-technologies/jean-memory",
"name": "jeanmemory",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "jean-memory ai chatbot personalization sdk",
"author": "Jean Memory",
"author_email": "support@jeanmemory.com",
"download_url": "https://files.pythonhosted.org/packages/1c/cb/0cf55508618d1e3febfdcd406484b3e82c6ccd733debbe2aedc7d57c096d/jeanmemory-2.0.8.tar.gz",
"platform": null,
"description": "# Jean Memory Python SDK\n\nThe official Python SDK for Jean Memory - Build personalized AI chatbots with persistent memory.\n\n## Installation\n\n```bash\npip install jeanmemory\n```\n\n## Quick Start\n\n```python\nfrom jeanmemory import JeanAgent\nimport os\n\n# Create agent\nagent = JeanAgent(\n api_key=os.getenv(\"JEAN_API_KEY\")\n)\n\n# Run the agent\nagent.run()\n```\n\n## Features\n\n- \ud83e\udde0 **Persistent Memory**: Conversations remember previous interactions\n- \ud83d\ude80 **Easy Setup**: Get started in 3 lines of code\n- \ud83d\udd12 **Secure**: OAuth 2.1 authentication with JWT tokens\n- \u26a1 **Fast**: Optimized for production use\n- \ud83d\udc0d **Pythonic**: Follows Python best practices\n\n## API Reference\n\n### JeanAgent\n\n```python\nclass JeanAgent:\n def __init__(self, api_key: str, demo_mode: bool = False)\n def run(self) -> None\n async def process_message(self, message: str) -> str\n```\n\n### Example Usage\n\n```python\nimport asyncio\nfrom jeanmemory import JeanAgent\n\nasync def main():\n agent = JeanAgent(api_key=\"jean_sk_your_api_key\")\n \n # Process a message\n response = await agent.process_message(\"Remember that I love pizza\")\n print(response)\n \n # Later conversation\n response = await agent.process_message(\"What do I like to eat?\")\n print(response) # Will remember pizza preference\n\nif __name__ == \"__main__\":\n asyncio.run(main())\n```\n\n## Links\n\n- [Documentation](https://docs.jeanmemory.com)\n- [GitHub](https://github.com/jean-technologies/jean-memory)\n- [Website](https://jeanmemory.com)\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Python SDK for Jean Memory - Add long-term memory to your Python agents and backend services",
"version": "2.0.8",
"project_urls": {
"Bug Tracker": "https://github.com/jean-technologies/jean-memory/issues",
"Documentation": "https://jeanmemory.com/docs",
"Homepage": "https://jeanmemory.com"
},
"split_keywords": [
"jean-memory",
"ai",
"chatbot",
"personalization",
"sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "3dec4e5121022a1e0c65758d60ea9521fce8b1e3f70b5d2a8d05288cb0a43915",
"md5": "1e7734b6b06097d6899331a95c2982ff",
"sha256": "508a0ab877a548f3e9a26f9d716f7565b91cdf858af20f25e2ad2b08334170ff"
},
"downloads": -1,
"filename": "jeanmemory-2.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1e7734b6b06097d6899331a95c2982ff",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 15094,
"upload_time": "2025-08-23T03:51:13",
"upload_time_iso_8601": "2025-08-23T03:51:13.031831Z",
"url": "https://files.pythonhosted.org/packages/3d/ec/4e5121022a1e0c65758d60ea9521fce8b1e3f70b5d2a8d05288cb0a43915/jeanmemory-2.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "1ccb0cf55508618d1e3febfdcd406484b3e82c6ccd733debbe2aedc7d57c096d",
"md5": "fbcb16a8557d937bca087cc805285567",
"sha256": "4a9ef3ad3641aa7c1d10e9410bf45706e667a00ff1e71e3b3cb10e8c9c9547af"
},
"downloads": -1,
"filename": "jeanmemory-2.0.8.tar.gz",
"has_sig": false,
"md5_digest": "fbcb16a8557d937bca087cc805285567",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 13885,
"upload_time": "2025-08-23T03:51:14",
"upload_time_iso_8601": "2025-08-23T03:51:14.364529Z",
"url": "https://files.pythonhosted.org/packages/1c/cb/0cf55508618d1e3febfdcd406484b3e82c6ccd733debbe2aedc7d57c096d/jeanmemory-2.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-23 03:51:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jean-technologies",
"github_project": "jean-memory",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "jeanmemory"
}