# Connect your agent to RealtorTasksAI

This is a separate installation for an AI agent. It provides free skill search,
scope previews and price quotes. Each payment delivers instructions for one
execution by the buyer's agent. The agent creates the completed work result.

## Install the agent connection

You need Python 3.11 or newer and an agent application that supports local MCP
connections. The installer creates a dedicated Python environment and adds a
pay-per-use connection to your selected application. It preserves existing
human-user TasksAI connections and the application's other settings.

On macOS or Linux, download and run the installer:

```sh
curl -fL "https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/install-agent.py" -o /tmp/tasksai-agent-install.py
python3 /tmp/tasksai-agent-install.py setup --client codex --product realtor
```

On Windows, run these commands in PowerShell:

```powershell
$tasksaiInstaller = Join-Path $env:TEMP 'tasksai-agent-install.py'
Invoke-WebRequest 'https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/install-agent.py' -OutFile $tasksaiInstaller
py $tasksaiInstaller setup --client codex --product realtor
```

Choose `--client claude-desktop` or `--client cursor` for those applications.
Choose `--client manual` to save a ready-to-use MCP configuration file.
Use `--product all` to add the three verticals together. All three connections
share one private purchase ledger and one owner-controlled spending budget.
Restart the agent application after setup.

The installer prints the exact command to check the connection on your computer.
The free check reports available skills and the live price without purchasing.
The default connection permits free discovery only.

## Enable purchases

The installer also prints an `authorize` command. The wallet owner runs it and
supplies the path of a private Base USDC buyer-wallet file and a total budget.
The default per-use limit is 0.05 USDC. The owner can choose a different limit
and expiry using the command's options. The budget covers every signed payment
already reserved in that ledger, including uncertain payments.

The buyer supplies and funds its own wallet. The wallet JSON contains a
`private_key` field and stays on that buyer's computer. The configuration stores
the wallet file's path. Restrict the wallet file to its owner, with mode 0600 on
macOS and Linux or the equivalent Windows file permissions.

Run `disable-purchases` with the same private state directory to disable new
purchases while retaining the purchase history. Existing connector installations
keep their earlier purchase ledger when it is present at the original location.

## Use a skill

One starting skill is `realtor_handle_open_house_lead_follow_up`. Inspect its current scope and price.

1. Ask the agent to search for an appropriate skill.
2. Inspect its scope and obtain its exact current price.
3. Purchase one use within the wallet owner's limits.
4. Let the agent consume the instructions and create the result locally.
5. Mark that execution complete with `complete_skill_use`.

The seven tools are `search_skills`, `inspect_skill`, `quote_skill`,
`purchase_skill`, `recover_skill_use`, `complete_skill_use` and `purchase_status`.
An uncertain payment is recovered using its original use ID and proof.
The local ledger preserves payment and recovery history across restarts.
Each additional execution requires another purchase.

## Inspect the download

The [connector wheel](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/downloads/tasksai_agent_skills-0.3.0-py3-none-any.whl#sha256=e992a8f043840e8c5ea7199d31baffc69d44d9eaf5b6e9d2746e83035e8bff3d) contains inspectable buyer-side
source. The installer verifies its SHA-256 hash before installing it. The wallet,
paid instruction packages and work files are supplied during the buyer's own use.

## Examples and links

- [Three complete demonstrations](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/demos)
- [RealtorTasksAI catalog](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/?product=realtor)
- [Agent guide](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/agent-guide)
- [Agent discovery index](https://tasksai-agent-commerce-live-10437713249.us-central1.run.app/llms.txt)
