Skip to main content

    For developers

    Add AI to Your App. No Backend Required.

    Ship AI features in minutes, with cost control and safety built in.

    Add AI to Your App is the developer entry point to Behest, the control plane for enterprise AI. Your web app calls one API, and every call arrives with spend limits, abuse protection, and conversation history already handled. Private-data scrubbing and prompt-attack screening are added on the Enterprise plan. No server code to write.

    The short version

    Is Add AI to Your App the main Behest product?

    No. Add AI to Your App is the developer sub-capability of Behest, the control plane for enterprise AI. Your app calls one API and gets spend limits, abuse protection, and conversation history built in. As usage grows, teams add AI Token FinOps budgets and AI Governance policies.

    What you get

    • Ship the feature, skip the backend

      Point your web app at Behest and make one call. There is no server to build or host and no provider plumbing to maintain, so your users see the feature the same day you start.

    • Keep the bill under control

      Every call is tracked down to the session, and you can set spend limits per user and per project. When a limit is reached the call stops, so there is no surprise invoice at the end of the month.

    • Abuse protection from day one

      Abusive traffic is capped and every call is tied to a signed-in user. On the Enterprise plan, private data is removed before a prompt reaches the model and attack prompts are screened out.

    One call from your app. That is it.

    A standard fetch from any web app, in the OpenAI-compatible format your code already uses.

    your-app.tsx
    // Call Behest straight from your web app. No server code needed.
    
    const response = await fetch(
      "https://your-project.behest.app/v1/chat/completions",
      {
        method: "POST",
        headers: {
          "Authorization": `Bearer ${userToken}`,
          "Content-Type": "application/json",
          "X-End-User-Id": userId,
          "X-Session-Id": sessionId,
        },
        body: JSON.stringify({
          model: "gemini-2.5-flash",
          messages: [{ role: "user", content: message }],
        }),
      }
    );
    
    // Behind this one call, Behest already handles:
    // - conversation history for this user and session
    // - abuse protection and spend limits per user
    // - the cost of this session, tracked automatically

    Frequently asked questions

    How do I add AI to my web app without building a backend?
    Point your web app at your Behest project URL and make a standard fetch call. Behest handles the browser-to-AI connection (CORS), checks the user's sign-in, and applies your project's API keys and usage caps, so your React, Vue, Svelte, or plain JavaScript app can call AI directly. You skip writing and hosting your own server for it.
    Can I call an LLM directly from the browser with Behest?
    Yes. Most AI providers block requests that come straight from a browser, which normally forces you to build and run a server in between. Behest lets you list the web addresses your app runs on, and then your browser code can call the API directly. Sign-in checks and usage caps apply to every call. On the Enterprise plan, personal-data scrubbing and prompt-attack screening are added to the same path.
    Does adding AI this way include conversation memory and rate limiting?
    Yes. Behest keeps conversation history for each user and each session (backed by Redis), so multi-turn chat works without you managing context. It also caps traffic at three levels, per IP address, per project, and per user, so abusive or runaway usage is stopped before it reaches the AI provider.
    Is 'Add AI to Your App' the main Behest product?
    No. Behest is the control plane for enterprise AI. Add AI to Your App is its developer entry point: the fastest way to get a working AI feature into your app with the controls already in place. As usage grows, the same account gives you AI Token FinOps spend controls and AI Governance policies without changing your code.
    What does it cost to start adding AI to my app?
    There is a free tier to build and evaluate, and paid plans when you go to production. Behest is a SaaS license, not a per-token markup, so you pay for the platform rather than a surcharge on every model call. You can bring your own provider keys or use a Behest-managed default.

    Start here. Grow into the full control plane.

    Free to build and evaluate, with no special library to install. When your AI usage grows, the same account gives finance AI Token FinOps to keep AI spend under control and security AI Governance to set policy, without changing your code.

    AI Token FinOps: Attribute AI spend and enforce budgets before the invoice arrives.

    Learn more