社交关系AI管家
本地运行的AI管家,自动追踪所有社交关系中「最近干了什么」和「下一步该干什么」。
安装
pip(推荐)
pip install social-agent
npm
npx @farmost/social-agent status
一键脚本
bash <(curl -sL https://raw.githubusercontent.com/farmost-beep/social-agent/main/install.sh)
已配置 Claude Code(~/.claude/settings.json)的用户无需额外设置,CLI 自动复用系统 LLM 配置。未配置则三选一:
# Claude(默认,无需额外设置 engine)
export ANTHROPIC_API_KEY=sk-ant-...
# OpenAI
export LLM_ENGINE=openai
export OPENAI_API_KEY=sk-...
# MiniMax
export LLM_ENGINE=openai
export OPENAI_API_KEY=...
export OPENAI_BASE_URL=https://api.minimaxi.com/v1
命令
social status # 联系人状态总览
social todos # 待办列表
social advise # 该联系谁+为什么+聊什么
social draft -m "上下文" -c 张三 # AI 拟稿
social chat "消息" # 直接对话
social anchor # 目标锚定(联系人↔六维目标)
social outcomes # 兑现追踪
social config show # 查看配置
数据
本地 JSON 存储,不上云:
| 文件 | 说明 |
|---|---|
data/contacts.json |
联系人库 |
data/timeline.json |
互动时间线 |
data/todos.json |
待办队列 |
文档
许可证
MIT
Metadata
Release files for social-agent 4.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| social_agent-4.0.3.tar.gz | 89.8 kB | Without provenance | Details for social_agent-4.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| social_agent-4.0.3-py3-none-any.whl | Python 3 | none | any | Details for social_agent-4.0.3-py3-none-any.whl |
Total release size: 194.2 kB
Security for social-agent 4.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release files / social_agent-4.0.3.tar.gz
How to use checksums
8f8d04dd90c157a06de98586fb58cfa2b7af55a034250cdfbdea75f69f9ba893How to use checksums
e8511363f474431b2816b7ae66d89bc9e0577289657a0d966ec0d584a5c24bb8What is trusted publishing?
twine/6.2.0 CPython/3.14.6