# AMaster Digital Embed SDK

<!-- [amaster-custom] Public SDK wrapper for Pi Agent and future host shells. -->

Embeddable AMaster Digital React surface for Pi Agent and other host shells.

```tsx
import {
  AmasterEmbedProvider,
  TaskPanelPage,
} from "@amaster.ai/amaster-digital-embed-sdk";
import "@amaster.ai/amaster-digital-embed-sdk/style.css";

export function AmasterPanel() {
  return (
    <AmasterEmbedProvider
      apiBaseUrl="http://127.0.0.1:18146/v1/amaster-digital"
      cookieAuth
      realtime={false}
    >
      <TaskPanelPage includeModalRegistry={false} />
    </AmasterEmbedProvider>
  );
}
```

The SDK bundles the AMaster Digital UI/core implementation. React and ReactDOM are peer dependencies.

For Pi Agent desktop, route AMaster API calls through the Pi Agent BFF. For remote runtimes, read `/api/config.task_execution.remote_backend_url` and point `multica config set server_url` at the backend that owns daemon task claims.
