Explore how to build iOS AI agents with InterfaceAgent-Windows.
- Follow the core pre-requisites.
- Windows 11 device as host for the AI Agent.
You can choose to either clone the repository or use npm, yarn, or pnpm to install InterfaceAgent.
npm install @interface-agent/windows
yarn add @interface-agent/windows
From your app code:
import { iAgent } from "@interface-agent/windows";
const iAgent = new iOSAgent({
// openAIApiKey: "YOUR_OPEN_AI_API_KEY", // Optional if set through process.env.OPEN_AI_API_KEY
});
const edgeTileQuery = "Help me download an app named EdgeTile from the Windows Store.";
await iAgent.runAsync({
query: edgeTileQuery
});
A console demo environment can either be used:
-
From the cloned repo:
yarn workspace "@interface-agent/core" build && yarn workspace "@interface-agent/windows" build && yarn workspace "@interface-agent/windows" console
-
From the installed npm package:
npm explore @interface-agent/windows -- npm run console
1) User Query: Help me download an app named EdgeTile
2) User Query: Dropshipping products on Tiktok