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.

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

Search