General Introduction
Second Me is an open source project developed by the Mindverse team that lets you create an AI on your computer that acts like a "digital doppelganger", learning your speech and habits through your words and memories, and becoming a smart assistant that understands you. Its best feature is that all data stays local and doesn't have to be uploaded to the cloud, ensuring privacy and security. Your AI can also connect with other people's AIs through a decentralized network to collaborate with each other. second Me currently supports macOS (especially Apple Silicon), and is suitable for people who like technology, AI experts, or general users who want to try a personalized assistant. The project is still in development, so feel free to add improvements.
Function List
- Creating a personal AI alter ego: Use your words and memories to let the AI learn your style and ideas.
- Running locally protects privacy: The data and AI models exist only on your device, and you call the shots.
- decentralized network connection: Use Second Me Protocol (SMP) to allow your AI to interact safely with other AI.
- Scene switching function: The AI can adapt its performance to different situations (e.g., work or chat).
- Open source free modification: The code is public, so tech enthusiasts can tweak or add features as they please.
- Intelligent Memory Technology: Memorize short-term conversations and long-term habits using the HMM 3-Layer Memory.
- Imitate your style: Me-Alignment technology makes AI answers more like you.
Using Help
Second Me requires a bit of technical maneuvering, but the official documentation and tutorials are very detailed. Below are the complete steps for installation and use.
Installation process
- Prepare the computer
- Use macOS (preferably Apple Silicon, such as M1/M2).
- Install Git: In a terminal, type
git --version
It's not loaded. It's running.brew install git
(Install Homebrew first, with the command/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
). - To install the Xcode tool: In Terminal, type
xcode-select --install
After loading, run thesudo xcodebuild -license accept
Consent to License.
- Download Code
- Enter it in the terminal:
git clone git@github.com:Mindverse/Second-Me.git cd Second-Me
- The code will be downloaded to your computer.
- Enter it in the terminal:
- Setting up the environment
- importation
make setup
Automatically load the required tools. If you don't have make, use./scripts/setup.sh
The - This step loads system dependencies, the Python environment, and other components, and may take a few minutes.
- importation
- Starting services
- importation
make start
maybe./scripts/start.sh
Running. - Open your browser and type
http://localhost:3000
Check for normalcy.
- importation
- Confirmation of installation
- Look in the project folder for
README.md
cap (a poem)scripts
folder would indicate success.
- Look in the project folder for
How to use the core features
Build your AI doppelganger
- Preparation of information::
In the project folder create adata
Folder (if you don't have one, build your own). Put your written material in there, such as journals, notes, in a format that can be txt or pdf. - Let the AI learn::
Go to the project directory in the terminal and run the learn command (refer to the latest documentation, it may look like thepython train.py --data data/
). A small copy of the material can be learned in a few minutes, a large copy may take hours. - Try it out.::
After learning, the model exists locally. Run the test commands (likepython interact.py
Ask the AI something like, "Do you know what I like?" See if it answers like you.
Local operation and privacy
- Runs locally by default, no need for an internet connection. Learned AI is always available.
- Check status: Enter in your browser
http://localhost:3000
(ports may change, see documentation).
Connecting to other AI
- Turn on the network function::
Modify the configuration file (possiblyconfig.json
) to enable the SMP network option. - test connection::
Use test commands (likepython network_test.py
) to see if you can talk to your friend's AI. Requires consent from the other party. - Stay safe.::
Data is only shared with your consent and privacy is guaranteed.
Scene switching function
- Setting up different styles::
Write down the scenario clearly in the profile, such as "formal tone for work emails", and the AI will automatically adjust. - How does it work?::
Ask the AI to explain the situation, such as "Write me a work email," and it responds in a formal style.
Operating Tips
- stay up to date: The project often has new versions, which are regularly entered
git pull
Updated. - Problems encountered: See
logs
folder, or ask at GitHub Issues. - More HelpGo. https://second-me.gitbook.io/a-new-ai-species-making-we-matter-again Watch the tutorial.
How the features work
- HMM Smart Memory::
The AI takes your data and categorizes it into short-term (what you just talked about), medium-term (what you've done recently), and long-term (your habits). For example, if you say "I bought milk yesterday", it remembers and associates it with your regular purchases. - Imitate your style::
Me-Alignment lets the AI learn how you talk. For example, if you like to say "it's okay", the AI will use that word a lot. Give it more of your words for better results.
Try it with a few profiles at first and slowly add more. Once you learn it, your AI doppelganger will be able to do things for you and work with other AIs.
application scenario
- Daily Assistant
Give Second Me your agenda and notes, and it will answer the question, "What do I have planned for tomorrow?" or remind you what to do. - Privacy mandate
When dealing with private files, it runs locally without internet connection and the data won't leak out, which is suitable for keeping a diary or work record. - Teamwork
The team each gets an AI that is networked to organize information together, such as automatically remembering meeting points. - learning aid
Students put in their class notes and the AI is able to answer questions or organize review content.
QA
- Does it have to be networked?
Not required. It works locally, networking is just to connect with other AIs and you have to agree. - Does Windows work?
Right now only macOS (preferably Apple Silicon) is supported. Other systems are still planned. - How do I make AI more like me?
Give it more of your words, like chat logs or journal entries. Technical details to look at https://arxiv.org/abs/2503.08102The