Desktop AI Assistant

How do you build an AI assistant?

Short answer

You assemble four parts: a language model, instructions, tools the model can call, and somewhere to talk to it. The quickest route needs no code: Microsoft says that in Copilot Studio you can create an agent by describing it in plain language. If you write code, you send a model a list of tools and run the calls it asks for. Ace supplies the tools part: its SDK hands the apps you connected in Ace to your own model as OpenAI or Anthropic tool definitions.

Free Play: 2,000 credits, no card. Ace by Black Label.

THINK WILD carved in cream stone among ferns and moss

The four parts of any AI assistant

Strip away the branding and an assistant comes down to four things. Microsoft’s description of an agent names three of them in a single sentence: it follows the instructions you give it, draws on the knowledge sources you connect, and uses tools to take action. The fourth is the place where you meet it.

Black Label Tec publishes this site and makes Ace. What Ace offers a builder is the tools part of that list: one API key, a REST API and SDKs for JavaScript and Python that reach your connected apps from your own code. Everything said below about other companies’ products comes from their own documentation, listed under Sources.

Three routes, from no code to your own code

How much you build yourself is a choice. Microsoft describes Copilot Studio as a graphical, low-code studio for building and managing AI-powered agents and workflows; at the other end, a model API leaves every step to your own code.

RouteWhat you doWhat you needWhere the action runs
A low-code studioDescribe the agent in plain language, then test it before you publishA low-code studio, such as Microsoft Copilot StudioIn the studio, connected to your organisation’s data and systems
A model API with toolsSend the model your tool definitions and run the calls it returnsAccess to a model provider’s API, and somewhere to run your codeIn your application: your code runs each operation
A ready-made tools layerConnect apps once, then hand them to your model or paste one MCP link into a chatAn Ace key, made on the Integrations page while you are signed inIn Ace, which runs the tool in the connected app

The routes combine. An assistant written against a model API can still borrow its tools from an MCP server, and the protocol’s own introduction says MCP reduces development time and complexity when building an AI application.

How tool calling works, step by step

Tool calling lets a model call functions that you define, so it is worth seeing the loop once. OpenAI’s documentation breaks the flow into five high-level steps, and Anthropic’s describes the same round trip.

Giving your assistant real apps with Ace’s SDK

The part of a build that Ace covers is the connection to other apps. Its SDKs for JavaScript and Python have no dependencies: the JavaScript one runs in Node 18+, Deno, Bun, Workers and browsers, and the Python one needs only the standard library. Pieced together from Ace’s developer page, the path runs like this.

To put a model in charge of those tools, ask the SDK for tool definitions in OpenAI or Anthropic format, pass them to your model, and hand each tool call it makes back to tools.run(). In the published JavaScript example the conversation goes to Anthropic through your own client, and each tool call the model makes is handed to Ace to run. The model is yours to bring.

Making it react: triggers and webhooks

Some assistants should start work without being asked. For that, pick an event in any connected app and give Ace your webhook address; every time the event happens, Ace posts it to you, signed. Ace keeps the last 50 events per trigger and tries each delivery three times. Your handler should verify the signature before trusting the body, and Ace’s sample code builds the expected value from the timestamp header, the raw body and your signing secret.

Limits and guardrails to build in

What Ace gives a builder, and where it stops

Ace’s published REST endpoints cover the public app catalog, your connections, tools, your own custom connectors, triggers, events and runs. If a company is not in the catalog but has an MCP server or any REST API, with or without an OpenAPI spec, you can add it by pasting its address and your own key. You can also call any endpoint of a connected app’s API directly.

The supported way in is that API, not the app itself: Ace’s terms say you must not, without prior written permission, reverse engineer, decompile or disassemble Ace. And if you are building for a team, note what is not built: Ace has no SSO and no admin console today.

Get Ace

More from Ace

The full overview of Ace for your PC is on tryacee.com/ai-for-pc.

Also asked

