All Integrations

better-cmdk modifywithai integration

modifywithai.comIntegration Guide

Use modifywithai.com when you want AI chat that can execute real app actions, not just answer questions.

Implementation Notes

This setup is the fastest path to an action-enabled command menu. You connect one assistant object, expose safe actions, and let users approve sensitive runs before execution.

Best For

  • - Internal tools where users need AI to execute workflows
  • - Teams that want approval prompts before destructive actions
  • - Products that need both command search and AI chat in one surface

Quick Setup Checklist

  1. 1. Install better-cmdk and modifywithai using the package manager already used in your repo.
  2. 2. Create and configure the modifywithai token endpoint for your app.
  3. 3. Define action contracts with clear names, required options, and deterministic execute handlers.
  4. 4. Pass the assistant object to CommandMenu and verify command mode and chat mode both work.

Integration FAQ

Do I need modifywithai.com to use better-cmdk?

No. better-cmdk works as a command palette without AI. modifywithai.com is an optional path for AI-driven action execution.

When should I add approval prompts?

Use approvals for any action that writes data, changes permissions, or can cause irreversible side effects.

Can I keep manual commands and AI actions in one list?

Yes. Define actions once and reuse that same set for command search and AI-triggered runs.