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 52 aiomysql ^0.2.0 outdated 52 flask-sock ^0.6.0 outdated 54 HTTPX ^0.28.1 55 Headless UI ^1.7.17 outdated 55 pytesseract ^0.3.10 55 PyYAML >=5.1 57 pdfplumber ^0.10.3 outdated 59 classnames ^2.5.1 62 eslint-plugin-react ^7.33.2 63 eslint-plugin-prettier ^5.0.1 64 react-markdown ^9.0.3 outdated 65 python-dotenv ==0.19.0 outdated 68 tiktoken ^0.8.0 outdated 69 eslint-config-prettier ^9.0.0 outdated 74 python-socks ^2.4.0 outdated 75 Radix UI ^1.1.2 79 Motion ^12.3.1 outdated 79 mkdocs-material 9.5.3 79 Zustand ^5.0.3 82 eslint-plugin-import ^2.29.0 82 Requests ^2.31.0 83 Charset Normalizer ^3.4.1 83 class-variance-authority ^0.7.1 83 Flask ^3.0.0 85 ModelScope ^1.25.0 87 tailwind-merge ^3.0.1 89 sentencepiece >=0.1.98,<=0.2.0 outdated 89 styled-components ^6.1.15 89 tqdm >=4.27 90 Chroma ^0.4.22 outdated 90 PyMuPDF ^1.23.7 90 Ruff 0.1.15 outdated 90 Stylelint ^15.11.0 outdated 90 Tailwind CSS ^3.4.1 outdated 91 PEFT 0.14.0 outdated 91 prettier ^3.1.0 92 gguf 0.10.0 outdated 92 LangChain 0.3.13 outdated 92 lucide-react ^0.475.0 outdated 92 postcss ^8.4.31 92 sentence-transformers ^2.6.0 outdated 93 Pydantic ^2.5.2 94 typescript-eslint ^8.26.1 94 typescript-eslint ^8.26.1 94 Ant Design 5.11.0 outdated 94 SQLAlchemy ^2.0.0 94 TRL 0.13.0 outdated 95 aiohttp ^3.9.1 95 Axios ^1.8.2 95 Datasets 3.3.2 outdated 95 ESLint ^8.57.0 outdated 95 scikit-learn ^1.3.0 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 OpenAI Python SDK ^1.50.0 outdated 96 pytest ^5.2 outdated 96 PyTorch >=1.8.0 97 TypeScript ^5 outdated 98 React ^4.6.0 outdated 98 pandas 2.2.3 outdated 98 React 18.3.1 outdated 98 React DOM 18.3.1 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