All 76 Dependencies

Every package Second Me depends on, ranked by repo health score.

Second Me is an open-source AI identity platform that lets you build a personalized digital twin by training a local language model on your own memories, documents, voice notes, and reflections. Unlike cloud-based AI assistants that store your data on remote servers, Second Me keeps everything on your machine—training, inference, and storage all happen locally using Qwen2.5 base models fine-tuned with LoRA adapters and served via llama.cpp or MLX on Apple Silicon.

The platform's core innovation is its three-layer Hierarchical Memory Modeling (HMM) pipeline: raw documents and notes are ingested and analyzed at the L0 layer, synthesized into structured identity facets called "shades" at the L1 layer using GraphRAG and ChromaDB, and then used to fine-tune a personalized language model at the L2 layer. This means your Second Me doesn't just retrieve your memories—it embeds your perspective, reasoning style, and personality directly into model weights.

Once trained, your AI self can operate in multiple modes: a Playground for personal conversations and idea exploration, a Roleplay mode where it adopts different personas to represent you in simulated scenarios, and a Space mode for connecting with other Second Me instances on a permissioned decentralized network. An MCP server integration also exposes your AI self as a tool callable by external agents and applications.

Built for developers, researchers, and privacy-conscious users who want genuine AI personalization without data lock-in, Second Me runs on Windows, macOS (with MLX acceleration for M-series chips), and Linux, with Docker Compose setups for CPU, CUDA, and Apple Silicon deployment targets.

36 jsonlines ^4.0.0 40 remark-gfm ^4.0.0 42 clsx ^2.1.1 45 Flask-Pydantic ^0.11.0 outdated 45 async-timeout ^4.0.0 outdated 47 canvas-confetti ^1.9.3 48 eslint-import-resolver-typescript ^3.6.1 outdated 48 flask-sock ^0.6.0 outdated 49 MkDocs 1.5.3 51 heroicons ^2.0.18 54 Headless UI ^1.7.17 outdated 56 classnames ^2.5.1 58 github-markdown-css ^5.8.1 60 pdfplumber ^0.10.3 outdated 61 PyYAML >=5.1 61 pytesseract ^0.3.10 62 aiomysql ^0.2.0 outdated 62 eslint-plugin-import ^2.29.0 64 React Syntax Highlighter ^15.6.1 outdated 65 react-markdown ^9.0.3 outdated 65 tiktoken ^0.8.0 outdated 66 HTTPX ^0.28.1 68 python-socks ^2.4.0 outdated 69 eslint-config-prettier ^9.0.0 outdated 72 python-dotenv ==0.19.0 outdated 73 eslint-plugin-prettier ^5.0.1 76 Requests ^2.31.0 78 Radix UI ^1.1.2 79 Motion ^12.3.1 outdated 81 Zustand ^5.0.3 81 mkdocs-material 9.5.3 82 class-variance-authority ^0.7.1 83 Charset Normalizer ^3.4.1 83 Flask ^3.0.0 85 ModelScope ^1.25.0 85 tqdm >=4.27 87 eslint-plugin-react ^7.33.2 88 sentencepiece >=0.1.98,<=0.2.0 outdated 89 styled-components ^6.1.15 89 tailwind-merge ^3.0.1 90 Tailwind CSS ^3.4.1 outdated 91 Chroma ^0.4.22 outdated 91 PEFT 0.14.0 outdated 91 PyMuPDF ^1.23.7 outdated 91 Ruff 0.1.15 outdated 91 Stylelint ^15.11.0 outdated 91 prettier ^3.1.0 92 gguf 0.10.0 outdated 92 lucide-react ^0.475.0 outdated 92 postcss ^8.4.31 93 LangChain 0.3.13 outdated 93 Pydantic ^2.5.2 93 sentence-transformers ^2.6.0 outdated 94 Ant Design 5.11.0 outdated 94 SQLAlchemy ^2.0.0 94 TRL 0.13.0 outdated 94 typescript-eslint ^8.26.1 94 typescript-eslint ^8.26.1 95 Axios ^1.8.2 95 ESLint ^8.57.0 outdated 95 Transformers >=4.5.0 95 TypeScript ^5 outdated 95 aiohttp ^3.9.1 95 scikit-learn ^1.3.0 96 Datasets 3.3.2 outdated 96 Next.js ^14.2.13 outdated 96 Next.js 14.2.25 outdated 96 NumPy >=1.19.0 96 PyTorch >=1.8.0 96 pytest ^5.2 outdated 97 OpenAI Python SDK ^1.50.0 outdated 98 React ^4.6.0 outdated 98 React 18.3.1 outdated 98 React DOM 18.3.1 outdated 98 pandas 2.2.3 outdated 98 three.js ^0.174.0 outdated

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers