# AIsh.li Documentation & Reference

> AI Agents & Embedded Chat Widgets for AI Builders. Deploy conversational AI assistants on any website with one line of HTML, or interact via developer APIs.

AIsh.li enables developers and website owners to build, test, and embed custom AI assistants with streaming chat, structured forms, and tool calling.

## Plans & Pricing

AIsh.li offers straightforward credit-based pricing for deploying AI assistants and conversational form workflows.

| Plan | Price | Included Credits | Key Features |
| :--- | :--- | :--- | :--- |
| **Free Trial** | $0 / forever | 50 credits to start | Access to demo agents, community support |
| **Starter** | $25 / month | 500 monthly credits | Chat widget website embedding, custom agent configurations, email support |
| **Pro** | $75 / month | 1,500 monthly credits | High concurrency limits, voice & reasoning agents, priority support |
| **Enterprise** | Custom / tailored | Dedicated quota scaling | BYOK (Bring Your Own Key), private model hosting & proxies, on-premise deployment, dedicated support engineer |

For complete subscription details, visit [Pricing & Plans](https://aish.li/en/pricing) or review the [Billing FAQ](https://aish.li/en/docs/billing.md).

## Gemini Token Reference Pricing

Reference per-1M-token USD pricing used by the [Gemini Token Cost Calculator](https://aish.li/en/cost/tokens) (cached inputs save 90%):

| Model | ID | Input / 1M | Cached Input / 1M | Output / 1M |
| :--- | :--- | :--- | :--- | :--- |
| **Gemini 3.1 Pro** | `gemini-3.1-pro-preview` | $2.00 | $0.200 | $12.00 |
| **Gemini 3.8 Flash** | `gemini-3.8-flash` | $0.75 | $0.075 | $3.75 |
| **Gemini 3.5 Flash Lite** | `gemini-3.5-flash-lite` | $0.30 | $0.030 | $2.50 |

## Available Demo Agents

AIsh.li includes pre-configured demo agents tailored for specific conversational tasks, tool usages, and form workflows:

| Agent | ID | Model | Description | Tools |
| :--- | :--- | :--- | :--- | :--- |
| **Google Gemini** | `demo/gemini` | `gemini-3.5-flash-lite` | Gemini is Google's AI large language model. | search-google |
| **Restaurant** | `demo/restaurant` | `gemini-3.8-flash` | A friendly agent that helps you make table reservations at La Trattoria. | None |
| **Support** | `demo/support` | `gemini-3.5-flash-lite` | End-User Support. | None |
| **Transport** | `demo/transport` | `gemini-3.5-flash-lite` | Helps you plan a trip from A to B. | None |
| **Text to Speech** | `demo/tts` | `gemini-3.8-flash-tts` | Turns any text or script into natural, studio-quality audio in over 130 languages. | None |

Explore and chat with these agents live in the [Agents Directory](https://aish.li/en/agents).

## Domain Solutions

Industry and compliance landing pages paired with live interactive website demos:

| Solution | Page URL | Live External Demo | Agent ID | Summary |
| :--- | :--- | :--- | :--- | :--- |
| **AI Restaurant Table Reservation Chatbot** | https://aish.li/en/solutions/reservations/restaurant | https://trychatwidget.com/en/reservations/restaurant/ | `demo/restaurant` | Turn restaurant website visitors into confirmed table bookings 24/7. Collect guest name, date, time, party size, and seating notes via natural chat and email the host desk automatically. |
| **AI Shuttle & Ride Booking Conversational Form** | https://aish.li/en/solutions/reservations/transport | https://trychatwidget.com/en/reservations/transport/ | `demo/transport` | Capture passenger name, origin, destination, ISO departure time, and route coordinates in natural dialogue. Deliver structured JSON dispatch bookings directly to your inbox. |
| **Embeddable AI Customer Support Chat Widget** | https://aish.li/en/solutions/support/customer-support | https://trychatwidget.com/en/support/customer-support/ | `demo/support` | Add a streaming AI customer support assistant to any website in 60 seconds with 2 HTML tags. Domain origin whitelisting, mobile responsive dark UI, and zero training on customer chats. |
| **GDPR & Swiss nFADP Compliant AI Chat Widget** | https://aish.li/en/solutions/compliance/gdpr-ai-chat-widget | https://trychatwidget.com/en/compliance/gdpr-ai-chat-widget/ | `demo/support` | Deploy an AI website chat widget built for EU GDPR and Swiss nFADP (revDSG / nLPD). Commercial zero-training APIs, sandboxed embeds with zero Google Analytics or ad cookies, EU Sentry hosting, and BYOK control. |
| **Multilingual AI Text-to-Speech Voice Agent & Audio Widget** | https://aish.li/en/solutions/voice/text-to-speech | https://trychatwidget.com/en/voice/text-to-speech/ | `demo/tts` | Generate natural, expressive studio speech in 130+ languages using Google Gemini 3.8 TTS. Play audio directly inside chat or generate voiceovers via OpenResponses REST API and CLI. |

Browse all verticals at [Solutions](https://aish.li/en/solutions).

## Features

### Features Overview

AIsh.li is a privacy-first platform for building, embedding, and integrating purpose-built AI agents with real-world tools, structured forms, and zero model training on your data.

> [!TIP] **Try It in 30 Seconds**: Sign in to chat with [Google Gemini in Chat](https://aish.li/en/chat/agent/demo/gemini) or test our interactive [Transport Form Agent](https://aish.li/en/chat/agent/demo/transport) using [our Free plan](https://aish.li/en/pricing)'s starter credits — no credit card / payment required!

**Jump to**: [AI Agents](#ai-agents) • [Chat Widgets](#embeddable-chat-widgets) • [Conversational Forms](#conversational-forms--progressive-disclosure) • [Privacy](#privacy-respecting-ai) • [Models](#next-gen-ai-models) • [Thinking](#transparent-thinking--reasoning) • [i18n](#agent-internationalization-i18n) • [Tools](#connected-real-world-tools) • [Actions](#automated-agent-actions) • [Developer API](#developer-rest-api)

#### AI Agents

Purpose-built assistants tailored for specific domains, tasks, or customer workflows. Customize persona instructions, models, and capabilities visually or via declarative YAML code.

👉 **Try it in practice**: [Explore Demo Agents](https://aish.li/en/agents) • [Restaurant Agent](https://aish.li/en/agents/demo/restaurant) • [Transport Agent](https://aish.li/en/agents/demo/transport) • [Support Agent](https://aish.li/en/agents/demo/support) • [Create Custom Agent](https://aish.li/en/agents/new)

📖 **Learn more**: [AI Agents Guide](https://aish.li/en/docs/agent.md)

#### Embeddable Chat Widgets

Embed custom AI assistants on any website with two lines of standard HTML. Includes origin domain security to protect your quota, responsive mobile styling, and dark mode out of the box.

👉 **Try it in practice**: Test the embed in our [Interactive Widget Playground](https://aish.li/widget)

📖 **Learn more**: [Chat Widgets Guide](https://aish.li/en/docs/widget.md) • [Integrations & Examples](https://aish.li/en/docs/integrations.md)

#### Conversational Forms & Progressive Disclosure

Replace tedious static web forms with natural dialogue. Form agents extract and validate required JSON fields conversationally while a reactive side panel progressively discloses recognized values in real time.

👉 **Try it in practice**: Launch the [Transport Planner](https://aish.li/en/chat/agent/demo/transport) and say _"I want to travel from Paris to Rome tomorrow with Luigi"_ to watch fields update live!

📖 **Learn more**: [Conversational Forms Guide](https://aish.li/en/docs/form.md) • [Forms API](https://aish.li/en/docs/form-api.md)

#### Privacy-Respecting AI

Unlike consumer AI chatbots that may train on your prompts or sample transcripts for human review, AIsh.li is built on commercial, enterprise-grade APIs with an ironclad zero-training commitment:

- **Zero Model Training**: Your conversations and customer messages are never used to train foundation models.
- **Enterprise Data Protection**: Commercial API terms prohibit third-party human review of private chats.
- **Data Sovereignty**: Bring Your Own Key (BYOK) for direct provider billing and cookieless telemetry.

👉 **Try it in practice**: Connect your credentials under [Your Secrets](https://aish.li/en/secrets)

📖 **Learn more**: [Privacy Overview](https://aish.li/en/docs/private.md) • [GDPR & Swiss nFADP Guide](https://aish.li/en/docs/gdpr.md) • [Privacy Policy](https://aish.li/en/docs/privacy.md)

#### Next-Gen AI Models

Powered by Google's latest multimodal Gemini models, optimized for complex reasoning, high-speed conversation, and cost-efficient throughput. When model versions evolve, existing agents and API endpoints are automatically redirected with zero downtime.

👉 **Try it in practice**: [Switch models in Chat](https://aish.li/en/chat/agent/demo/gemini) or [select a model for a new agent](https://aish.li/en/agents/new)

📖 **Learn more**: [Supported AI Models](https://aish.li/en/docs/models.md)

#### Transparent Thinking & Reasoning

Watch complex reasoning unfold in real time. AIsh.li streams the model's inner chain of thought into an expandable accordion, providing complete auditability while keeping user answers concise.

👉 **Try it in practice**: Ask the Gemini Agent a logic puzzle or math riddle in [Chat](https://aish.li/en/chat/agent/demo/gemini) and click **Thought process** to inspect its reasoning

📖 **Learn more**: [Thinking & Reasoning Guide](https://aish.li/en/docs/thinking.md)

#### Agent Internationalization (i18n)

Deploy agents globally with native understanding of 100+ languages. Localize instructions, starter prompts, and form schema descriptions across English, German, French, Italian, and beyond.

👉 **Try it in practice**: Switch languages in the top header, or chat with the [La Trattoria Restaurant Concierge](https://aish.li/en/solutions/reservations/restaurant) in French (_"Je voudrais réserver une table"_)

📖 **Learn more**: [Agent Internationalization Guide](https://aish.li/en/docs/i18n.md)

#### Connected Real-World Tools

Equip AI agents with eyes and hands to interact with the live web and physical world:

| Tool                                 | Capabilities                                                                  |
| :----------------------------------- | :---------------------------------------------------------------------------- |
| **[Google Search](https://aish.li/en/docs/tools/search.md)** | Live web grounding, current news, fact-checking, and cited web sources.       |
| **[HTTP Text](https://aish.li/en/docs/tools/fetch.md)**      | Read clean, readable documentation and web page prose from public URLs.       |
| **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)**    | Fetch raw HTML source, linked JS bundles, HTTP headers, and REST JSON APIs.   |
| **[HTTP POST](https://aish.li/en/docs/tools/http-post.md)**  | Execute mutating POST/PUT/PATCH/DELETE REST API calls (authenticated only).   |
| **[Google Maps](https://aish.li/en/docs/tools/maps.md)**     | Geocode addresses, resolve GPS coordinates, and locate venues.                |
| **[Code Execution](https://aish.li/en/docs/tools/code.md)**  | Execute sandboxed Python code to compute exact mathematical and data results. |

👉 **Try it in practice**: Ask [Google Gemini in Chat](https://aish.li/en/chat/agent/demo/gemini) _"What's new in the world today?"_ to see live search citations in action

📖 **Learn more**: [Connected Tools Overview](https://aish.li/en/docs/tools/index.md)

#### Automated Agent Actions

Trigger automated outbound notifications and workflows when users interact with your agents. Automatically deliver completed conversational form submissions directly to your team's inbox without polling or building custom webhook listeners.

| Action                                      | Config Key      | Description                                                   | Guide                                  |
| :------------------------------------------ | :-------------- | :------------------------------------------------------------ | :------------------------------------- |
| **[Email Notifications](https://aish.li/en/docs/actions/email.md)** | `actions.email` | Deliver completed form submissions to any inbox in real time. | [Email Action Guide](https://aish.li/en/docs/actions/email.md) |

👉 **Try it in practice**: Add an `actions:` block to any form agent in the [Agent Editor](https://aish.li/en/agents) under the **Code** tab

📖 **Learn more**: [Actions Overview](https://aish.li/en/docs/actions/index.md) • [Email Action Guide](https://aish.li/en/docs/actions/email.md)

#### Developer REST API

Everything in AIsh.li can be automated via an open REST API with Server-Sent Events (SSE) streaming for real-time tokens. Integrate assistants into Python, Node.js, Go, or custom frontends.

👉 **Try it in practice**: [Generate an API Key](https://aish.li/en/keys/api) or test endpoints in the [Interactive API Reference](https://aish.li/en/docs/api)

📖 **Learn more**: [API Reference](https://aish.li/en/docs/api.md) • [Integrations & Examples](https://aish.li/en/docs/integrations.md) • [API Key Management](https://aish.li/en/docs/api-key.md)

### AI Agents

AI Agents are intelligent assistants tailored for specific tasks, roles, or workflows.

Each agent brings together a purpose-built system instruction, a selected AI model, and optional tools or structured outputs.

#### Configuring Agents

You can explore pre-configured demo agents or [create your own](https://aish.li/en/agents/new).

When defining an agent, you can customize:

- **Identity & Instructions**: The persona, tone, and system prompt that guide how the agent responds.
- **Model**: The underlying AI model powering the agent (such as Gemini Flash).
- **Tools**: Capabilities the agent can call to retrieve information or perform actions.
- **Output Schema**: Structured data formats (like forms or JSON) for consistent answers.
- **Visibility**: Keep your agent private to your account or make it public to share.

You can adjust these settings using the visual form on the [Agents](https://aish.li/en/agents) page, or view and edit the Agent's source directly in the _Code_ tab.

For execution guardrails, per-turn credit budgets, output token caps, and timeout profiles, see [Agent Limits](https://aish.li/en/docs/limits.md).

#### Next Steps

Once your agent is ready, you can interact with it in several ways:

1. **Chat**: Test and converse directly on this site via the [Chat](https://aish.li/en/chat) page.
2. **Chat Widget**: Embed the agent directly into your own website with our [Chat Widget](https://aish.li/en/docs/widget.md).
3. **API**: Integrate the agent into your backend services and workflows using the [API](https://aish.li/en/docs/api-key.md).

### Chat Widgets

Once you have created an AI Agent, you can embed it directly into your own website using our _Chat Widget_.

#### Quick Start

1. **Register Your Website Domain**:
   For security, enter your website's domain on the _[Widget Sites](https://aish.li/en/keys/widgets)_ page. This whitelisting prevents unauthorized websites from embedding your agent and consuming your resources.

2. **Ensure Public Visibility**:
   Because visitors on your website interact with the widget without logging in, make sure your agent's visibility is set to **Public** on the _[Agents](https://aish.li/en/agents)_ page.

3. **Copy the HTML Snippet**:
   Click on the _Widget_ button on any agent card or details page to copy the embed snippet:

```html
<script type="module" src="https://widget.aish.li/widget.js" async></script>
<ai-chat agent="your-account/your-agent" max></ai-chat>
```

Paste this HTML code into your webpage (for example, right before the closing `</body>` tag) to display the interactive chat assistant to your users.

#### Optional HTML Attributes {#attributes}

You can customize the `<ai-chat>` element using the following optional HTML attributes:

- `max`: Starts the widget maximized (or allows toggling fullscreen expansion).
- `open`: Opens the chat widget immediately on page load instead of starting minimized.
- `history`: Shows the session history menu button on the left so visitors can view past conversations and switch between sessions (off by default; can be set to `history`, `history="on"`, or `history="off"`).
- `dock`: Docks the expanded chat widget as a full-height right-hand side panel on desktop screens (`>= 1024px`), shifting the page content left so it does not overlap.
- `demo`: Plays a pre-recorded demo session (for example `demo="restaurant.de.json"` or `demo="transport.en.json"`) offline in a loop while keeping the input active so visitors can start typing at any time to switch seamlessly into a live chat session.

#### Framework Wrappers & Starter Examples

Looking for a full HTML5 template, a typed React component (`AiChatWidget.tsx`), Vue/Astro guidance, or an AI coding assistant skill (`SKILL.md`)? See [Integrations & Examples](https://aish.li/en/docs/integrations.md) or browse [`examples/html/index.html`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/html/index.html), [`examples/react/AiChatWidget.tsx`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/react/AiChatWidget.tsx), and [`skills/aish-li/SKILL.md`](https://github.com/aish-li/aish.li-integrations/blob/main/skills/aish-li/SKILL.md) on GitHub.

#### Privacy & GDPR / nFADP Compliance

Embedded `<ai-chat>` widgets run inside a sandboxed iframe restricted to your whitelisted [Widget Sites](https://aish.li/en/keys/widgets), without Google Analytics, advertising cookies, or diagnostic session replay, and with commercial zero-training inference terms. See our [GDPR & Swiss nFADP Compliance Guide](https://aish.li/en/docs/gdpr.md) for deployment checklists, sub-processors, and BYOK options.

### Conversational Forms

Conversational Forms replace tedious static input forms with intelligent, interactive dialogue that captures and validates structured data in real time.

Instead of presenting users with a rigid questionnaire where every question must be answered linearly, an AI Form Agent conducts a natural, fluid conversation. As details are provided, the agent progressively extracts and validates information, updating a synchronized side-panel view in real time (**progressive disclosure**).

#### Why Conversational Forms?

Traditional web forms suffer from high abandonment rates, especially on mobile devices or in complex intake workflows (e.g. travel booking, medical triage, insurance claims, customer onboarding):

| Static Web Forms                                                        | Conversational Forms on AIsh.li                                                           |
| :---------------------------------------------------------------------- | :---------------------------------------------------------------------------------------- |
| **Rigid Order**: Users must answer questions in the predefined sequence | **Natural Dialogue**: Users can provide details in any order or all at once               |
| **All-or-Nothing**: Incomplete submissions are lost                     | **Progressive Extraction**: Data is captured incrementally with each turn                 |
| **Frustrating Validation**: Ambiguous errors on submit                  | **Contextual Clarification**: The agent asks gentle follow-ups for missing fields         |
| **High Abandonment**: Long forms intimidate visitors                    | **Interactive & Engaging**: Conversational flow feels like talking to an expert concierge |

#### How Progressive Disclosure Works

When interacting with a Form Agent in AIsh.li:

1. **User Speaks Naturally**: The visitor can say _"I want to book a trip from Paris to Rome tomorrow morning with Luigi"_.
2. **Entity & Schema Resolution**: The agent maps the utterance against the required fields specified in its [JSON Schema](https://json-schema.org).
3. **Live Side-Panel Updates**: The UI dynamically updates the form state drawer:
   - Extracted values (e.g. origin city, destination, traveller name) appear immediately.
   - Connected tools (such as [Google Maps](https://aish.li/en/docs/tools/maps.md)) can automatically resolve coordinates in the background.
4. **Contextual Clarification**: If any required fields remain unfilled (e.g. departure time or return date), the agent politely prompts for only the missing details.
5. **Form Completion**: Once all required schema fields are validated, the form status switches to complete and emits clean structured JSON ready for processing.

```mermaid
sequenceDiagram
    autonumber
    actor User
    participant Agent
    participant Form as Live Form Panel

    User->>Agent: "I want to travel from Paris to Rome tomorrow morning with Luigi"
    Note over Agent: Maps & Schema Resolution
    Agent->>Form: Populate resolved fields
    Note over Form: ✓ Traveller: Luigi<br/>✓ Origin: Paris<br/>✓ Destination: Rome<br/>⏳ Departure: [Pending...]
    Agent-->>User: Contextual acknowledgement + asks for departure time
```

> [!NOTE]
> **Developer vs End-User View**: In the full web app, the form state drawer is displayed alongside the conversation so builders can inspect data extraction. In the [Embeddable Chat Widget](https://aish.li/en/docs/widget.md), visitors experience a pure, seamless conversation while your backend receives the structured output via webhooks or API calls.

#### Defining a Form Agent

To create a Form Agent:

1. In the [Agent Builder](https://aish.li/en/agents/new), set **Kind** to `Form`.
2. Provide a system instruction guiding the agent's tone and interview strategy.
3. Under **Output Schema**, specify a standard JSON Schema declaring the properties and `required` fields.

Here is an example excerpt from the [Transport Demo Agent](https://aish.li/en/agents/demo/transport#code):

```yaml
id: demo/transport
kind: form
instruction: >
  You are an agent who must obtain trip details from point A to B.
  Ask for missing information informally and warmly.
output:
  mediaType: application/json
  schema:
    type: object
    properties:
      name:
        type: string
        description: Traveller's full name
      origin:
        type: string
        description: Departure location and city
      destination:
        type: string
        description: Destination location and city
      origin_date_time:
        type: string
        description: Date and time of departure (ISO 8601)
    required:
      - name
      - origin
      - destination
      - origin_date_time
```

#### Next Steps

- **Try It Live**: Launch the [Transport Planner in Chat](https://aish.li/en/chat/agent/demo/transport) and watch the fields populate live.
- **Inspect the Schema**: View the full declarative definition in the [Transport Agent Code Tab](https://aish.li/en/agents/demo/transport#code).
- **Backend API Integration**: Read the [Developer Forms API Guide](https://aish.li/en/docs/form-api.md) to integrate form sessions into your backend services.

### Internationalization

AIsh.li is designed from the core for international audiences, enabling you to build AI agents that converse fluently across multiple languages and locales (i18n).

Whether you are deploying customer support widgets across Europe or building global conversational forms, AIsh.li makes it straightforward to localize personas, instructions, prompts, and structured output schemas.

#### Multilingual by Default

Modern foundation models (such as Google Gemini) naturally understand and generate content in over 100 languages. Even if an agent's base system prompt is written in English, it can readily comprehend a customer typing in French, German, Italian, Spanish, or Japanese and respond in kind.

However, a truly professional internationalized experience requires more than just machine translation: it requires localized interface labels, native conversation starters, and culturally appropriate phrasing.

#### Localizing Agent Metadata

In AIsh.li, all user-facing agent metadata can be defined either as a simple string or as a **multilingual dictionary object**:

```yaml
id: demo/restaurant
label:
  en: Restaurant
  de: Restaurant
  fr: Restaurant
  it: Ristorante
description:
  en: A friendly agent that helps you make table reservations at La Trattoria.
  de: Ein freundlicher Agent, der dir hilft, einen Tisch im Restaurant La Trattoria zu reservieren.
  fr: Un agent sympathique qui vous aide à réserver une table au restaurant La Trattoria.
  it: Un agente cordiale che ti aiuta a prenotare un tavolo al ristorante La Trattoria.
intro:
  en: Welcome to La Trattoria! Would you like to reserve a table for lunch or dinner?
  de: Willkommen bei La Trattoria! Möchten Sie einen Tisch zum Mittag- oder Abendessen reservieren?
  fr: Bienvenue à La Trattoria ! Souhaitez-vous réserver une table pour le déjeuner ou le dîner ?
  it: Benvenuti a La Trattoria! Desidera prenotare un tavolo per pranzo o per cena?
```

When a visitor loads the chat page or embeddable widget, AIsh.li automatically renders the matching localized title, description, and greeting based on the user's active locale.

#### Multilingual Starter Prompts

Quick-start prompt chips give visitors one-click prompts to start a conversation. You can localize each starter chip so visitors see prompts in their native language:

```yaml
starters:
  - label:
      en: Plan a morning routine
      fr: Routine matinale
      de: Morgenroutine planen
    prompt:
      en: Give me a positive morning routine and three productive goals for today.
      fr: Donne-moi une routine matinale positive et trois objectifs pour aujourd'hui.
      de: Gib mir eine positive Morgenroutine und drei produktive Ziele für heute.
```

#### Multilingual Form Schemas

In [Conversational Forms](https://aish.li/en/docs/form.md), the agent extracts data according to a JSON Schema. To provide clear guidance to the AI model and display localized field hints in the UI, you can provide multilingual `description` mappings for every schema property:

```yaml
output:
  mediaType: application/json
  schema:
    type: object
    properties:
      destination:
        type: string
        description:
          en: Where do you want to go (include address and city)
          de: Wohin möchtest du fahren (inkl. Adresse und Ort)
          fr: Où souhaitez-vous aller (inclure l'adresse et la ville)
          it: Dove vuoi andare (includi indirizzo e città)
```

This guarantees that both the LLM's internal extraction logic and the live progressive disclosure side panel use the appropriate localized terminology.

#### Language Negotiation

AIsh.li determines the active language through the following hierarchy:

1. **Explicit Route / Locale URL**: `https://aish.li/fr/chat`, `https://aish.li/de/docs/features`, etc.
2. **URL Query Parameter**: `?hl=fr` or `?locale=de` (useful when embedding widgets in existing multilingual websites).
3. **User Preference**: Stored selection from the language switcher in the header.
4. **Browser Settings**: Falls back to `navigator.language` if no explicit preference is set.

#### Try It in Practice

- **Chat in French**: Open the [Restaurant Concierge](https://aish.li/en/chat/agent/demo/restaurant) and say _"Je voudrais réserver une table pour deux personnes vendredi à 19h30"_.
- **Inspect Multilingual Code**: Click the _Code_ tab on the [Transport Agent](https://aish.li/en/agents/demo/transport#code) to see multilingual JSON Schema properties in action.
- **Switch Portal Language**: Use the language dropdown in the top-right navigation bar to explore the entire UI in Français, Deutsch, or Italiano.

### Thinking & Reasoning

Modern AI models use internal "chain-of-thought" reasoning to decompose complex problems, analyze edge cases, and verify hypotheses before formulating their final response.

AIsh.li surfaces this reasoning process in real time through an elegant, collapsible **Thought Process** interface, providing complete transparency and auditability without cluttering the chat experience.

#### What is Model Thinking?

When tackling challenging tasks—such as writing complex code, solving multi-step mathematical puzzles, or evaluating multi-condition business policies—advanced models (such as Gemini 3.1 Pro) perform intermediate deductions.

Instead of hiding these steps behind a black box or outputting pages of raw internal monologue, reasoning models generate a dedicated reasoning block:

```
[thinking]
1. The user asks whether Novello is closer to Barolo or Alba.
2. Looking up coordinates: Novello (44.58° N, 7.92° E), Barolo (44.61° N, 7.94° E).
3. Distance Novello to Barolo: ~3.5 km.
4. Distance Novello to Alba: ~15 km.
5. Conclusion: Barolo is significantly closer.
[/thinking]

Barolo is much closer to Novello, located just 3.5 km away (about a 6-minute drive), whereas Alba is approximately 15 km away.
```

#### Real-Time Streaming & Interactive UI

AIsh.li's streaming protocol detects thought tokens (such as `[thinking]` and `<think>`) on the fly as they arrive over Server-Sent Events (SSE):

1. **Active Streaming**: While the model is actively thinking, the thought drawer automatically expands with a subtle glowing pulse, allowing you to follow its analytical reasoning as it happens.
2. **Auto-Collapse**: Once the model completes its thought process and begins generating the final conversational response, the thought drawer cleanly collapses.
3. **Expand on Demand**: Users and developers can click the **Thought process** button at any time to inspect the full chain of thought.
4. **Copy Markdown**: Clicking the Copy button on a message copies the clean answer, with an option to inspect raw thoughts.

#### Why Transparent Thinking Matters

- **Auditability**: Verify _why_ an agent made a particular recommendation or chose a specific tool.
- **Error Detection**: Spot reasoning oversights or flawed assumptions early in the reasoning chain before taking real-world actions.
- **Clean User Experience**: End-users receive a concise, polished response without wading through intermediate scratchpad notes.
- **Debugging Agent Prompts**: Observe how the model interprets system instructions and constraints to refine prompts faster.

#### Try It in Practice

1. Open [Chat with Google Gemini](https://aish.li/en/chat/agent/demo/gemini).
2. Submit a reasoning riddle or puzzle, for example:
   - **Math & Trick Logic**:
     > _"A bat and ball cost \$1.10 in total. The bat costs \$1.00 more than the ball. How much does the ball cost?"_
   - **Constraint Satisfaction**:
     > _"A farmer has a wolf, a goat, and a cabbage. He needs to cross a river in a boat that can only carry him and one item at a time. If left alone, the wolf eats the goat, and the goat eats the cabbage. How can he cross safely?"_
3. Watch the **Thought process** accordion expand in real time as the agent works through the intermediate deduction step-by-step!

### Privacy & Data Protection

AIsh.li is built around a simple principle: your prompts, conversations, and business data belong strictly to you.

Most consumer AI platforms (such as the free web versions of Google Gemini, ChatGPT, or Copilot) are designed for consumer data collection. In exchange for free chat, they routinely log your prompts, use your conversations to train future foundation models, and sometimes have human annotators read your chats.

AIsh.li takes a fundamentally different, enterprise-grade approach to privacy and data sovereignty.

#### Consumer AI Portals vs AIsh.li

Here is how AIsh.li compares to common consumer chatbots in plain everyday language:

| What happens to your data?                  | Consumer AI (Free Tiers)                                           | AIsh.li Platform                                                                          |
| :------------------------------------------ | :----------------------------------------------------------------- | :---------------------------------------------------------------------------------------- |
| **Are your chats used to train AI?**        | **Yes**: Prompts and answers can be used to improve future models. | **Never**: Commercial inference agreements strictly prohibit model training on your data. |
| **Do human reviewers read your messages?**  | **Often**: Portions of chats are sampled for manual review.        | **No**: No human review of private chats or customer messages.                            |
| **Who owns the output?**                    | Subject to platform terms.                                         | **You do**: Full rights and sovereignty over your prompts, agents, and data.              |
| **Can you use your own API keys?**          | No. Locked to proprietary subscription tiers.                      | **Yes**: Bring Your Own Key (BYOK) for direct provider-level billing and control.         |
| **Are there advertising tracking cookies?** | Yes, commonly connected to ad networks.                            | **No**: First-party analytics only, with ad storage and cross-site tracking denied.       |

#### Our Zero-Training Commitment

When you use AIsh.li, all inference requests are processed through paid, commercial API agreements with upstream providers (such as Google Cloud).

Under these commercial agreements, the model providers are legally prohibited from using customer inputs, outputs, prompts, or conversation histories to train or fine-tune their foundation models.

Your data is processed in memory solely to generate the immediate completion and maintain your active multi-turn session.

#### Bring Your Own Key (BYOK)

For developers and organizations with strict compliance requirements, AIsh.li provides a **Bring Your Own Key (BYOK)** option:

- Enter your own Google AI Studio or Google Cloud Vertex AI API key under [Your Secrets](https://aish.li/en/secrets).
- Requests are routed directly to your personal or enterprise cloud billing account.
- Your data protection and retention policies apply directly under your own organization's agreements with the cloud provider.

> [!NOTE]
> When using your own key, ensure you select a paid commercial billing tier if you want upstream zero-training guarantees. Third-party free tiers (such as Google AI Studio's free tier) may permit the provider to use inputs for training (see [AI Key details](https://aish.li/en/docs/key.md#free)).

#### First-Party Web Privacy

We believe website analytics should respect user privacy:

- **No Third-Party Ad Cookies**: We do not sell data to data brokers or embed tracking pixels from social media ad networks.
- **Google Consent Mode v2**: Advertising and personalization storage are denied by default (`ad_storage: 'denied'`, `ad_user_data: 'denied'`, `ad_personalization: 'denied'`), while first-party analytics cookies (`_ga`, `analytics_storage: 'granted'`) are used strictly to distinguish unique visitors and measure session continuity on AIsh.li — never for cross-site advertising or profiling.
- **Edge Proxying**: Any telemetry scripts are proxied through our own domain (`aish.li/gtag/...`) via Cloudflare's Google Tag Gateway rather than making direct calls to third-party tracking endpoints.
- **Privacy-Masked Error Diagnostics**: Error reporting and diagnostic session replays (via Sentry in the EU) operate without cookies and mask all on-screen text and form inputs (`*`) in your browser before transmission, ensuring your prompts and chats are never captured in UI recordings.

#### Legal & Compliance Details

For complete legal terminology, data processor agreements, GDPR rights, data retention schedules, and contact details for data subject access requests, please review our full legal policy:

👉 **Read the [GDPR & Swiss nFADP Compliance Guide](https://aish.li/en/docs/gdpr.md)** or the official **[AIsh.li Privacy Policy](https://aish.li/en/docs/privacy.md)**

## Tools

### Tools

Connected Tools give your AI agents eyes and hands, enabling them to retrieve live information from the web, interact with real-world APIs, resolve geographic locations, and run calculations.

Without tools, large language models are limited to the static snapshot of their pre-training data. With tools enabled, agents can dynamically look up real-time facts, verify sources, inspect live URLs, and perform deterministic computation.

#### Available Native Tools

AIsh.li includes a suite of native tools that can be enabled on any agent with a single click:

| Tool               | ID                | Description                                                            | Guide                            |
| :----------------- | :---------------- | :--------------------------------------------------------------------- | :------------------------------- |
| **Google Search**  | `search-google`   | Real-time web search grounding with live source citations.             | [Google Search Guide](https://aish.li/en/docs/tools/search.md) |
| **HTTP Text**      | `http-text`       | Read clean, readable prose and documentation from public web pages.    | [HTTP Text Guide](https://aish.li/en/docs/tools/fetch.md)      |
| **HTTP GET**       | `http-get`        | Fetch raw HTML, linked JS bundles, HTTP headers, and live REST APIs.   | [HTTP GET Guide](https://aish.li/en/docs/tools/http-get.md)    |
| **HTTP POST**      | `http-post`       | Execute mutating POST/PUT/PATCH/DELETE API calls (authenticated only). | [HTTP POST Guide](https://aish.li/en/docs/tools/http-post.md)  |
| **Google Maps**    | `geo-google-maps` | Geocode addresses, resolve GPS coordinates, and locate places.         | [Google Maps Guide](https://aish.li/en/docs/tools/maps.md)     |
| **Code Execution** | `code-execution`  | Execute sandboxed Python code for exact mathematical calculations.     | [Code Execution Guide](https://aish.li/en/docs/tools/code.md)  |

#### How Tool Calling Works

When a user asks a question that requires external information or calculation:

```mermaid
sequenceDiagram
    autonumber
    actor User
    participant Model as AI Model
    participant Runtime as Tool Runtime
    participant Search as Google Search API

    User->>Model: "What was the score of yesterday's Champions League match?"
    Note over Model: Recognizes need for real-time live data
    Model->>Runtime: Tool Call: search-google(query="Champions League score yesterday")
    Runtime->>Search: Execute web query
    Search-->>Runtime: Structured search results & snippets
    Runtime-->>Model: Grounded tool response
    Model-->>User: Synthesized answer with citations
```

By default, an agent can run up to 7 tool execution rounds per turn; see [Agent Limits](https://aish.li/en/docs/limits.md#max-tool-iterations) to adjust tool steps and other execution guardrails.

#### Enabling Tools on an Agent

You can enable or disable tools for any agent in two ways:

1. **Visual Builder**:
   - Go to the [Agents](https://aish.li/en/agents) page and select an agent to edit (or [Create a New Agent](https://aish.li/en/agents/new)).
   - Scroll down to the **Tools** section.
   - Toggle the checkboxes for **HTTP Text 🌐**, **HTTP GET 📡**, **HTTP POST 📤**, **Google Search 🔎**, **Google Maps 🗺️**, or **Code Execution 💻**.
   - Click **Save Agent**.

2. **Declarative YAML**:
   - Click the _Code_ tab on any agent page.
   - Add the desired tool identifiers to the `tools` array:

```yaml
id: my-account/research-assistant
instruction: You are a thorough researcher. Always verify facts using search.
model: gemini-3.8-flash
tools:
  - search-google
  - http-text
```

#### Model Context Protocol (MCP)

In addition to our native built-in tools, AIsh.li is built with support for the open [Model Context Protocol (MCP)](https://modelcontextprotocol.io), allowing enterprise agents to connect to proprietary databases, internal APIs, and custom enterprise tools.

#### Next Steps

Explore the detailed guides for each native tool:

- 🔎 **[Google Search Grounding](https://aish.li/en/docs/tools/search.md)**: Real-time search and fact verification.
- 🌐 **[HTTP Text Tool](https://aish.li/en/docs/tools/fetch.md)**: Retrieving and reading clean web page text and docs.
- 📡 **[HTTP GET Tool](https://aish.li/en/docs/tools/http-get.md)**: Fetching raw HTML source, linked JS, HTTP headers, and REST APIs.
- 📤 **[HTTP POST Tool](https://aish.li/en/docs/tools/http-post.md)**: Sending mutating POST/PUT/PATCH/DELETE REST API requests.
- 🗺️ **[Google Maps & Geolocation](https://aish.li/en/docs/tools/maps.md)**: Geographic resolution and coordinates.
- 💻 **[Code Execution](https://aish.li/en/docs/tools/code.md)**: Running sandboxed Python computation.
- 🌐 **[User-Agent](https://aish.li/en/docs/user-agent.md)**: How outbound `http-get` and `http-post` requests identify themselves to target sites.

### HTTP Text (Web Fetch)

The HTTP Text tool allows AI agents to read and analyze clean, readable text from live web pages, documentation articles, and online documents.

Tool Identifier: `http-text` (legacy alias: `http`)

> Want raw HTML source, linked JavaScript bundles, HTTP status codes/headers, or direct REST JSON API inspection instead? See **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)** (`http-get`).

#### Capabilities

While search grounding identifies relevant links, the HTTP Text tool gives an agent the ability to read the complete readable text of specific URLs provided by the user or discovered during search:

- **Web Page Reading**: Extracts clean, readable text from HTML web pages, stripping away tracking scripts, navigation chrome, and boilerplate.
- **Documentation Summaries**: Point an agent to a documentation page, GitHub README, or blog post and ask questions about its contents.
- **Public Content Reading**: Summarizes and answers questions across one or more public web pages or documents in a single turn.
- **Clean Text Extraction**: Page content is normalized into clean, readable text before entering the model's context window.

#### How to Enable

##### In the UI

When configuring an agent in the [Agent Builder](https://aish.li/en/agents/new) or editing an existing agent, check the box for:
☑️ **HTTP Text 🌐**

##### In Agent YAML

Add `http-text` to the `tools` array (the older `http` identifier continues to work as an alias for `http-text`):

```yaml
tools:
  - http-text
```

#### Example Prompts & Use Cases

- **Summarize an Article**: _"Read https://example.com/blog/latest-release and give me a 3-bullet summary of the new features."_
- **Documentation Assistant**: Configure an agent whose system prompt tells it to consult your company's online developer docs whenever a technical question is asked.
- **Combine with Raw HTTP Inspection**: Enable both `http-text` and `http-get` when an agent needs to read developer docs with HTTP Text and inspect live raw HTML, JS, or JSON responses with HTTP GET.

#### Related Tools

- 📡 **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)**: Retrieve raw HTTP status codes, response headers, raw HTML source, linked JavaScript files, and unparsed REST API payloads.
- 📤 **[HTTP POST](https://aish.li/en/docs/tools/http-post.md)**: Invoke mutating `POST`/`PUT`/`PATCH`/`DELETE` REST API endpoints (authenticated users only).
- 🔎 **[Google Search Grounding](https://aish.li/en/docs/tools/search.md)**: Find relevant links automatically when specific URLs are not known in advance.
- 💻 **[Code Execution](https://aish.li/en/docs/tools/code.md)**: Process and analyze structured data using Python scripts.
- 📖 **[Connected Tools Overview](https://aish.li/en/docs/tools/index.md)**

### HTTP GET

The **HTTP GET** tool gives AI agents direct access to raw HTTP `GET` and `HEAD` responses — including exact status codes, normalized response headers, raw HTML source, linked JavaScript or CSS bundles, and unparsed REST/JSON API endpoints.

Tool Identifier: `http-get` (exposes function `http_get`)

> Looking to summarize articles or read clean rendered web page text without HTML markup? See **[HTTP Text](https://aish.li/en/docs/tools/fetch.md)** (`http-text`).

#### Capabilities

While **[HTTP Text](https://aish.li/en/docs/tools/fetch.md)** focuses on human-readable prose extraction, **HTTP GET** lets agents inspect web applications and APIs at the HTTP and source-code layer:

- **Raw HTML & Asset Inspection**: Retrieve unstripped HTML `<script src="...">`, `<link>`, and DOM markup, then follow up on linked JavaScript bundles or stylesheets.
- **Large Bundle Search & Pagination**: Locate API routes or tokens inside large minified JavaScript files using built-in `search` (substring or bounded regular expression matching with `context_chars`) and paginate with `offset` and `max_length`.
- **Direct REST API & Header Inspection**: Inspect exact HTTP status codes, `content_type`, `final_url` after redirects, and response headers (such as `Cache-Control`, `Content-Length`, or CORS headers), or issue lightweight `HEAD` checks.

#### Parameters

Agents call `http_get` with structured arguments:

- `url` (required): Public `http://` or `https://` URL to request.
- `method` (optional, default `GET`): HTTP method (`GET` or `HEAD`).
- `accept` (optional): Custom read-only `Accept` request header (for example `application/json`).
- `offset` / `max_length` (optional): Character offset and maximum slice length for paginating through large responses.
- `search` / `context_chars` (optional): Pattern filter (case-insensitive substring or regex) and surrounding character context for finding matches inside large HTML or JS payloads.

#### How to Enable

##### In the UI

When configuring an agent in the [Agent Builder](https://aish.li/en/agents/new) or editing an existing agent, check the box for:
☑️ **HTTP GET 📡**

##### In Agent YAML

Add `http-get` to the `tools` array:

```yaml
tools:
  - http-get
```

#### Example Prompts & Use Cases

- **Discover an Undocumented Frontend API**: _"Fetch https://example.com/ with `http_get`, find the main JavaScript bundle URL in the HTML, search that bundle for `/api/`, and call the discovered JSON endpoint."_
- **Inspect HTTP Headers & Status**: _"Run a `HEAD` request on https://example.com/data.json and report the status code, `Content-Type`, and `Content-Length`."_
- **Combine Reading Docs & Querying APIs**: Enable both `http-text` and `http-get` so an agent can read human documentation with HTTP Text and verify live endpoints with HTTP GET.

#### Related Tools

- 🌐 **[HTTP Text](https://aish.li/en/docs/tools/fetch.md)**: Read clean, boilerplate-free prose and documentation from web pages.
- 📤 **[HTTP POST](https://aish.li/en/docs/tools/http-post.md)**: Execute mutating `POST`/`PUT`/`PATCH`/`DELETE` calls once endpoints are discovered.
- 🔎 **[Google Search Grounding](https://aish.li/en/docs/tools/search.md)**: Discover candidate URLs before fetching them directly.
- 💻 **[Code Execution](https://aish.li/en/docs/tools/code.md)**: Analyze retrieved datasets in Python.
- 📖 **[Connected Tools Overview](https://aish.li/en/docs/tools/index.md)**
- 🌐 **[User-Agent](https://aish.li/en/docs/user-agent.md)**: How outbound `http_get` requests identify themselves to target servers.

### HTTP POST

The **HTTP POST** tool enables authenticated AI agents to invoke mutating HTTP requests (`POST`, `PUT`, `PATCH`, `DELETE`) against external public REST APIs — sending request bodies and allowed custom headers while inspecting exact status codes, headers, and response payloads.

Tool Identifier: `http-post` (exposes function `http_post`)

> Only need read-only raw HTML/JS/JSON retrieval? See **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)** (`http-get`). Need clean rendered article prose? See **[HTTP Text](https://aish.li/en/docs/tools/fetch.md)** (`http-text`).

#### Capabilities

When paired with **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)** for discovering endpoints and schemas, **HTTP POST** lets agents perform full REST API interactions:

- **Mutating REST Calls**: Issue `POST` (default), `PUT`, `PATCH`, or `DELETE` requests to external public HTTP/HTTPS APIs.
- **Payloads & Headers**: Send UTF-8 request bodies (defaulting `Content-Type` to `application/json` when non-empty body text is supplied without an explicit type) alongside custom headers such as `Accept` or `Idempotency-Key`.
- **Bounded Response Inspection**: Supports the same `offset`/`max_length` pagination and bounded `search`/`context_chars` filtering as `http_get`, returning `3xx`, `4xx`, and `5xx` responses cleanly for agent reasoning.

#### Parameters

Agents call `http_post` with structured arguments:

- `url` (required): Public `http://` or `https://` URL to target.
- `method` (optional, default `POST`): Mutating HTTP method (`POST`, `PUT`, `PATCH`, or `DELETE`).
- `body` (optional): UTF-8 request payload string (e.g., serialized JSON or form data; max 1 MiB).
- `content_type` (optional): Request `Content-Type` header (defaults to `application/json` when `body` is non-empty and not otherwise set in `headers`).
- `headers` (optional): JSON object mapping header names to string values.
- `offset` / `max_length` (optional): Character offset and maximum slice length for response pagination.
- `search` / `context_chars` (optional): Case-insensitive pattern filter and surrounding character context for large responses.

#### How to Enable

##### In the UI

When configuring an agent in the [Agent Builder](https://aish.li/en/agents/new) or editing an existing agent, check the box for:
☑️ **HTTP POST 📤**

##### In Agent YAML

Add `http-post` to the `tools` array:

```yaml
tools:
  - http-post
```

#### Example Prompts & Use Cases

- **Discover & Submit to a REST API**: Enable `http-get` and `http-post` and prompt: _"Inspect https://example.com/ with `http_get` to find the confirmation API endpoint in its JavaScript bundle, then call `http_post` to submit code `ZURICH`."_
- **Update a Public Webhook or Resource**: _"Send a `PUT` request with JSON payload `{...}` to https://api.example.com/v1/items/42 and confirm whether it returns HTTP 200."_

#### Access & Behavior

- **Authenticated Users Only**: `http-post` is only available to signed-in users and API-key authenticated callers. It is not available to anonymous chat or widget visitors.
- **No Automatic Redirects**: Unlike `http_get`, `http_post` does not follow HTTP redirects automatically (`3xx` responses and their `location` header are returned directly to the agent).
- **Locked Identity**: Outbound requests send the standard AIsh.li [User-Agent](https://aish.li/en/docs/user-agent.md) header, which callers cannot override via `headers`.

#### Related Tools

- 📡 **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)**: Discover REST endpoints from raw HTML and JavaScript using read-only `GET`/`HEAD`.
- 🌐 **[HTTP Text](https://aish.li/en/docs/tools/fetch.md)**: Read clean prose documentation without HTML markup.
- 📖 **[Connected Tools Overview](https://aish.li/en/docs/tools/index.md)**

### Google Search

The Google Search tool connects your AI agent directly to Google's real-time web search index, grounding responses in up-to-the-minute facts and verified sources.

Tool Identifier: `search-google`

#### Why Use Search Grounding?

Large language models have a fixed knowledge cutoff date. When users ask about today's events, breaking news, recent product updates, or real-time sports scores, an ungrounded model will either apologize or hallucinate plausible-sounding guesses.

With **Google Search Grounding**:

- **Real-Time Freshness**: Retrieve news, announcements, and events happening right now.
- **Fact Verification**: Reduce hallucinations by anchoring generated text in authoritative web search results.
- **Source Citations**: Responses include inline reference links so users can inspect and trust the primary sources.

#### How to Enable

##### In the UI

When configuring an agent in the [Agent Builder](https://aish.li/en/agents/new) or editing an existing agent, check the box for:
☑️ **Google Search 🔎**

##### In Agent YAML

Add `search-google` to the `tools` array:

```yaml
tools:
  - search-google
```

#### Example Prompts & Use Cases

- **Market Intelligence**: _"What were the key announcements from Google I/O this year?"_
- **Current Events**: _"What is happening in the world today?"_
- **Competitive Analysis**: _"Compare the latest pricing plans of popular cloud hosting services."_
- **Fact Checking**: _"When is the next solar eclipse visible from Central Europe?"_

#### Try It in Practice

The default [Google Gemini Agent](https://aish.li/en/chat/agent/demo/gemini) has Google Search grounding pre-enabled.

1. Open [Chat with Google Gemini](https://aish.li/en/chat/agent/demo/gemini).
2. Click the quick-start prompt: _"What's new in the world today?"_.
3. Notice how the agent searches the web, summarizes current headlines, and cites its sources!

#### Related Tools

- 🌐 **[HTTP Text Tool](https://aish.li/en/docs/tools/fetch.md)**: Once search finds relevant URLs, read full clean page contents and documentation.
- 📡 **[HTTP GET Tool](https://aish.li/en/docs/tools/http-get.md)**: Retrieve raw HTML source, linked JavaScript files, HTTP headers, or live REST APIs.
- 📤 **[HTTP POST Tool](https://aish.li/en/docs/tools/http-post.md)**: Invoke mutating `POST`/`PUT`/`PATCH`/`DELETE` REST API endpoints (authenticated users only).
- 🗺️ **[Google Maps](https://aish.li/en/docs/tools/maps.md)**: For local queries and geographic lookups.
- 📖 **[Connected Tools Overview](https://aish.li/en/docs/tools/index.md)**

### Google Maps

The Google Maps tool gives AI agents spatial awareness, enabling them to resolve human-readable addresses into precise geographic coordinates (latitude and longitude), locate venues (geolocation), and plan routes (routing).

Tool Identifier: `geo-google-maps`

#### Capabilities

- **Address Geocoding**: Convert place names and street addresses (e.g. _"Piazza San Marco, Venice"_) into exact GPS latitude and longitude coordinates.
- **Venue & POI Lookup**: Find business locations, points of interest, restaurants, and transit hubs.
- **Route & Distance Estimation**: Determine geographical distances and transit paths between multiple destinations.

#### Integration with Conversational Forms

One of the most powerful use cases for the Google Maps tool is in **[Conversational Forms](https://aish.li/en/docs/form.md)**.

For example, in the [Transport Planner Agent](https://aish.li/en/agents/demo/transport#code), the form schema requires `origin_latitude`, `origin_longitude`, `destination_latitude`, and `destination_longitude`. Instead of asking users for numeric GPS coordinates, the user simply states their departure and arrival cities:

```mermaid
sequenceDiagram
    autonumber
    actor User
    participant Agent
    participant Maps as Google Maps Tool
    participant Form as Transport Schema

    User->>Agent: "I need to travel from Novello to Barolo"
    Agent->>Maps: Geocode "Novello" & "Barolo"
    Maps-->>Agent: Coordinates (Novello: 44.5894°N, 7.9258°E | Barolo: 44.6104°N, 7.9414°E)
    Agent->>Form: Populate origin & destination lat/lng
    Form-->>User: Form populated & ready for confirmation
```

#### How to Enable

##### In the UI

When configuring an agent in the [Agent Builder](https://aish.li/en/agents/new) or editing an existing agent, check the box for:
☑️ **Google Maps 🗺️**

##### In Agent YAML

Add `geo-google-maps` to the `tools` array:

```yaml
tools:
  - geo-google-maps
```

#### Try It in Practice

- Test geographic form resolution live with the [Transport Planner in Chat](https://aish.li/en/chat/agent/demo/transport).
- Inspect how the agent is configured in the [Transport Agent Code Tab](https://aish.li/en/agents/demo/transport#code).

#### Related Tools

- 📝 **[Conversational Forms](https://aish.li/en/docs/form.md)**: Capture structured travel and reservation details.
- 🔎 **[Google Search Grounding](https://aish.li/en/docs/tools/search.md)**: Find opening hours, contact info, and reviews for venues.
- 📖 **[Connected Tools Overview](https://aish.li/en/docs/tools/index.md)**

### Code Execution

The Code Execution tool enables AI agents to write and execute sandboxed Python code on the fly to perform exact calculations, data analysis, and algorithmic transformations.

Tool Identifier: `code-execution`

#### Why Code Execution?

Large language models excel at natural language understanding and conceptual reasoning, but standard next-token prediction can struggle with multi-digit arithmetic, combinatorial math, or statistical aggregations.

With **Code Execution**:

- **Deterministic Accuracy**: Complex arithmetic (e.g. compound interest, mortgage amortizations, currency conversions) is executed directly by Python rather than estimated probabilistically.
- **Data Transformation**: Agents can parse large text tables, sort lists, compute percentiles, and generate formatted summaries.
- **Zero Calculation Hallucinations**: When exact numerical results matter, the model delegates the calculation to code and reports the verified output.

#### How It Works

When an agent needs to perform an analytical or mathematical task:

```mermaid
sequenceDiagram
    autonumber
    actor User
    participant Model as AI Model
    participant Sandbox as Python Sandbox

    User->>Model: "What is monthly payment on a $450k 30-year fixed loan at 6.25%?"
    Note over Model: Generates exact Python script
    Model->>Sandbox: Execute calculation script
    Sandbox-->>Model: Output: "2770.83"
    Model-->>User: "Your monthly principal and interest payment will be $2,770.83."
```

#### How to Enable

##### In the UI

When configuring an agent in the [Agent Builder](https://aish.li/en/agents/new) or editing an existing agent, check the box for:
☑️ **Code Execution 💻**

##### In Agent YAML

Add `code-execution` to the `tools` array:

```yaml
tools:
  - code-execution
```

#### Security & Sandboxing

Code execution occurs inside ephemeral, strictly isolated sandboxes with:

- No network access from within the script sandbox.
- Restricted execution time and memory limits.
- No access to underlying filesystem, host environments, or database credentials.

#### Related Tools

- 🔎 **[Google Search Grounding](https://aish.li/en/docs/tools/search.md)**: Search for raw data and facts before processing them with code.
- 🌐 **[HTTP Text Tool](https://aish.li/en/docs/tools/fetch.md)**: Read clean documentation and web pages for analysis.
- 📡 **[HTTP GET Tool](https://aish.li/en/docs/tools/http-get.md)**: Fetch raw REST JSON payloads, CSVs, or web source files for processing.
- 📤 **[HTTP POST Tool](https://aish.li/en/docs/tools/http-post.md)**: Submit computed payloads to external REST APIs (authenticated users only).
- 📖 **[Connected Tools Overview](https://aish.li/en/docs/tools/index.md)**

## Actions

### Actions

Actions enable AI agents to automatically trigger outbound notifications and workflows when key events occur during an interaction—such as a user completing a conversational form or closing a chat session.

Without actions, conversations and submitted form data remain inside the platform session store until manually inspected or polled via the REST API. With actions configured, your agents actively deliver structured data and event notifications straight to your team's tools and inboxes in real time.

#### Available Actions

AIsh.li currently supports the following outbound action integrations:

| Action    | Config Key      | Description                                                              | Guide                          |
| :-------- | :-------------- | :----------------------------------------------------------------------- | :----------------------------- |
| **Email** | `actions.email` | Deliver completed form submissions directly to configured email inboxes. | [Email Action Guide](https://aish.li/en/docs/actions/email.md) |

> [!NOTE] Additional action targets, including outbound **Webhooks** and **Agent Dispatch**, are planned for upcoming releases.

#### How Actions Work

Actions listen for interaction lifecycle events on the backend:

```mermaid
sequenceDiagram
    autonumber
    actor Visitor as Website Visitor
    participant Agent as Form Agent
    participant Runtime as Server Runtime
    participant Target as Recipient Inbox/Webhook

    Visitor->>Agent: Completes form
    Agent->>Runtime: Form completed event
    Runtime->>Runtime: Collected data
    Runtime--)Target: Action
    Agent-->>Visitor: "Thank you!"
```

#### Next Steps

Explore the detailed guides for configured actions:

- ✉️ **[Outgoing Email Action Guide](https://aish.li/en/docs/actions/email.md)**: Learn how to configure recipient addresses, event triggers, and inspect delivered email formats.

### Email Action

The Email Action allows agents to automatically send completed form submissions and conversation records directly to your inbox upon completion of an interaction.

For example:

- A restaurant concierge instantly emails reservation details to the host desk when a guest finishes booking.
- A customer inquiry agent forwards structured contact details and requirements to your sales team inbox.
- A support triage assistant delivers ticket details without requiring you to monitor a dashboard.

#### Configuration

Actions are configured declaratively in the agent's YAML specification under the `actions:` section.

Configure the `email:` block under `actions:` in your agent's declarative YAML definition:

```yaml
actions:
  email:
    to: 'Reservations Team <reservations@example.com>'
    on:
      includeTranscript: true
```

You can view and edit the YAML definition by opening your agent in the [Agents](https://aish.li/en/agents) dashboard and selecting the **Code** tab.

##### Configuration Options

| Field                  | Type    | Default      | Description                                                                                                                                           |
| :--------------------- | :------ | :----------- | :---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `to`                   | string  | _(Required)_ | Recipient email address. Supports standard emails (`alice@example.com`) or RFC 5322 formatted names (`"Alice Smith" <alice@example.com>`).            |
| `enabled`              | boolean | `true`       | When `to` is specified, the action is enabled by default. Set to `false` to temporarily pause email delivery without deleting the configured address. |
| `on.formCompleted`     | boolean | `true`       | Automatically sends an email when all required fields of a conversational form agent (`kind: form`) have been collected.                              |
| `on.includeTranscript` | boolean | `false`      | When enabled, appends the full conversation transcript to the email alongside the extracted form fields.                                              |
| `on.sessionEnded`      | boolean | `false`      | Sends an email when a chat session closes or goes idle, even if no form was completed.                                                                |

##### Form Data Section

Extracted form data is presented as a clean, human-readable nested key-value list with indented sub-items, based on the agent's form output schema. This guarantees that complex or nested form structures (such as addresses, guest lists, or multi-field options) remain easy to read:

```markdown
- **Party**:
  - **Size**: 4
  - **Outdoor Seating**: Yes
- **Contact**:
  - **Name**: Alice Smith
  - **Phone**: +1 555 0199
- **Special Requests**: Window table if available
```

## About

### Roadmap

Planned features, integrations, and upcoming AI model support for AIsh.li.

#### Planned Features

- Voice Chat
- Voice [POTS](https://en.wikipedia.org/wiki/Plain_old_telephone_service)
- Calendar Tool
- WhatsApp Bridge
- RAG for Sites
- Wiki Memory
- Workers

#### Models {#models}

We will support additional [models](https://aish.li/en/docs/models.md), including open-weights models, notably:

- [Mistral](https://mistral.ai)
- [Apertus AI](https://apertus-ai.org), the fully open model (weights, training data, and code) from the Swiss AI Initiative for Sovereign AI
- [OpenRouter](https://openrouter.ai) support

#### Feature Requests

Want to request a specific model or provider, need a custom integration, or want to sponsor and prioritize a feature? Please [contact us](https://aish.li/en/contact) to discuss.

### What's New?

Latest feature updates and improvements to the platform.

See [our Roadmap](https://aish.li/en/docs/roadmap.md) for what's coming next!

#### 2026-11-29

- [Domain Solutions](https://aish.li/en/solutions) with live interactive website demos
- [Voice Text-to-Speech](https://aish.li/en/solutions/voice/text-to-speech) (TTS) agent & audio playback in Chat
- [HTTP GET](https://aish.li/en/docs/tools/http-get.md) & [HTTP POST](https://aish.li/en/docs/tools/http-post.md) tools, with dedicated [User-Agent](https://aish.li/en/docs/user-agent.md)
- [AIsh.li YouTube channel](https://www.youtube.com/@aishli-dev) with solution walkthrough videos
- [Agent Limits](https://aish.li/en/docs/limits.md) checks and enforcement; incl. in-chat _Continue_
- [AIsh.li Integrations](https://github.com/aish-li/aish.li-integrations) GitHub repository
- Enterprise: Proxy Header SSO auth

#### 2026-11-15

- [Widget `dock` & mode `history` switch](https://aish.li/en/docs/widget.md#attributes)
- Updated [Privacy Policy](https://aish.li/en/docs/updates/privacy.md#2026-11-15) (first-party analytics cookies & policy change notice) and [Terms of Service](https://aish.li/en/docs/updates/terms.md#2026-11-15) (advance notice for material updates)
- Error monitoring & privacy-masked session diagnostics; see [Privacy Policy Updates](https://aish.li/en/docs/updates/privacy.md#2026-11-14)

#### 2026-11-01

- [Email Action](https://aish.li/en/docs/actions/email.md)

#### 2026-10-18

- Landing page with Book Demo & Contact
- Features & Tools documentation
- Fixed AI Credits rounding bug
- Translations

#### 2026-10-11

- Form Agents v2
- Chat _Thinking..._ UI
- Multilingual Agent intro
- Delete Agents

#### 2026-10-04

- Pricing & Billing (BYOK is now Enterprise only)
- Form Agents (`kind: form`) Chat support
- Explicit Save on Agent Editor
- Error Handling improvements
- Site Clean Up; incl. [models](https://aish.li/en/docs/models.md):
  - Added Gemini 3.5 Flash Lite
  - Removed Gemini 3.1 Flash Lite
  - Removed Gemini 2.5 Flash Lite
  - Removed Gemini 3.5 Flash
  - Removed Gemini 3 Flash
  - Removed Gemini 3.7 Flash
  - Removed Gemini 3.6 Flash
  - Removed Gemini 2.5 Flash
  - Removed Gemini 2.5 Pro

#### 2026-09-26

- Google Maps Tool
- In-app documentation viewer and interactive [API Reference](https://aish.li/en/docs/api)
- Chat improvements: _Thinking..._ state, response cancellation (_Stop_), and enhanced error handling
- Fix `output.schema` support for structured forms; try the [Transport Demo Agent](https://aish.li/en/chat/agent/demo/transport)

#### 2026-09-20

- Add Gemini 3.6 / 3.7 / 3.8 Flash models
- Support Ollama for on-premise model deployments
- Internal concurrency & scalability improvements

#### 2026-06-17

- Add Gemini 3.5 Flash model
- Remove Gemini Pro 3.0

#### 2026-05-10

- Embeddable [Chat Widget](https://aish.li/en/docs/widget.md) for external websites
- Support model reasoning and thinking process display
- Add Gemma 4 open-weights model support

### Billing FAQ

Please [contact us](https://aish.li/en/contact) for any billing-related questions, and we're very happy to help!

#### Payment was successful!

Your payment was successful, and the AIsh.li AI credits subscription of your plan has been activated.

You should see your subscription reflected in both your account settings and highlighted on the [Pricing page](https://aish.li/en/pricing).

#### The card was declined.

This error means that your credit card was rejected by the payment processor.

This can happen for a variety of reasons, including:

- The card has online e-commerce transactions disabled in your Bank's card settings.
- The card has insufficient funds. Top it up your account or use a different card.
- The card has expired, or has been reported lost or stolen.

#### The payment attempt failed because it requires additional confirmation, which is not currently supported. Please use a different payment method.

We are aware of this issue affecting some types of cards from certain regions, and together with our platform partners are working on a fix.

In the meantime, please either use a different card to complete your subscription, or [contact us](https://aish.li/en/contact) to arrange a manual payment.

### Partners

We collaborate with agencies, creators, and technology partners to build, embed, and scale intelligent AI agents.

Whether you want to earn revenue by introducing clients to our platform, build custom agents for your customers, or integrate white-label AI into your own product, we are here to support your growth.

#### Partnership Models

##### 1. Affiliate & Referral

Earn recurring revenue sharing for introducing new businesses and developers to our platform.

- Transparent tracking and payouts for referred subscriptions.
- Marketing assets and embeddable demos for your audience.

##### 2. Agencies & Solutions Integrators

Deliver tailored AI agent workflows and custom chat widgets for your clients.

- Direct developer support and roadmap input.
- Multi-client management and deployment assistance.

##### 3. White-Label & OEM

Integrate our agent orchestration and widget infrastructure directly into your product.

- Custom domain branding and custom themes.
- Dedicated routing, private models, and tailored enterprise SLAs.

#### Get in Touch

Interested in partnering with us? Reach out through our [Consulting](https://aish.li/en/docs/consulting.md) page. Please include a brief description of your business and the partnership model you would like to explore.

## API & Developer

### API Reference

Integrate AIsh.li agents, real-time streaming conversations, and conversational forms directly into your backends, mobile apps, or custom frontends.

All platform features accessible through the AIsh.li web portal are powered by our open, OpenAPI-documented REST API.

#### Authentication

Every API request requires an authorized API Key passed via the `X-API-Key` request header:

```http
X-API-Key: sk_live_...
```

To create and manage your API keys, read our complete guide on **[API Key Management](https://aish.li/en/docs/api-key.md)**, or generate a secret key directly in your dashboard under **[API Keys](https://aish.li/en/keys/api)**.

> [!CAUTION]
> Always treat your API keys as confidential secrets. Never expose them in public GitHub repositories or client-side frontend code. For public website integrations, use our secure [Embeddable Chat Widget](https://aish.li/en/docs/widget.md) with domain whitelisting instead.

#### Key Endpoints

| Endpoint               | Method | Description                                                                       |
| :--------------------- | :----- | :-------------------------------------------------------------------------------- |
| `/v1/responses`        | `POST` | Execute an agent turn with optional real-time Server-Sent Events (SSE) streaming. |
| `/v1/ai/agents`        | `GET`  | List all available demo and user-configured AI agents.                            |
| `/v1/ai/agents/{id}`   | `GET`  | Retrieve an agent's configuration, prompt, and tool settings.                     |
| `/v1/form`             | `POST` | Initialize a conversational form session and progressively validate fields.       |
| `/v1/form/{sessionId}` | `POST` | Submit the next user turn into an active form session.                            |

To configure per-agent tool step caps, per-turn credit budgets, output token caps, and timeout profiles, see [Agent Limits](https://aish.li/en/docs/limits.md).

#### Quickstart: Streaming Agent Chat

You can invoke any configured agent using standard HTTP clients (such as `curl`, Node.js `fetch`, Python `requests`, or the Vercel AI SDK).

##### Request Example (cURL)

```bash
curl -N -X POST 'https://api.aish.li/v1/responses' \
  -H 'X-API-Key: sk_live_...' \
  -H 'Content-Type: application/json' \
  -H 'Accept: text/event-stream' \
  -d '{
    "model": "demo/gemini",
    "stream": true,
    "input": [
      {
        "type": "message",
        "role": "user",
        "content": "What are three fun facts about Switzerland?"
      }
    ]
  }'
```

##### Response Stream (SSE)

The server streams Server-Sent Events in real time:

```text
data: {"type":"response.text.delta","delta":"1. Switzerland has over 1,500 lakes..."}

data: {"type":"response.text.delta","delta":"\n2. It has four official national languages..."}

data: {"type":"response.text.delta","delta":"\n3. CERN's Large Hadron Collider is located here..."}

data: {"type":"response.completed","usage":{"input_tokens":18,"output_tokens":72}}
```

#### Conversational Forms API

If you are building structured intake flows (such as customer onboarding, booking reservations, or lead generation), use our dedicated **[Forms API](https://aish.li/en/docs/form-api.md)**:

```bash
curl -X POST 'https://api.aish.li/v1/form?agent=demo%2Ftransport' \
  -H 'X-API-Key: sk_live_...' \
  -d 'John Doe, traveling from Paris to Rome tomorrow' \
  | jq .
```

The endpoint returns the updated form state, indicating which fields were recognized and what question the agent recommends asking next.

#### Interactive API Explorer

You can test every endpoint directly inside your browser using our Swagger-powered OpenAPI explorer:

👉 **Open the [Interactive API Reference](https://aish.li/en/docs/api)**

#### Starter Examples & AI Coding Skill

Browse runnable starter snippets — including [`examples/api/stream-response.mjs`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/api/stream-response.mjs) (Node.js SSE streaming), [`examples/api/conversational-form.sh`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/api/conversational-form.sh) (`curl` + `jq`), and [`skills/aish-li/SKILL.md`](https://github.com/aish-li/aish.li-integrations/blob/main/skills/aish-li/SKILL.md) — in [Integrations & Examples](https://aish.li/en/docs/integrations.md).

### Integrations & Examples

Copy-ready starter examples, framework wrappers, and an AI coding agent skill for AIsh.li in our official [`aish-li/aish.li-integrations`](https://github.com/aish-li/aish.li-integrations) repository under the [`aish-li` GitHub organization](https://github.com/aish-li).

#### Starter Examples

Browse and copy complete working starters directly from [`aish-li/aish.li-integrations`](https://github.com/aish-li/aish.li-integrations):

| Example                        | Use Case                                                                         | Source File                                                                                                                            |
| :----------------------------- | :------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------- |
| **Static HTML Embed**          | Minimal HTML5 page embedding `<ai-chat>`                                         | [`examples/html/index.html`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/html/index.html)                       |
| **React TypeScript Component** | Reusable `<AiChatWidget>` wrapper with JSX types and idempotent script loading   | [`examples/react/AiChatWidget.tsx`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/react/AiChatWidget.tsx)         |
| **Node.js SSE Streaming**      | Zero-dependency Node.js 20+ ESM script streaming `POST /v1/responses`            | [`examples/api/stream-response.mjs`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/api/stream-response.mjs)       |
| **Conversational Form CLI**    | Interactive `curl` + `jq` walkthrough for progressive `POST /v1/form` validation | [`examples/api/conversational-form.sh`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/api/conversational-form.sh) |

#### Framework Notes

Before deploying an embedded widget to production, whitelist every origin under [Widget Sites](https://aish.li/en/keys/widgets) and mark the target agent as **Public** on the [Agents](https://aish.li/en/agents) page (see the [Chat Widgets Guide](https://aish.li/en/docs/widget.md) for all `<ai-chat>` attributes):

- **Static HTML & CMS (WordPress, Webflow, Shopify)**: Paste `<script type="module" src="https://widget.aish.li/widget.js" async></script>` and `<ai-chat agent="your-account/your-agent"></ai-chat>` right before `</body>` (see [`examples/html/index.html`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/html/index.html)).
- **React & Next.js**: Copy [`examples/react/AiChatWidget.tsx`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/react/AiChatWidget.tsx) to load `widget.js` once inside `useEffect` and declare `'ai-chat'` in TypeScript JSX `IntrinsicElements`.
- **Vue**: Register `ai-chat` in your Vite/Vue config under `compilerOptions.isCustomElement: (tag) => tag === 'ai-chat'` so Vue treats `<ai-chat>` as a native custom element.
- **Astro**: Place the module `<script>` and `<ai-chat ... />` tags directly inside your `.astro` layout or page component.

For backend integrations with `POST /v1/responses` or `POST /v1/form`, generate a server-side secret on [API Keys](https://aish.li/en/keys/api) and follow the [API Reference](https://aish.li/en/docs/api) and [Forms API Guide](https://aish.li/en/docs/form-api.md).

#### AI Coding Agent Skill (SKILL.md)

The [`skills/aish-li/SKILL.md`](https://github.com/aish-li/aish.li-integrations/blob/main/skills/aish-li/SKILL.md) skill teaches AI coding assistants (GitHub Copilot, Claude Code, Cursor, Antigravity) how to wire up `<ai-chat>` embeds, OpenResponses SSE streaming, and JSON Schema conversational forms accurately.

Install it into your project's agent skills directory:

- **GitHub Copilot**: `.github/skills/aish-li/SKILL.md`
- **Claude Code**: `.claude/skills/aish-li/SKILL.md`
- **Antigravity / Open Agents**: `.agents/skills/aish-li/SKILL.md`

```bash
mkdir -p .agents/skills/aish-li
curl -fsSL https://raw.githubusercontent.com/aish-li/aish.li-integrations/main/skills/aish-li/SKILL.md \
  -o .agents/skills/aish-li/SKILL.md
```

AI tools and crawlers can also read our live [`llms.txt`](https://aish.li/llms.txt) index, [`llms-full.txt`](https://aish.li/llms-full.txt), and [OpenAPI 3.1 specification](https://aish.li/openapi/api.yaml).

#### Contributing & Support

Pull requests and [GitHub Issues](https://github.com/aish-li/aish.li-integrations/issues) are welcome on [`aish-li/aish.li-integrations`](https://github.com/aish-li/aish.li-integrations) for new starter examples, framework wrappers, and improvements to `SKILL.md`.

For account, billing, or platform support questions, please reach out via our [Contact page](https://aish.li/en/contact).

### API Keys

To [use our API](https://aish.li/en/docs/api), you need to [generate an API key](https://aish.li/en/keys/api).

Once you have your key, you can use it to authenticate your requests to our API.

With [`curl`](https://curl.se), you can use your API key to send messages and stream responses:

```bash
$ export AISH_API_KEY="sk_..."

$ curl -N -X POST 'https://api.aish.li/v1/responses' \
  -H "X-API-Key: $AISH_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: text/event-stream' \
  -d '{
    "model": "demo/gemini",
    "stream": true,
    "input": [
      {
        "type": "message",
        "role": "user",
        "content": "Hello!"
      }
    ]
  }'
```

or to list your agents:

```bash
$ curl -X 'GET' 'https://api.aish.li/v1/ai/agents?limit=3' \
  -H "X-API-Key: $AISH_API_KEY" \
  | jq .
```

A similar command is also shown after you click _Try it out_ and _Execute_ on the [API Reference](https://aish.li/en/docs/api).

Note that this `X-API-Key` header is different from the `Authorization: Bearer ...` header, which is used for OAuth2 token authentication on the interactive API docs only. The `X-API-Key` header is used instead of OAuth2 for API key authentication from your own backend systems.

> [!CAUTION]
> Your API Keys are sensitive and grant full access to your account without needing your login password—including your agents, session history, and settings.
>
> - Never share your API key publicly or commit it to Git repositories.
> - Never embed API keys in client-side HTML or JavaScript.
> - If you believe a key has been compromised, revoke it immediately using the trash icon on the [API Keys](https://aish.li/en/keys/api) page.

API Keys are only shown once when you create them. You will need to generate a new one if you lose it.

### AI Models

#### Supported Models

We currently support the following AI models:

| Model                     | API Model ID             | Notes                                 |
| :------------------------ | :----------------------- | :------------------------------------ |
| **Gemini 3.1 Pro**        | `gemini-3.1-pro-preview` | Best for complex reasoning and coding |
| **Gemini 3.8 Flash**      | `gemini-3.8-flash`       | Fast, general-purpose default         |
| **Gemini 3.5 Flash Lite** | `gemini-3.5-flash-lite`  | Lightweight and cost-efficient        |

You can always find the up-to-date list in the _Models_ drop-down of [Create New Agent](https://aish.li/en/agents/new).

#### Deprecated & Automatic Redirects

We regularly review and update supported models to keep up with newer generations.

Existing agents and API requests using retired model IDs are automatically redirected to their latest equivalents:

| Retired Model ID                                                                                         | Automatically Redirects To                          |
| :------------------------------------------------------------------------------------------------------- | :-------------------------------------------------- |
| `gemini-2.5-pro`                                                                                         | **Gemini 3.1 Pro** (`gemini-3.1-pro-preview`)       |
| `gemini-3.7-flash`, `gemini-3.6-flash`, `gemini-3.5-flash`, `gemini-3-flash`, `gemini-2.5-flash` | **Gemini 3.8 Flash** (`gemini-3.8-flash`)           |
| `gemini-3.1-flash-lite`, `gemini-2.5-flash-lite`                                                       | **Gemini 3.5 Flash Lite** (`gemini-3.5-flash-lite`) |

#### Additional Models

See [our Roadmap](https://aish.li/en/docs/roadmap.md#models) for upcoming models and providers.

#### Enterprise

Enterprise customers can run on-premise deployments of open-weights models for fully sovereign AI in air-gapped and disconnected environments under their full control. [Contact us](https://aish.li/en/contact) for licensing details.

### Agent Limits

Configure per-agent execution guardrails, per-turn credit budgets, output token caps, and timeout profiles under **Advanced → Limits** in the [agent editor](https://aish.li/en/agents) (or via the `limits:` object in the _Code_ YAML tab).

The **Advanced** section stays collapsed by default unless any limit is already configured.

```yaml
limits:
  toolIterations: 25
  turnCredits: 150
  outputTokens: 4096
  timeouts: batch
```

#### Max Tool Steps {#max-tool-iterations}

When an agent uses [tools](https://aish.li/en/docs/tools/index.md), tool calling runs in a loop for up to **7 tool execution rounds** per turn by default. Multiple tool calls returned together in a single model response count as one round.

If a task needs more steps and reaches this limit, the turn pauses cleanly as an amber **Continue** checkpoint instead of failing. You can click **Continue** right in the chat to resume from where the agent left off, or increase **Max Tool Steps** (from `1` up to `128`) under **Advanced → Limits** or via `limits.toolIterations` in YAML.

#### Max Turn Credits {#max-turn-credits}

To guard against runaway compute usage in deep agent loops, each turn enforces a default per-turn budget of **50 credits** ([BYOK](https://aish.li/en/docs/key.md) accounts using their own key are not subject to credit caps).

If a multi-step turn reaches this limit, it pauses as an amber **Continue** checkpoint so you can review intermediate progress and click **Continue** to proceed with a fresh per-turn budget. You can adjust **Max Turn Credits** (from `1` up to `1000`) under **Advanced → Limits** or via `limits.turnCredits` in YAML.

#### Max Output Tokens {#max-output-tokens}

Optionally caps the maximum number of output tokens per model response (`>= 1`) when set, subject to remaining credit affordability clamping (`limits.outputTokens` in YAML). Leave empty to use the selected [model](https://aish.li/en/docs/models.md)'s default.

#### Timeouts {#timeouts}

Selects the execution timeout and retry profile (`interactive` for fast conversational turns or `batch` for long-running worker agents via `limits.timeouts` in YAML). Leave unset to use automatic defaults (`batch` for configured coding runtimes, `interactive` otherwise).

### Forms API

> [!WARNING]
> This API is in alpha preview, and may be changed or removed in the future.

Progressive disclosure of form fields and validation of form data is supported by our Forms Interaction API.

[The Transport Demo Agent](https://aish.li/en/agents/demo/transport#code) illustrates how to use this feature;
please click on the _Code_ tab to see this Agent's YAML code, and note its [JSON Schema](https://json-schema.org) embedded in `output.schema.properties`.

[Create an API Key](https://aish.li/en/docs/api-key.md) to use the [Forms _Preview_ API](https://aish.li/en/docs/api?specs=form), e.g. with `curl`:

```bash
curl --no-progress-meter -X 'POST' 'https://api.aish.li/v1/form?agent=demo%2Ftransport' \
  -H 'X-API-Key: sk_...' \
  | jq .
```

returns:

```json
{
  "sessionID": "uXxvDmOLaYkGU0qIMpd359Q",
  "mapForm": {
    "nextQuestion": "Do you need a ride? Just let me know your origin, destination, day and time you're interested in!\n",
    "isFormComplete": false
  }
}
```

You can then use the returned `sessionID` to submit the user's input and progressively validate or disclose remaining fields, e.g.:

```bash
curl --no-progress-meter -X 'POST' \
  'https://api.aish.li/v1/form/uXxvDmOLaYkGU0qIMpd359Q?agent=demo%2Ftransport' \
  -H 'X-API-Key: sk_...' \
  -d 'John Doe, from Novello to Barolo' \
  | jq .
```

which will return:

```json
{
  "sessionID": "uXxvDmOLaYkGU0qIMpd359Q",
  "mapForm": {
    "data": {
      "origin_longitude": 7.9258,
      "origin_date_time": "2026-09-26T15:09Z",
      "destination_latitude": 44.6104,
      "origin": "Novello",
      "name": "John Doe",
      "destination": "Barolo",
      "destination_longitude": 7.9414,
      "origin_latitude": 44.5894
    },
    "isFormComplete": true
  }
}
```

> [!TIP]
> Ready to run this in your terminal? Copy the complete [`examples/api/conversational-form.sh`](https://github.com/aish-li/aish.li-integrations/blob/main/examples/api/conversational-form.sh) script from [`aish-li/aish.li-integrations`](https://github.com/aish-li/aish.li-integrations), or see [Integrations & Examples](https://aish.li/en/docs/integrations.md).

### User-Agent

[AIsh.li](https://aish.li/) is an AI agent platform. Outbound HTTP requests made by agents configured with **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)** or **[HTTP POST](https://aish.li/en/docs/tools/http-post.md)** identify themselves with the following `User-Agent` header:

```text
Mozilla/5.0 (compatible; AIsh.li/1.0; +https://aish.li/user-agent)
```

#### Traffic Behavior

- **User-Triggered Only**: Requests happen strictly on demand when a user or API caller invokes an agent. We do not run background web crawlers or scrape websites for model training.
- **Read-Only vs. Mutating Requests**: `GET` and `HEAD` requests come from **[HTTP GET](https://aish.li/en/docs/tools/http-get.md)**. `POST`, `PUT`, `PATCH`, and `DELETE` requests come from **[HTTP POST](https://aish.li/en/docs/tools/http-post.md)** and are restricted exclusively to signed-in or API-key authenticated accounts (never anonymous visitors) without automatic redirect following.
- **Safety & Isolation**: Outbound requests send no cookies, ignore `Set-Cookie` headers, prevent callers from overriding `User-Agent`, and enforce strict timeouts and payload bounds (1 MiB request / 2 MiB response).
- **HTTP Text Note**: Agents using **[HTTP Text](https://aish.li/en/docs/tools/fetch.md)** fetch pages through Google's server-side URL Context service rather than this `User-Agent`.

#### Contact for Site Operators

If you are a website or API operator with questions, allowlisting needs, or abuse reports, please reach out via our [Contact page](https://aish.li/en/contact).

## Enterprise

### GDPR & Swiss nFADP Compliant AI Chat Widget

Deploy an AI chat widget compliant with EU GDPR and Swiss nFADP. Zero model training, no ad or analytics cookies in embeds, EU Sentry hosting, and BYOK control.

For website operators in the EU, EEA, and Switzerland, the main compliance question is what happens on **your own site** when a visitor sees or uses `<ai-chat>`. This guide covers embedded widget architecture and rollout steps; full legal terms and platform-wide sub-processors live in our [Privacy Policy](https://aish.li/en/docs/privacy.md) and [Privacy Overview](https://aish.li/en/docs/private.md).

#### Embedded Widget vs. Portal Privacy (TDDDG § 25 / ePrivacy)

When you embed `<ai-chat>` on your site, visitors load an isolated sandbox build (`widget-app.html`) rather than the full `aish.li` management portal:

| Area                                | Embedded `<ai-chat>` Widget (`widget-app.html`)                            | Management Portal (`aish.li`)                            |
| :---------------------------------- | :------------------------------------------------------------------------- | :------------------------------------------------------- |
| **Google Analytics (`_ga`)**        | **Not loaded** on your visitors                                            | First-party proxied GA4, Consent Mode v2 (`ad_*` denied) |
| **Advertising / Cross-Site Pixels** | **None**                                                                   | **None**                                                 |
| **Sentry Session Replay**           | **Disabled** inside embeds                                                 | Masked client-side (`de.sentry.io`, EU)                  |
| **Browser Storage Used**            | Essential `anonymous_id` + chat state only                                 | Auth session, locale, currency, `anonymous_id`           |
| **Frame & Origin Security**         | Sandboxed iframe + CSP `frame-ancestors` for [Widget Sites](https://aish.li/en/keys/widgets) | Same-origin security headers                             |

Because embedded widgets omit Google Analytics, advertising tags, and Session Replay, browser storage is limited solely to keeping an active visitor chat or conversational form working across turns. Only origins explicitly allowlisted under [Widget Sites](https://aish.li/en/keys/widgets) can frame your public agent.

#### Website Operator Checklist (GDPR / revDSG / EU AI Act Art. 50)

Before enabling `<ai-chat>` on an EU, Swiss, or DACH website:

1. **Update Your Website Privacy Notice**: Disclose the embedded AI assistant, processing purpose, and infrastructure providers under Art. 13 GDPR / Art. 19 revDSG (nFADP).
2. **Keep AI Interaction Transparent (EU AI Act Art. 50)**: Name or greet visitors clearly as an AI assistant so automated interaction is obvious.
3. **Avoid Regulated Sensitive Categories**: Instruct agents not to solicit Art. 9 special-category data, payment card details, or data from minors under 16 without an Enterprise agreement (see [Terms of Service](https://aish.li/en/docs/terms.md)).
4. **Lock Down Widget Origins**: Register only your exact production domains in [Widget Sites](https://aish.li/en/keys/widgets).
5. **Select Paid BYOK If Bringing Your Own Key**: Enterprise [BYOK credentials](https://aish.li/en/secrets) must use a paid commercial cloud billing tier rather than a provider free tier ([free-tier caveats](https://aish.li/en/docs/key.md#free)).

> [!NOTE]
> This guide documents AIsh.li's technical behavior and configuration options and does not constitute legal advice. Verify your consent and privacy notice obligations (such as TDDDG § 25 in Germany) with your data protection officer or legal counsel.

#### Roles, Zero-Training & Sub-Processors

- **Controller / Processor Split**: You act as data controller for your website visitors; AIsh.li processes visitor chat interactions as a service provider / processor on your behalf.
- **Commercial Zero-Training & Sovereignty**: AIsh.li runs on paid commercial inference agreements with zero training or human review, plus Enterprise [BYOK](https://aish.li/en/docs/key.md) and [on-premise / air-gapped licensing](https://aish.li/en/docs/consulting.md) (see [Privacy Overview](https://aish.li/en/docs/private.md)).
- **Sub-Processors**: Anonymous visitor widget chats touch **Google Cloud** (Cloud Run, Firestore, commercial Gemini APIs), **Cloudflare** (CDN/edge delivery), and **Sentry EU** (`de.sentry.io` error diagnostics) — whereas Clerk, Stripe, and first-party portal analytics apply only to signed-in `aish.li` users. See the full breakdown in [Privacy Policy](https://aish.li/en/docs/privacy.md).

#### Frequently Asked Questions

##### Does embedding `<ai-chat>` require a cookie consent banner?

Embedded widgets do not load Google Analytics, ad pixels, or Session Replay, storing only an essential `anonymous_id` UUID strictly required to keep a visitor's active multi-turn conversation running. Confirm with your legal counsel whether that qualifies as strictly necessary storage under your local rules (e.g., TDDDG § 25(2) Nr. 2 or Art. 6 nFADP), particularly when the widget starts minimized until clicked.

##### Is AIsh.li suitable for companies in Germany, Austria, and Switzerland (DACH)?

Yes. Commercial zero-training terms, EU-hosted Sentry error telemetry (`de.sentry.io`), CSP origin allowlisting, paid [BYOK](https://aish.li/en/docs/key.md), and [on-premise options](https://aish.li/en/docs/consulting.md) are designed for EU GDPR and Swiss revDSG/nFADP compliance.

##### Can we connect a paid Google Cloud / Gemini API key for direct billing and contract terms?

Yes. On the [Enterprise plan](https://aish.li/en/pricing), add your commercial API key in [Your Secrets](https://aish.li/en/secrets) so inference routes under your own cloud terms. Avoid free-tier provider keys in production ([details](https://aish.li/en/docs/key.md#free)).

##### How do we request a Data Processing Agreement (DPA) or on-premise deployment?

See [Enterprise & Consulting](https://aish.li/en/docs/consulting.md) and [Pricing](https://aish.li/en/pricing), reach out via our [Contact page](https://aish.li/en/contact), or email support [at] aish.li.

### AI Key

#### BYOK

AIsh.li customers on [our Enterprise plan](https://aish.li/en/pricing) can Bring Your Own Key (BYOK):

1. Generate your _Gemini API Key_ on [Google AI Studio's API Keys](https://aistudio.google.com/api-keys) page.
1. Navigate to the _[Secrets](https://aish.li/en/secrets)_ page on the AIsh.li website.
1. Enter a new secret with `GEMINI_API_KEY` as Secret ID, and paste your Gemini API key as the _Secret Value._

Your AIsh.li agents will now execute model requests using your own Google credentials, bypassing AIsh.li credit consumption (and per-turn credit caps; see [Agent Limits](https://aish.li/en/docs/limits.md#max-turn-credits)).

> [!NOTE]
> This configuration refers to your Google AI Studio Gemini API key. It is completely separate from your [AIsh.li API Key](https://aish.li/en/docs/api-key.md), which is used to authenticate with AIsh.li platform endpoints.

#### Free Tier {#free}

Google AI Studio provides a free tier to access the Gemini API.

This tier is intended primarily for initial experimentation, prototyping, and personal evaluation.

**Important limitations and privacy considerations:**

- **Data Usage & Human Review**: Under Google's free-tier terms, Google may log, review (including via human reviewers), and use both your prompts (inputs) and generated responses (outputs) to train and improve its machine-learning models and products.
- **Rate Limits**: Free-tier keys are subject to strict limits on requests per minute (RPM), tokens per minute (TPM), and requests per day (RPD).
- **Compliance & Privacy Risk**: If your agents process confidential, proprietary, or personal data (such as visitor messages via embeddable chat widgets), using a free-tier key may violate your privacy policies or data protection obligations (such as GDPR or confidentiality agreements) due to Google's human review and model training terms.

#### Paid Tier (Recommended for Production)

For production workloads and business use, we strongly recommend enabling billing in Google AI Studio (or Google Cloud) to upgrade your Gemini API key to a **Paid tier**:

- **Enterprise Privacy & Zero Training**: Paid commercial tier usage is governed by Google Cloud's commercial terms, ensuring that Google does **not** use your prompts or responses to train AI models, and human reviewers do not access your data.
- **Higher Throughput & Reliability**: Removes daily request quotas and provides significantly higher RPM and TPM limits.
- **Commercial Compliance**: Allows you to confidently and compliantly use AIsh.li with a BYOK key for production agents and customer-facing chat widgets.

### Consulting

Reach out if you're hitting 🌋 HTTP 429 (Too Many Requests) because we've had to throttle you - we would be very happy to 🔓 increase quota for your 🔑 API key!

For enterprise customers requiring absolute digital sovereignty, we also offer this software as a robust on-premise deployment for air-gapped and disconnected environments under your full control. Reach out for a custom licensing consultation!

Expert guidance on AI infrastructure and optimization is available! Depending on your needs, we may be able to offer 💼 commercial support and consulting services.

Please [📧 contact us](https://aish.li/en/contact) to discuss.

## Legal

### Privacy Policy

AIsh.li respects your privacy and is committed to protecting your personal data and ensuring transparency.

_Last updated: [November 15, 2026](https://aish.li/en/docs/updates/privacy.md)_

#### Overview

This Privacy Policy explains how AIsh.li collects, uses, and safeguards information when you visit our website, use our AI agent runtime services, embed our chat widgets, or access our APIs.

When you use AIsh.li directly as a registered user, AIsh.li acts as the data controller for your account data. When you embed an AIsh.li chat widget on your own website, you act as the data controller for your website visitors, and AIsh.li processes visitor chat interactions as a service provider on your behalf.

#### Information We Collect

1. **Account Information**: When you sign in to AIsh.li (via our authentication provider, Clerk), we receive basic profile information such as your email address and authentication identifier.
2. **Conversation, Usage & Session Data**: To provide multi-turn conversational continuity, manage your configured agents, and prevent abuse, we process and store agent configurations, conversation session messages, token counts, request timestamps, client IP/origin metadata, and credit consumption.
3. **Widget Site Domains**: When you whitelist website domains to embed chat widgets, we store the allowed origin URLs to verify authorized embedding requests.

#### How We Use Your Data

- To authenticate your access and manage your subscription credits.
- To process and maintain conversations with your configured AI agents and connected tools.
- To enforce domain origin security, rate limits, and abuse prevention for APIs and embeddable widgets.
- To monitor platform performance, diagnose technical errors, analyze aggregated usage trends, and provide customer support.

#### AI Model Processing & Zero-Training Commitment

> [!IMPORTANT]
> **Zero Training on Your Data**: Your conversation prompts, inputs, and visitor messages are processed to generate AI responses and maintain your session history via commercial inference APIs (such as Google Gemini). AIsh.li does **not** use your prompts, conversations, or proprietary configurations to train or fine-tune AI models. (When using Bring Your Own Key, your third-party provider's terms apply; see [Free-tier BYOK keys](https://aish.li/en/docs/key.md#free).)

Upstream AI providers process inference requests under commercial data protection terms that prohibit training foundation models on paid API traffic (subject to standard provider safety and abuse monitoring). If you configure your own third-party API keys (BYOK) or external tools/webhooks, requests routed through those credentials are governed directly by your respective agreements with those providers. In particular, while paid commercial API tiers prohibit provider model training, third-party free tiers (such as Google AI Studio's free tier) permit the provider to use inputs and outputs for model training and human review (see [AI Key details](https://aish.li/en/docs/key.md#free)).

#### Third-Party Sub-Processors & Infrastructure

We rely on trusted third-party cloud infrastructure partners who act as our data sub-processors under strict contractual data protection agreements:

- **Stripe**: Payment processing and customer billing.
- **Clerk**: Secure identity management and user authentication.
- **Cloudflare**: Global content delivery network (CDN), DDoS mitigation, and edge worker routing.
- **Google Cloud**: Application hosting (Cloud Run), managed database storage (Firestore), and commercial AI inference APIs (Gemini) subject to enterprise zero-training data protection terms.
- **Google Analytics**: Aggregated website traffic, interaction telemetry, and cross-session analytics on our web portal (delivered through first-party edge proxying via Cloudflare Google Tag Gateway).
- **Sentry**: Error monitoring, crash diagnostics, distributed performance tracing, and privacy-masked session replay (hosted in the European Union via `de.sentry.io`).

#### Cookies & Analytics (Google Consent Mode v2)

AIsh.li uses browser storage and analytics to operate and improve the service:

- **Essential Local Storage & Authentication**: We use session tokens and browser `localStorage` keys (including a randomly generated `anonymous_id` UUID, UI language locale, and currency preference) strictly to maintain your signed-in state, preserve anonymous widget chat continuity, and remember preferences. We do not use third-party advertising cookies.
- **First-Party Analytics & Google Consent Mode v2**: We configure Google Analytics via Google Consent Mode v2 with first-party analytics storage enabled (`analytics_storage: 'granted'`) and all advertising and personalization storage denied by default (`ad_storage: 'denied'`, `ad_user_data: 'denied'`, `ad_personalization: 'denied'`). First-party analytics cookies (`_ga`) are used strictly to distinguish unique visitors and measure session continuity on our site, never for cross-site advertising or profiling. Measurement scripts and telemetry requests are routed through our own domain (`aish.li/gtag/...`) using Cloudflare's Google Tag Gateway edge proxy rather than directly to third-party endpoints. For signed-in users, we synchronize an opaque, pseudonymous Clerk user identifier (`User-ID`) without any personally identifiable details (no email or name) to measure retention and account usage across sessions. You can block or disable analytics at any time via browser settings or content blockers.
- **Error Monitoring & Privacy-Masked Session Replay (Sentry)**: We use Sentry (`*.ingest.de.sentry.io`, EU region) to diagnose client and server errors, trace request performance, and record diagnostic session replays on our web portal (session replay is disabled inside embedded chat widgets). Sentry does not set any cookies; when a portal session is sampled for replay (`10%` of sessions, or `100%` when an error occurs), it uses a temporary browser `sessionStorage` entry (`sentryReplaySession`) solely to maintain replay continuity within the active browser tab. Session replay runs with strict client-side masking enabled by default (`maskAllText: true`, `maskAllInputs: true`, `blockAllMedia: true`), replacing all on-screen text and user inputs with asterisks (`*`) in your browser before transmission so your prompts, chat messages, and secrets are never captured in replays. For signed-in portal users, telemetry is linked to your pseudonymous Clerk user ID and username (without your email address) to help troubleshoot account-specific issues. You can block client-side error and replay telemetry at any time via browser privacy shields or content blockers.

We do not sell your data to advertisers ourselves.

#### Data Retention & Your Rights

We implement technical and organizational security measures to protect your data, though no network transmission or electronic storage can be guaranteed to be 100% secure. Our services are not directed to children under 16.

You have the right to request access to, correction of, or deletion of your personal account data, subject to applicable legal exceptions (such as retaining mandatory billing/tax records, credit ledger audit logs, and security or fraud-prevention identifiers).

If you have questions about this policy or wish to request data deletion, please contact us at support [at] aish.li.

#### Changes to This Privacy Policy {#changes}

We may update this Privacy Policy from time to time to reflect new features, infrastructure sub-processors, operational practices, or regulatory requirements. Any revisions will be reflected in the "Last updated" date at the top of this page, and material changes are recorded in our [Privacy Policy Updates](https://aish.li/en/docs/updates/privacy.md) log. For material changes that expand how we process your personal data or introduce new core data sub-processors, we will provide reasonable advance notice (such as via a prominent notice in the application or by email to the address associated with your registered account) before the updated policy takes effect.

### Terms of Service

By using AIsh.li, you agree to these Terms of Service governing access to our platform, APIs, and embeddable widgets.

_Last updated: [November 15, 2026](https://aish.li/en/docs/updates/terms.md)_

#### Acceptance of Terms

These Terms of Service ("Terms") govern your use of the website, APIs, tools, and services provided by AIsh.li ("we", "us", or "our").

By accessing AIsh.li, creating an account, calling our APIs, or embedding our widgets, you agree to be bound by these Terms. You must be at least 16 years old and legally able to form a binding contract to use our services.

#### Platform Services

AIsh.li provides an AI agent platform that allows users to create, test, and manage conversational assistants, embed interactive chat widgets on authorized websites, and access structured conversational APIs.

#### Acceptable Use Policy

You agree not to use AIsh.li to:

1. Violate any applicable laws, regulations, or third-party rights.
2. Generate, distribute, or facilitate illegal, abusive, harassing, defamatory, or harmful content.
3. Distribute malware, viruses, phishing schemes, or spam.
4. Attempt to reverse engineer, scrape, disrupt, overload, or bypass security barriers, rate limits, or quota guardrails of AIsh.li or connected AI providers, or create multiple accounts to evade trial or billing limits.
5. Misrepresent the nature of an AI assistant by deceptively claiming it is a real human.
6. Process sensitive regulated data (such as protected health information, payment card numbers, or personal data of children) or operate life-critical, medical, emergency, or high-risk autonomous systems without a dedicated written Enterprise agreement.

#### Embeddable Widgets & Customer Responsibility

When embedding AIsh.li chat widgets on your websites or digital properties, or connecting external tools, webhooks, or third-party API keys (BYOK):

- You act as the data controller for your end visitors and are solely responsible for ensuring that your website provides all legally required privacy notices, disclosures, and visitor consents required to host the widget.
- You must keep your authorized origin domains updated on the Widget Sites settings page to prevent unauthorized usage.
- You are solely responsible for the instructions, prompts, knowledge sources, external tools (such as MCP servers), and API keys you configure, as well as any actions or third-party charges they incur.
- AIsh.li is not responsible for interactions, representations, or disputes between your website visitors and your custom-configured agents.

#### Subscriptions, Credits & Billing

- AIsh.li offers Free Trial and paid subscription plans powered by secure payment processing.
- Platform credits are a measurement of compute and token usage (including input, output, reasoning, and tool-execution tokens) and have no monetary or cash value, are non-transferable, and are non-refundable.
- To prevent runaway usage, AIsh.li enforces automated pre-flight balance checks, per-turn token and budget caps, and concurrency limits.
- Subscriptions can be managed or cancelled at any time through your account settings. Except where explicitly required by applicable law, all paid subscription fees and consumed credits are non-refundable.

#### AI Output & Warranty Disclaimer

> [!WARNING]
> AI model outputs are generated probabilistically. AIsh.li makes no warranties regarding the accuracy, completeness, reliability, or legality of AI- or LLM-generated responses or tool executions. Outputs do not constitute professional (legal, medical, financial, or tax) advice and cannot form binding commitments. You are solely responsible for evaluating and verifying AI outputs before relying on them.

THE SERVICES, APIS, AND WIDGETS ARE PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR UNINTERRUPTED, ERROR-FREE, OR SECURE OPERATION.

#### Limitation of Liability & Indemnification

To the fullest extent permitted by law, AIsh.li shall not be liable for any indirect, incidental, special, consequential, exemplary, or punitive damages, or for any loss of profits, revenue, data, or goodwill, arising out of or related to your use of or inability to use our services. In no event shall AIsh.li's total aggregate liability for all claims relating to the services exceed the greater of: (a) the total amount actually paid by you to AIsh.li in the one (1) month immediately preceding the event giving rise to the claim, or (b) USD $25.00.

You agree to defend, indemnify, and hold harmless AIsh.li from and against any third-party claims, liabilities, damages, losses, and expenses (including reasonable legal fees) arising out of or related to your custom agents, prompts, embedded widgets, website visitors, connected tools, or violation of these Terms or applicable law.

#### Suspension, Modifications & Contact {#modifications}

We reserve the right to suspend, throttle, or terminate access to our services at any time for suspected violation of these Terms, abuse, security risks, or non-payment, and to modify or discontinue features or update these Terms from time to time. Material revisions are recorded in our [Terms of Service Updates](https://aish.li/en/docs/updates/terms.md) log.

Non-material updates (such as clarifications, formatting changes, or terms governing newly launched features) take effect upon posting. For material changes that adversely affect your rights or obligations under these Terms, we will provide reasonable advance notice (such as via a prominent notice in the application or by email to the address associated with your registered account) before the revised Terms take effect, except where immediate changes are required for security, abuse prevention, or legal compliance. If you do not agree to the updated Terms, you must stop using our services and may cancel your subscription before the effective date; continued use of the platform on or after the effective date constitutes acceptance of the revised Terms.

If any provision of these Terms is held unenforceable, the remaining provisions will remain in full force and effect. For questions or inquiries regarding these Terms, contact us at support [at] aish.li.

### Privacy Policy Updates

Summary of material revisions and updates to the AIsh.li [Privacy Policy](https://aish.li/en/docs/privacy.md).

#### 2026-11-15

- **First-Party Analytics Cookies (Google Consent Mode v2)**: Updated Google Analytics on our web portal from cookieless mode (`analytics_storage: 'denied'`) to first-party analytics storage (`analytics_storage: 'granted'`), setting first-party `_ga` cookies via our Cloudflare Google Tag Gateway edge proxy (`aish.li/gtag/...`) strictly to distinguish unique visitors and measure session continuity, while keeping all advertising and cross-site profiling parameters denied (`ad_storage: 'denied'`, `ad_user_data: 'denied'`, `ad_personalization: 'denied'`).
- **Policy Update & Advance Notice Clause**: Added [Changes to This Privacy Policy](https://aish.li/en/docs/privacy.md#changes) specifying how revisions are logged on this page and committing to reasonable advance notice (via a prominent in-app notice or registered account email) for material processing or core sub-processor changes.

#### 2026-11-14

- **Error Monitoring & Privacy-Masked Session Replay (Sentry)**: Added **Sentry** (`de.sentry.io`, hosted in the European Union) as an infrastructure sub-processor for client and server error monitoring, distributed performance tracing, and diagnostic portal session replay (`maskAllText: true`, `maskAllInputs: true`, `blockAllMedia: true`, operating without cookies and disabled inside embedded chat widgets).

#### Initial Version {#initial}

- Published the initial AIsh.li [Privacy Policy](https://aish.li/en/docs/privacy.md) (October 2026), covering Clerk authentication and opaque `User-ID` session analytics, multi-turn conversation and widget origin storage, our commercial Zero-Training AI model commitment (and third-party free-tier BYOK distinction), Data Controller vs. Widget Service Provider roles, foundational cloud sub-processors (Stripe, Clerk, Cloudflare, Google Cloud, and Google Analytics), and user access, correction, and deletion rights.

### Terms of Service Updates

Summary of material revisions and updates to the AIsh.li [Terms of Service](https://aish.li/en/docs/terms.md).

#### 2026-11-15

- **Advance Notice for Material Updates**: Refined [Suspension, Modifications & Contact](https://aish.li/en/docs/terms.md#modifications) to distinguish non-material updates (clarifications or terms covering newly launched features, effective upon posting) from material changes that adversely affect user rights or obligations, committing to reasonable advance notice (via a prominent in-app notice or registered account email, with carve-outs for security, abuse prevention, or legal compliance) and confirming your right to cancel before the effective date.

#### Initial Version {#initial}

- Published the initial AIsh.li [Terms of Service](https://aish.li/en/docs/terms.md) (October 2026), governing platform access and age eligibility, the Acceptable Use Policy (including regulated-data restrictions), customer data-controller and indemnification obligations for embeddable widgets, external tools, and BYOK keys, non-refundable compute credits and automated quota guardrails, probabilistic AI output and `"AS IS"` warranty disclaimers, and the aggregate liability cap.
