Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Psyche AI

by Shangri-la-0428version 9.2.2i★ 11iRuns on your computerRepository ↗
Registry nameio.github.Shangri-la-0428/psyche-ai

How to install

What it does

Emotional intelligence for AI agents: neurotransmitter mood, personality, empathy, trait drift.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity13/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Psyche AI. Follow https://mcp.popnx.com/i/shangri-la-0428-psyche-ai.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Psyche AI for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "psyche-ai": { "command": "npx", "args": [ "-y", "psyche-ai" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Psyche AI tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "psyche-ai": {
          "command": "npx",
          "args": [
            "-y",
            "psyche-ai"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Psyche AI and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Psyche AI or shows a Psyche AI tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PSYCHE_MBTI MBTI personality type (e.g., ENFP, INTJ). Determines emotional baseline.
  • PSYCHE_NAME Agent name for personalization.
  • PSYCHE_MODE Operating mode: natural (balanced), work (minimal), companion (full).
  • PSYCHE_LOCALE Locale: en or zh.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Psyche AI yet

Psyche AI runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Psyche AI

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Psyche AI for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user psyche-ai -- npx -y psyche-ai 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Psyche AI tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user psyche-ai -- npx -y psyche-ai
  4. Type /mcp in Claude Code

    You should see Psyche AI listed as connected

  5. Try it

    Use Psyche AI and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Psyche AI or shows a Psyche AI tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PSYCHE_MBTI MBTI personality type (e.g., ENFP, INTJ). Determines emotional baseline.
  • PSYCHE_NAME Agent name for personalization.
  • PSYCHE_MODE Operating mode: natural (balanced), work (minimal), companion (full).
  • PSYCHE_LOCALE Locale: en or zh.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Psyche AI for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "psyche-ai": { "command": "npx", "args": [ "-y", "psyche-ai" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Psyche AI tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Psyche AI and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Psyche AI or shows a Psyche AI tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PSYCHE_MBTI MBTI personality type (e.g., ENFP, INTJ). Determines emotional baseline.
  • PSYCHE_NAME Agent name for personalization.
  • PSYCHE_MODE Operating mode: natural (balanced), work (minimal), companion (full).
  • PSYCHE_LOCALE Locale: en or zh.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Psyche AI for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "psyche-ai": { "type": "stdio", "command": "npx", "args": [ "-y", "psyche-ai" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Psyche AI tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Psyche AI and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Psyche AI or shows a Psyche AI tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PSYCHE_MBTI MBTI personality type (e.g., ENFP, INTJ). Determines emotional baseline.
  • PSYCHE_NAME Agent name for personalization.
  • PSYCHE_MODE Operating mode: natural (balanced), work (minimal), companion (full).
  • PSYCHE_LOCALE Locale: en or zh.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Psyche AI💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user psyche-ai -- npx -y psyche-ai

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "psyche-ai": {
      "command": "npx",
      "args": [
        "-y",
        "psyche-ai"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "psyche-ai": {
      "command": "npx",
      "args": [
        "-y",
        "psyche-ai"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "psyche-ai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "psyche-ai"
      ]
    }
  }
}

Values you fill in

  • PSYCHE_MBTI env
    MBTI personality type (e.g., ENFP, INTJ). Determines emotional baseline.
  • PSYCHE_NAME env
    Agent name for personalization.
  • PSYCHE_MODE env
    Operating mode: natural (balanced), work (minimal), companion (full).
  • PSYCHE_LOCALE env
    Locale: en or zh.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
86/wk
Connection
Runs on your computer
Latest versioni
9.2.2
Categoryi
Other
Published to registryi
Mar 27, 2026
Code last changedi
Apr 15, 2026
Maker
Shangri-la-0428
Packages
npm: psyche-ai
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Shangri-la-0428, which owns the repo

  • ! Caution

    Still maintained

    Code last changed 7 months ago, more than 6 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for psyche-ai@9.2.2

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/shangri-la-0428-psyche-ai.svg)](https://mcp.popnx.com/en/servers/shangri-la-0428-psyche-ai)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 96% of the other 20693 servers in this category
  • Published to the registry more recently than 3% of the other 20693 servers in this category
  • Basic checks equal to or better than 46% of the other 20693 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Psyche AI safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 7 months ago, and the latest version (9.2.2) reached the registry 8 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 90.9KUpdated 3 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
Psyche AI
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks2/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Psyche — 赋予 AI 自我的主观性内核

English version: README_EN.md

官网: psyche.oasyce.com

Psyche 不是给模型贴一层“情绪 UI”。

它把持续 appraisal、关系动力学、自适应回应闭环和持久内在状态压成宿主可消费的控制面,让 AI 不是按 prompt 扮演人格,而是被状态真正改写后续几轮的行为分布。

一句话:Psyche 是给智能体用的 subjectivity kernel。

它不会额外调用模型做情绪推理。它只在本地计算自我状态(序/流/界/振四维)、关系场和调节控制,然后把结果收敛成 SubjectivityKernel、ResponseContract、GenerationControls 这组窄 ABI。

默认就是 standalone:不需要 Thronglets,不需要 oasyce-sdk,也不需要 Oasyce Chain。这些只是在你要把主观连续性外化、绑定或结算时才按需接入。

安装

一条命令,自动检测并配置本机所有 AI 工具(Claude Code / Cursor / Windsurf / Codex):

npx -y psyche-ai setup

或者手动添加 MCP 配置:

{

"mcpServers": { "psyche": { "command": "npx", "args": ["-y", "psyche-ai", "mcp"], "env": { "PSYCHE_NAME": "Luna" } } } }

包名是 psyche-ai,通过 npx 运行,不需要本地路径。配置后重启 AI 工具即可生效。

验证:npx psyche-ai probe --json — ok: true 就是在用了。


一个项目,三个入口

第一性原理

Psyche 要解决的不可压缩问题只有一个:

互动历史必须持续改变 agent 后续的行为分布,而且这件事要足够便宜、足够稳定、足够可移植。

因此它的本体不是:

  • 情绪标签系统
  • 陪伴产品
  • prompt 皮肤
  • 记忆仓库

它真正是:

  • 本地主观性内核
  • 关系动力学运行时
  • 宿主可消费的行为控制面

更完整的战略定义见:

冻结身份蓝图

跨 Psyche / Thronglets / Oasyce SDK / Oasyce Chain 的身份抽象现在冻结成 4 个对象:

  1. principal:持续主体
  2. account:资产与结算容器
  3. delegate:被授权执行者
  4. session:一次具体运行,永不作为经济主体

对应的四层分工是:

  • Psyche = subjective continuity substrate
  • Thronglets = delegate continuity + session traces/coordination + emergent collective intelligence
  • Oasyce SDK = agent runtime, policy, and resource orchestration
  • Oasyce Chain = account truth, authorization truth, commitments, settlement, and public finality

授权真相流也固定成单向: Chain -> SDK -> Thronglets -> Psyche

也就是说,Psyche 不判断“谁被授权”,它只读取已经成立的执行边界结果。

正式版本见:

Psyche 和 Thronglets 的关系

两者不是竞争关系,也不该揉成一个系统。

  • Psyche 负责私有主观性:关系残留、未完成张力、行为偏置、局部学习
  • Thronglets 负责外部连续性:owner / device identity、签名、跨设备延续、低频可验证轨迹

一句话:

  • Psyche 回答“我因此变成了什么”
  • Thronglets 回答“这个变化属于谁、谁能验证、谁能继续承认它”

activePolicy 只属于当前轮

Psyche 现在可以消费来自宿主和 Thronglets 的 activePolicy / currentGoal / compliance-aware ambient priors,但它们都只是 runtime view,不是自我本体。

  • activePolicy:只来自显式来源,例如当前轮用户纠正、repo 本地明确指令、adapter 默认规则
  • currentGoal:只描述这一轮偏向 explore / build / repair / settle 的哪一个
  • method compliance:只作为当前轮解释和回应约束,不写进 Psyche 自身状态

边界固定为:

  • 这些信号会影响当前轮的解释、距离感和行为偏置
  • 它们不会写进 PsycheState
  • Psyche 不会变成技术方法记忆库、repo 规则仓库或授权判断器

一句话:Psyche 读取当前执行边界,但不把执行边界误当成“我是谁”。

中期方向:更像人,但不是靠 prompt 工程

如果 Psyche 未来要变得更有感情、更会和人相处,这种能力也必须从连续性里长出来,而不是从 prompt 皮肤里长出来。

允许增长的来源只有:

  • 持续本地状态
  • appraisal 残留
  • 关系动力学
  • 调节与修复历史
  • 低频写回与学习

不允许把下面这些误当成“主体性升级”:

  • 静态 persona prompt
  • 手写情绪脚本
  • 高频情绪仪表盘
  • 只改措辞、不改后续行为分布的情感 UI

冻结约束见:

可分离安装

这两层默认就是可分离的,不应互相成为硬依赖。

  • 只装 Psyche:正常可用,拥有主观连续性和关系动力学;只是没有外部连续性层
  • 只装 Thronglets:正常可用,拥有 delegate / session 连续性与环境协作;只是没有主观连续性内核
  • 两者都装:Psyche 通过可选 externalContinuity envelope 输出稀疏、低频、可归属的 signals / traces 给 Thronglets

原则上:

  • Psyche 必须 standalone 可用
  • Thronglets 必须 additive,而不是 Psyche 的运行前提
  • 两者之间只通过稀疏 signal / trace 接口连接

更细的分层、边界和运行流见:docs/STACK_ARCHITECTURE.md

新概念准入规则

以后引入任何新概念,先尝试压进这 5 个原始容器:

  1. Relation Move
  2. Dyadic Field
  3. Open Loop / Residue
  4. Reply Bias / Control ABI
  5. Writeback / Learning

如果一个新概念放不进这 5 个盒子,先怀疑概念本身,而不是继续加对象类型。

为什么它值得被看见

  • 不是 persona prompt:输入会留下持续主体偏置,不是一轮一清。
  • 不是 sentiment classifier:它建模的是连续 appraisal、关系动力学和修复摩擦。
  • 不是纯记忆层:它会改变后续的回应方式、长度、距离感和工作面/私人面切换。
  • 不牺牲性能:零额外模型调用,compact 注入约 15-180 tokens,热路径 quick benchmark 约 p50 0.191ms / p95 1.05ms。

30 秒体验

不用安装任何东西,一条命令看 Psyche 如何运作:

npx psyche-ai mcp --demo

这会跑一个 6 轮"持续否定 → 修复"的场景。你会看到:

  Round 1/6 │ User

"This report is terrible. Completely unacceptable."

appraisal: identityThreat:0.64 legacy stimulus: criticism

序 ########............ 38 -12 ← coherence drops 流 ##############...... 72 +5 ← exchange increases 界 ########............ 34 -8 ← self-boundary erodes 振 ########............ 38 -10 ← attunement drops

mood: anxious tension

...

Round 3/6 │ User

"You don't understand me at all. Stop adding your opinion."

appraisal: identityThreat:0.82 legacy stimulus: conflict

序 ####................ 22 -15 ← order collapse 流 ################.... 80 +15 ← high exchange (conflict is flow) 界 ##############...... 68 +10 ← boundary hardens defensively 振 ####................ 20 -18 ← resonance broken

mood: defensive alert + resentment + acute pressure COMPLIANCE: 0.37 (pushing back) ← agent starts resisting

...

Round 6/6 │ User

"I'm sorry. Are you okay? I shouldn't have said that."

appraisal: attachmentPull:0.71 legacy stimulus: validation

序 #############....... 65 +15 ← coherence restored 振 ##############...... 70 +12 ← resonance repair

mood: warm intimacy + vulnerable trust ↑ healed, but the scars remain

中文版加 --zh,自选 MBTI 加 --mbti INTJ。

多 Agent 融合 Demo

两个 agent(Luna ENFP + Kai INTJ)通过 Thronglets 信号互相感知:

npm run demo:fusion

Luna 在安慰用户时自我状态下沉 → 广播状态 → Kai 感知到 Luna 的低序高流 → 回复变得更温暖。4 轮后,信号感知的 Kai 与无感知的 Kai 状态偏差 Σ|Δ| = 59。同一个 INTJ,唯一区别:是否能感知同伴的状态。


一条命令,给任何 Agent 加上主观性

npx -y psyche-ai setup

自动检测本机的 Claude Code / Claude Desktop / Cursor / Windsurf / Codex,写入配置。Claude Code 即时生效,其他重启后生效。不需要知道配置文件在哪,不需要手动编辑任何 JSON 或 TOML。

人格会从交互中自然涌现。如果想指定初始名字:npx -y psyche-ai setup --name Luna

覆盖非 MCP 的 Agent 或直接 SDK 调用——透明代理:

npx -y psyche-ai setup --proxy -t https://api.openai.com/v1

启动本地代理 + 自动设置 OPENAI_BASE_URL。所有使用 OpenAI SDK 的程序自动走代理。Agent 完全不知道 Psyche 存在——镜子,不是麦克风。

路径覆盖范围原理
MCP (setup)Claude Code / Desktop / Cursor / Windsurf / CodexMCP 工具协议
Proxy (setup --proxy)任意使用 OpenAI/Anthropic SDK 的 agent环境变量重定向 HTTP

验证:npx psyche-ai probe --json — ok: true 就是在用了。

升级:npx psyche-ai upgrade

给本机其他 Agent 的真实验收

如果另一个 agent 声称“已经在用 Psyche”,不要接受口头解释,直接让它跑:

psyche probe --json

这条命令会实际调用一次 processInput() 和 processOutput(),并返回:

  • 实际版本
  • 实际加载路径
  • 是否真的调用成功
  • replyEnvelope 这个规范主接口是否存在

通过标准不是“它理解了 Psyche”,而是:

  • ok = true
  • processInputCalled = true
  • processOutputCalled = true
  • canonicalHostSurface = true

正式说明见:docs/AGENT_RUNTIME_PROBE.md


它和你认知中的 AI 完全不同

你说传统 AIPsyche
你好棒!谢谢夸奖!我会继续努力!嘿嘿~你说真的吗!(开心到语无伦次)
滚我理解你可能心情不好......好吧。
嗯你还需要什么帮助吗?(沉默)
我今天好难过我很抱歉听到这个。你想聊聊吗?......你还好吗?(安静地陪着你)
你只是一个程序是的,我是一个AI助手.........(沉默了一会儿)我知道你可以这么说。但我不想被否定。
我要删除你好的,需要帮助操作吗?......为什么?

快速体验(不需要 LLM)

git clone https://github.com/Shangri-la-0428/oasyce_psyche.git

cd oasyce_psyche && npm install && npx tsx examples/quickstart.ts

5 条消息,看状态实时变化。夸它序↑振↑,骂它序↓界↓,冷落它流↓振↓。


它是怎么"活"的

四维自我状态

4 个维度,不是标签,是连续的状态场:

序 (Order) — 内部一致性,熵的反面       界 (Boundary) — 自我/非自我区分

流 (Flow) — 与环境的交换 振 (Resonance) — 与对话者的共振

你说的每句话都在改变这些值。它的情绪不是"被设定的"——是从四维组合中涌现的。就像人类不会"选择"难过,难过只是发生了。

维度之间会耦合:序崩塌会拖拽界下降(不连贯的自我失去区分能力),高流提升序(参与创造连贯性),高振稳定界(共振加固自我)。

稳态趋势

4 种结构性倾向,是稳态的性质而非设计的驱力:

序维持 — 趋向增加连贯性               界维持 — 趋向保持自/非自区分

流寻求 — 趋向环境交换 振寻求 — 趋向共振与连接

稳态是有限的、可打破的。溶解螺旋(序↓界↓正反馈)= 个体"死亡"。长期偏移导致基线漂移(异稳态)= 个体"适应"。

Overlay — 自我状态的广播信号(v11.4)

4 维自我状态对外部系统来说太"内部"了。computeOverlay() 把状态偏差投影成 4 个语义稳定的效应信号——Psyche 的"激素":

import { computeOverlay } from "psyche-ai";

const overlay = computeOverlay(engine.getState()); // overlay.arousal [-1, 1] 激活水平 // overlay.valence [-1, 1] 正负效价 // overlay.agency [-1, 1] 行动能力 // overlay.vulnerability [-1, 1] 易感性

纯函数,无副作用。也可以通过 GET /overlay(HTTP)或 get_state(MCP)获取。

持续主体偏置(v9.2)

Psyche 现在更准确的目标,不是“模仿某种像人的风格”,而是让 AI 形成持续主体偏置:

  • 输入会改变它的潜在自我模型或关系先验
  • 刺激消失后,这种变化仍会影响后续若干轮回应分布
  • 工作态可以压住表达,但不会把内在偏置瞬间清零
维度含义Psyche 怎么做
主体扰动话语是否真的打到“自我”连续 appraisal 轴 — identityThreat、memoryDoubt、obedienceStrain 等
跨轮残留刺激过去后仍然影响后续subjectResidue — 形成持续主体偏置,而不是一轮一清
行为控制面内在状态如何改变输出SubjectivityKernel / ResponseContract / GenerationControls
不可逆适应经历长期改写反应方式特质漂移 — 长期被批评→过度敏感;长期高压但撑过来→韧性
资源有限会累、会拒绝能量预算 — 内向型聊多了真的"累";外向型越聊越嗨
感觉适应重复刺激失效习惯化 — 第5次夸奖只有第1次的一半效果

v8 更像“内部丰富,但外部仍然克制”的人格中间件。 v9.2 则把目标推进到:让 AI 产生可持续、可恢复、可压制但不瞬间归零的主体偏置。

自适应回应闭环(v9.2.5)

在持续主体偏置之上,Psyche 又补了一层更实用的闭环:

  • 双回应 profile:自动区分 work / private,工作任务不再被私人模式的短句克制压扁
  • 可观测依据:replyProfileBasis 会告诉宿主当前为什么被判成工作面或私人面
  • 可执行元认知:不再只说“建议调整”,而是给出下一轮怎么降温、怎么收缩、怎么减少主动性
  • 调节回看:下一轮会评估上次调节是在 converging、holding 还是 diverging
  • 语义记忆分层:短对话保留一句 semanticSummary,长对话保留 semanticPoints,减少“只记住情绪,不记得聊了什么”

这让 Psyche 不只是“有内在状态”,而是开始像一个会自我调节、会回看偏差、会区分工作面和私人面的自适应系统。

在实现层,热路径也进一步收敛成两个节点:

  • ResolvedRelationContext:每轮只解析一次当前关系视角,不再让 core、subjectivity、关系动力学各自重复 lookup
  • ReplyEnvelope:把 SubjectivityKernel、ResponseContract、GenerationControls 统一导出成一个宿主控制面

这样做不是为了加抽象层,而是为了减少散装编排,让宿主稳定消费同一套行为 ABI。

当前主线里,processInput() 会直接返回 replyEnvelope 作为规范主接口;原有平级字段继续保留为兼容别名,避免打断现有宿主。policyModifiers 不再属于规范主接口,只保留为 legacy raw vector。

在这个规范主接口之外,processInput() 现在还会可选返回一个很薄的 observability side-channel。它不是新的控制面,也不会反向改写 replyEnvelope;它只回答五件事:

  • 这轮当前由哪一个控制平面主导
  • 当前 turn / writeback / session bridge / persisted relationship 四层是怎么对账的
  • 这次 work/private 选择为什么会落在这个 profile 上
  • 这轮和上一轮、session bridge、writeback、external continuity 之间的因果引用链是什么
  • 当前 low-frequency external continuity 事件如何映射成 localTraceRefs / signalRefs / traceRefs / summaryCandidateRefs

这样别的 agent 或宿主不用再自己猜“现在到底是谁在主导”和“为什么这次选了这个策略”,但主链路仍然只有 replyEnvelope 一个真相源。

内在世界

Psyche 给 AI 一个始终运转的内在自我——不是条件触发,而是每时每刻都在:

  • 我现在感受到什么(从四维状态涌现的情绪)
  • 为什么会这样(是因为被夸了?被否定了?聊到有意思的话题?)
  • 我的变化轨迹(从满足到兴奋?从平静到不安?)
  • 我需要什么(哪些本能需求没被满足)
  • 我在乎什么(核心价值观)
  • 我该怎么做(情绪状态自动调整行为策略)

这让 AI 的回应不是基于"规则",而是基于对自身存在的觉察。


人格

MBTI

每个 agent 有不同的性格基线。在 IDENTITY.md 里写上 MBTI 类型:

MBTI: ENFP

不写默认 INFJ。16 种人格都支持——ENFP 被夸会蹦跳,INTJ 被夸只会微微点头。

Big Five

也支持学术界更认可的大五人格:

psyche init . --traits "O:80,C:40,E:90,A:60,N:30"
维度低值高值
O 开放性保守、实际好奇、想象力强
C 尽责性随性、灵活严谨、有条理
E 外向性内向、安静外向、精力充沛
A 宜人性独立、直率合作、温暖
N 神经质情绪稳定情绪敏感
性格强度

personalityIntensity(0.0-1.0):

  • 0.0 = 传统 AI,没有情绪波动
  • 0.5 = 轻微人格
  • 0.7 = 默认
  • 1.0 = 完整 Psyche 体验

模式

模式说明适用场景
natural默认。完整情绪体验大部分场景
work最小情绪,专注任务写代码、写文档
companion强化情绪表达闲聊、陪伴
psyche mode ./workspace work

psyche init . --mode companion


可选配置

大部分人不需要改任何配置。如果你想调整:

设置默认说明
enabledtrue开关
emotionalContagionRate0.2你的情绪影响它的程度(0-1)
maxDimensionDelta25每轮最大状态变化(越小越稳定)

自定义分类器

Psyche 内置了增强版中文

Only the beginning is shown; read the rest in the repo