In-App AI Assistant

Click AI Assistant in the top-right header anywhere in hibase to open the AI side panel.

The panel stays open as you navigate across workflows, databases, queries, connectors, and settings. Use the Expand button in the panel header (or press Escape to restore) to switch seamlessly between the side drawer and a full-window workspace view.

Setup (BYOK)

hibase uses Bring Your Own Key (BYOK) so your workspace stays in control of provider billing and data handling:

  1. Open Settings → AI Assistant (admins only).
  2. Enable the assistant toggle and pick a provider:
    • Anthropic Claude (claude-sonnet-5-5, Opus/Haiku/Sonnet variants)
    • Google Gemini (gemini-4-argon, Gemini Pro/Flash variants)
    • OpenAI (gpt-6.2-sol, OpenAI reasoning/chat variants)
  3. Paste your provider API key and pick a default model.

    Anthropic key note: Create a standard Console API key (sk-ant-api...) at console.anthropic.com/settings/keys. Claude Code OAuth setup tokens (sk-ant-oat...) are rejected by the Anthropic Messages API.

  4. Configure optional Thinking and Thinking effort defaults (low, medium, high, max).
  5. Select the MCP scopes the assistant may use and click Save.

Your API key is encrypted at rest, shown only in masked form (••••1234) in settings, and never exposed in chat logs or tool outputs.

Key Capabilities

Page-Aware Context

The assistant automatically sees which page you are currently viewing (such as an individual workflow, database, table, saved SQL query, or connector) and prefetches focused metadata for that entity on your first turn in that view—while avoiding expensive workspace-wide scans on list pages.

Clickable Workflow Snippets & Live UI Sync

  • Inline workflow chips: Whenever the assistant mentions a workflow ([Workflow Name](/etlWorkflows/<id>)), it renders as a clickable pill showing live status (Active / Inactive), run state, and folder path.
  • Post-CRUD workflow summary cards: After any create_or_update_workflow, run_workflow, or stop_workflow call, a summary footer lists all created, updated, triggered, or stopped workflows with schedule and status details. Clicking any chip or card navigates directly to that workflow while keeping the chat open.
  • Immediate UI reflection: Creating or updating a workflow, saved SQL query, or saved connector query immediately invalidates the frontend cache so lists and non-dirty edit forms reflect changes without refreshing the browser.

Confirmation Before Workflow Changes

Whenever you ask the assistant to build or modify a pipeline:

  1. It runs read-only inspections first (list_workflows, get_workflow, list_databases, get_table_schema, connector endpoints).
  2. It presents a structured summary of the proposed workflow, step-by-step additions/edits/removals, inline queries (data_source_attributes / filter_query_attributes), and a version-control commit_message.
  3. Only after your explicit confirmation does it call create_or_update_workflow.

Inline Query Authoring Without Gaps

You do not need to save standalone SQL or Connector queries before creating a workflow step. The assistant embeds:

  • data_source_attributes (SqlQuery with database_id + sql_statement, or ConnectorQuery with connector_subscription_id, connector_endpoint_id, endpoint_params_attributes, response_selectors_attributes, and limit)
  • filter_query_attributes (database_id + sql_statement for step-level parameter / filter queries)

directly inside steps_attributes[] on create_or_update_workflow. Standalone saved queries can also be managed with create_or_update_sql_query and create_or_update_connector_query.

File Attachments

Attach reference screenshots, architecture diagrams, PDFs, .sql, .csv, .json, or log files directly in chat:

  • Up to 5 files per message
  • Maximum 5 MB for images/PDFs and 200 KB for text files
  • Attachments are forwarded directly to your configured AI model for that turn and are not stored on hibase servers.

Large Workspaces, Ceilings & Reliability

hibase enforces multi-layer protections so large workspaces with hundreds of workflows stay fast and predictable:

  • Step-by-step inspection: The assistant discovers filtered, paginated workflow summaries first and fetches full step details only for relevant workflows.
  • Bounded tool outputs: Oversized tool results are automatically truncated so large responses stay within model context limits.
  • Clear limit notices: If a long turn approaches model output or step limits, the assistant wraps up with a summary and displays an explicit notice in chat rather than stopping silently.
  • Reliable long turns: Multi-step investigations stay connected across long tool runs and display a clear recovery notice if a stream is interrupted.