Can I build an AI assistant without coding?

Yes. Microsoft describes Copilot Studio as a graphical, low-code studio in which you can create an agent by describing it in plain language. A lighter option still is to extend a chat product you already use: paste one Ace MCP link into Claude, ChatGPT, Cursor or VS Code and that chat can use every app you connected.

What do I need before I start building?

A model to call and the tools the job requires. For the tools, Ace needs one API key, and its SDKs have no dependencies: the JavaScript one runs in Node 18+, Deno, Bun, Workers and browsers, and Python needs only the standard library.

What is tool calling in an AI assistant?

It is how a model asks your software to do something. Anthropic says tool use, also called function calling, lets its model call functions that you define, and OpenAI defines a function as a specific kind of tool, described by a JSON schema. The model returns a structured call, your code runs the operation, and the result goes back to the model.

Does Ace’s SDK run in Deno, Bun or a browser?

Yes. The JavaScript SDK runs in Node 18+, Deno, Bun, Workers and browsers, with no dependencies. The Python SDK needs only the standard library and reads your key from ACE_API_KEY.

Can an assistant I build post to Slack or add a HubSpot contact?

Yes, once those apps are connected in Ace. The SDK’s own examples run a Slack tool that sends a message and a HubSpot tool that creates a contact. Through the API you can also search the apps with your connection status.

How does my assistant know which tool to use?

Two ways. Your model can choose from the tool definitions you pass it, deciding from the user’s request and each tool’s description. Or your code can ask Ace to find tools for a task in plain words, then read the schema of the one it picks.

How many requests can my assistant send through Ace?

Each key gets 120 requests a minute. Data is JSON in and out, errors come back as an error object with a code and a message, and the full spec is at /openapi.json.

How do I make my assistant act when something happens, not when I ask?

Use a trigger. Pick an event in a connected app, give Ace your webhook, and each time it happens Ace posts it to you, signed. Ace can also take webhooks from any service, keeps the last 50 events per trigger and tries each delivery three times.

How do I stop an assistant I built from doing damage?

Limit what its key can do and keep a person in the loop. Use a key with Read permission alone wherever you only need to look things up, keep sending steps as drafts you approve, and revoke any key that might have leaked. The activity list shows the last 25 actions run with your keys.

Can I add my own company’s API as a tool?

Yes, if it is an MCP server or any REST API, with or without an OpenAPI spec. Paste its address and your own key; Ace checks it works, stores the key encrypted, and only your account can use it, in Ace, MCP chats and the API.

Where does the model come from when I build on Ace’s tools?

From you. In Ace’s published JavaScript example, the tool definitions are requested in Anthropic format, the message is created with your own Anthropic client, and each tool call the model makes is passed to Ace to run. The SDK returns OpenAI tool definitions in the same way.

Is MCP the same thing as an AI assistant?

No. MCP is a standard for connecting AI applications to external systems, and the assistant is the application at one end of that connection. Ace sits at the other end, as a remote MCP server.

Can I see what my assistant did?

Yes. Every action run with your keys, through MCP or on the site, lands in the activity list, newest first. Through the API you can fetch your 25 latest runs and, for a trigger, the last 50 events and how each delivery went.

Am I allowed to take the Ace app apart to learn from it?

No. Ace’s terms say you must not, without prior written permission, reverse engineer, decompile or disassemble Ace. The supported way to build on it is the API and MCP, which Ace offers to developers.

More questions

Deal yourself in.

More about Ace

Sources

  1. Overview - Microsoft Copilot Studio | Microsoft Learn, Microsoft Learn. Checked November 28, 2026.
  2. Tool use with Claude - Claude Platform Docs, Anthropic. Checked November 28, 2026.
  3. Function calling | OpenAI API, OpenAI. Checked November 28, 2026.
  4. What is the Model Context Protocol (MCP)? - Model Context Protocol, Model Context Protocol. Checked November 28, 2026.

Who makes this guide