Downloads · 30 days
0
sinhaankur/cognitive-twin
cognitive-twin is a machine learning model from sinhaankur. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository is not a model. It is the model card / project home for Cognitive Twin — a local-first personal AI twin. Published here so anyone running a local LLM can understand, fork, or critique the agent without…
Downloads · 30 days
0
Access
Public
Updated Jun 19, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.md3.2 KB · 68%
From the Hugging Face model README
This repository is not a model. It is the model card / project home for Cognitive Twin — a local-first personal AI twin. Published here so anyone running a local LLM can understand, fork, or critique the agent without cloning first. The runnable code lives on GitHub; nothing here downloads weights.
A personal AI twin that runs on your own machine — a digital version of you. It learns who you are (a persona you create), reasons with a local model, and calls skills to do real things. Local-first by default; nothing leaves the machine unless you allow it.
The twin drives more than one local backend and lets you switch models live:
| Backend | How models appear | Notes |
|---|---|---|
| Ollama (default) | llama3.2, qwen2.5:3b | bare names |
| OpenAI-compatible | lmstudio/qwen2.5-7b-instruct | LM Studio, llama.cpp --api, Jan, vLLM, LocalAI |
| Apple Intelligence | Apple Intelligence (on-device) | fully on-device, no server |
Tool/function calling is translated between the Ollama and OpenAI APIs, so skills work the same on either backend. Enable the OpenAI-compatible backend:
# LM Studio: load a model, then Developer ▸ Start Server (defaults to :1234)
CTWIN_USE_LMSTUDIO=1 python -m cognitive_twin voice --web
# …or any OpenAI-compatible base URL:
CTWIN_OPENAI_BASE=http://localhost:8080/v1 python -m cognitive_twin voice --web
git clone https://github.com/sinhaankur/cognitive-twin-agent
cd cognitive-twin-agent
# Ollama path: install Ollama (https://ollama.com) and pull a tool-capable model
ollama pull llama3.2
python -m cognitive_twin "good morning"
See the GitHub repo for the full README, the native macOS Twin Voice app, model routing, and the skill system.
Local models already handle a large share of everyday queries. The gap is the software around them: a persona, a skill system, and a reliable loop that turns "do X" into real actions — locally, privately, on hardware you own.
MIT. Inspired by OpenJarvis ("Personal AI, on personal devices") — an original implementation, same spirit.