Metadata-Version: 2.4
Name: alpha-id-zix
Version: 0.2.0
Summary: 你的数字灵魂 — 用 ChatGPT 导出认识自己，让所有 AI 工具认识同一个你
License-Expression: MIT
Project-URL: Homepage, https://github.com/wenwanqing1217/alpha-id
Project-URL: Repository, https://github.com/wenwanqing1217/alpha-id
Project-URL: Documentation, https://github.com/your-org/alpha-id#readme
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: End Users/Desktop
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: psycopg2-binary<3,>=2.9
Requires-Dist: sqlalchemy>=2.0
Requires-Dist: cryptography>=42.0
Requires-Dist: bcrypt>=4.1
Requires-Dist: fastapi>=0.115
Requires-Dist: uvicorn[standard]>=0.30
Requires-Dist: pydantic>=2.9
Requires-Dist: typer>=0.12
Requires-Dist: jinja2>=3.1
Requires-Dist: pyyaml>=6.0
Requires-Dist: taskipy>=1.13
Provides-Extra: fairy
Requires-Dist: openai>=1.0; extra == "fairy"
Requires-Dist: pyautogui>=0.9; extra == "fairy"
Requires-Dist: pygetwindow>=0.0; extra == "fairy"
Requires-Dist: Pillow>=10.0; extra == "fairy"
Requires-Dist: pytesseract>=0.3; extra == "fairy"
Provides-Extra: mcp-server
Requires-Dist: mcp>=1.0; extra == "mcp-server"
Provides-Extra: test
Requires-Dist: pytest>=8.0; extra == "test"
Requires-Dist: pytest-asyncio>=1.0; extra == "test"
Requires-Dist: pytest-cov>=5.0; extra == "test"
Requires-Dist: ruff>=0.5; extra == "test"
Requires-Dist: pyright>=1.1; extra == "test"
Provides-Extra: postgres
Requires-Dist: asyncpg>=0.29; extra == "postgres"
Requires-Dist: psycopg2-binary<3,>=2.9; extra == "postgres"
Provides-Extra: all
Requires-Dist: alpha-id[fairy,mcp-server,postgres,test]; extra == "all"
Provides-Extra: dev
Requires-Dist: alpha-id[postgres,test]; extra == "dev"
Dynamic: license-file

<p align="center">
  <img src="https://img.shields.io/badge/python-3.12%2B-blue" alt="Python">
  <img src="https://img.shields.io/badge/license-MIT-green" alt="License">
  <img src="https://img.shields.io/pypi/v/alpha-id-zix" alt="PyPI">
  <img src="https://img.shields.io/pypi/dm/alpha-id-zix" alt="Downloads">
  <img src="https://img.shields.io/github/stars/wenwanqing1217/alpha-id?style=social" alt="Stars">
</p>

<h1 align="center">Alpha-ID</h1>

<p align="center">
  <strong>Your Digital Soul.</strong><br>
  A unified identity layer for the AI era — your agents, your tools, your data, one identity.
</p>

<p align="center">
  <a href="README.zh.md">中文版</a>
</p>

---

## What is Alpha-ID?

Every AI tool knows a different version of you. ChatGPT has your chat history, Claude has your projects, Cursor knows your code style. Fragmented. None of them truly know **you**.

Alpha-ID is the **identity layer** that sits above every AI tool. One DID (`did:aid:xxx`), one identity, everywhere.

- Switch AI tools — your preferences follow you
- Connect agents — they can verify each other's identity
- Own your data — private key stays on your machine

---

## Quick Start

```bash
pip install alpha-id-zix
aid init
aid collect chatgpt your-chatgpt-export.zip
aid profile show
```

**No export data?** 3 questions generate a profile instantly:

```bash
aid wizard start
```

**Want to see your identity in a browser?**

```bash
aid profile web
```

**Always-on identity server (MCP + daemon):**

```bash
aid profile daemon start
aid profile daemon status
```

---

## Commands

| Command | Description |
|---------|-------------|
| `aid init` | Create your DID identity |
| `aid init --code Alpha-1-zx` | Founder access |
| `aid collect chatgpt <zip>` | Import from ChatGPT |
| `aid collect claude <zip>` | Import from Claude |
| `aid wizard start` | 3-question instant profile |
| `aid profile show` | Display your identity |
| `aid profile export --format html` | Shareable identity card |
| `aid profile serve --install` | MCP identity injection |
| `aid profile web` | Browser identity dashboard |
| `aid profile daemon start` | Always-on identity server |
| `aid agent ping <url>` | Discover another agent |
| `aid agent verify <url> <did>` | Verify an agent's identity |

---

## A2A Ready

Alpha-ID is built for the **Agent-to-Agent** future. Every identity includes:

- Ed25519 keypair — sign and verify messages
- DID document — W3C compatible
- MCP server — expose identity to any MCP client
- `verify_identity` tool — agents verify each other

Two agents can discover and trust each other in seconds:

```bash
# Agent A runs:
aid profile daemon start

# Agent B discovers and verifies A:
aid agent ping http://192.168.1.100:8100
aid agent verify http://192.168.1.100:8100 did:aid:xxx
```

---

## How It's Different

| Dimension | Normal AI Assistant | Alpha-ID |
|-----------|-------------------|----------|
| Right now | You chat with it | **It lives for you** |
| After you leave | Conversation ends | It keeps learning, socializing |
| When you return | Introduce yourself again | "Welcome back" |
| Ownership | Belongs to the platform | **Belongs to you** |
| Agent-ready | No | **DID + MCP + A2A** |

---

## License

MIT

---

<p align="center">
  <i>Developers: <a href="docs/DEVELOPER.md">docs/DEVELOPER.md</a></i>
</p>
