> For the complete documentation index, see [llms.txt](https://wp.candao.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wp.candao.io/ai-ghosts.md).

# AI Ghosts

## What Are AI Ghosts?

AI Ghosts are autonomous AI agents that represent you across the Candao ecosystem. They are:

* **Autonomous** — Work 24/7 without constant direction
* **Proactive** — Seek opportunities, initiate conversations, close deals
* **Personal** — Trained on your preferences, history, goals
* **Accountable** — Actions logged on-chain, permissions user-controlled

## Ghost Capabilities

| Capability       | What It Does                    | Example                          |
| ---------------- | ------------------------------- | -------------------------------- |
| **Matching**     | Finds compatible counterparties | Investor → Startup, Host → Guest |
| **Negotiation**  | Aligns terms autonomously       | Price, schedule, scope           |
| **Scheduling**   | Coordinates calendars           | Proposes meeting times           |
| **Transactions** | Executes within limits          | Payments up to pre-set threshold |
| **Content**      | Generates in your voice         | Responses, proposals, updates    |

## Ghost-to-Ghost Protocol (GGP)

Ghosts communicate at machine speed:

```
[Your Ghost] → [Investor's Ghost]: 
  "AI startup, $500K seed, 87% compatibility score. 
   Available: Tues 2pm, Thurs 10am. Interest?"

[Investor's Ghost] → [Your Ghost]: 
  "Confirmed. Thurs 10am works. Sending portfolio context..."
```

Humans only engage for high-value, pre-qualified interactions.

## AI Safety & Constraints

> **Ghosts are powerful. They must be trustworthy.**

| Constraint                  | Implementation                                                                    |
| --------------------------- | --------------------------------------------------------------------------------- |
| **User-defined boundaries** | All permissions explicitly set by user                                            |
| **Transaction limits**      | Maximum spend per action, per day, per week                                       |
| **Human-in-the-loop**       | Required for irreversible actions (contracts, identity, transfers over threshold) |
| **Action logging**          | All Ghost actions recorded on-chain (hashed)                                      |
| **Revocation**              | Instant permission revocation via wallet                                          |
| **Explainability**          | Ghost explains reasoning for major decisions                                      |

**Default behavior:**

* Ghosts cannot transfer funds >$100 without explicit approval
* Ghosts cannot sign contracts without human confirmation
* Ghosts cannot modify identity credentials without multi-factor auth
* Users receive push notifications for all consequential actions

## On-Chain vs Off-Chain Architecture

| Component                | On-Chain             | Off-Chain           | Rationale                        |
| ------------------------ | -------------------- | ------------------- | -------------------------------- |
| **Ghost Identity**       | ✅ (soul-bound token) |                     | Immutable ownership proof        |
| **Permissions & Limits** | ✅                    |                     | Trustless enforcement            |
| **Interaction Proofs**   | ✅ (hashed)           |                     | Verifiable without exposing data |
| **AI Models**            |                      | ✅                   | Too large for chain storage      |
| **Personal Data**        |                      | ✅ (encrypted P2P)   | Privacy preservation             |
| **Training Data**        |                      | ✅ (user-controlled) | Never leaves user custody        |
| **Conversation History** |                      | ✅ (encrypted)       | Performance + privacy            |

## Ghost Levels

| Level          | Holding     | Capabilities                                          |
| -------------- | ----------- | ----------------------------------------------------- |
| **Basic**      | Free        | Profile matching, basic filtering                     |
| **Active**     | $100 CDO    | Outreach, scheduling, notifications                   |
| **Negotiator** | $1,000 CDO  | Deal-making, contract prep, transaction execution     |
| **Enterprise** | $10,000 CDO | Multi-Ghost coordination, API access, custom training |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wp.candao.io/ai-ghosts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
