Skip to content

Getting Started — Agentic Chatbot

Getting Started with iSparkClaw Agentic Chatbot

Section titled “Getting Started with iSparkClaw Agentic Chatbot”

Welcome to the iSparkClaw Agentic Chatbot — your AI-powered assistant for writing, editing, and automated document management.

Open iSparkClaw in your browser. The app will load at the root URL (/).

If your deployment has authentication enabled, you will be redirected to the Login page (/login).

Chatbot Login

  • SSO/OIDC Login: Click your organization’s SSO provider button to sign in.

SSO Login

  • No Authentication: If auth is not configured, you will be taken directly to the chat interface.

After successful login, you can view authentication debug logs at /oidc-log (useful for troubleshooting).

The interface is organized into three main areas:

Chatbot Main Interface

┌──────────┬──────────────────────────┬───────────────┐
│ │ │ │
│ Sidebar │ Chat Area │ Workspace │
│ (left) │ (center) │ Panel (right)│
│ │ │ │
│ - Chats │ - Messages │ - File tree │
│ - Tasks │ - Composer (input) │ - Preview │
│ - Skills│ - Top bar │ - Editor │
│ - Memory│ │ - Git info │
│ - Spaces│ │ │
│ - Profiles│ │ │
│ - Todos │ │ │
│ │ │ │
└──────────┴──────────────────────────┴───────────────┘

The sidebar contains 7 tabbed panels, each providing a distinct feature area. Panel data is lazy-loaded on first access for performance.

The conversation management panel.

  • Displays all sessions sorted by most recent.
  • Each entry shows the session title, active model, and relative timestamp (e.g., “5m ago”).
  • The active session is highlighted.
  • Unread sessions show an indicator dot.

Type in the search field at the top to filter sessions by title.

Click the ”+ New conversation” button to start a fresh session. A new session is also created automatically when you send your first message.

Manage scheduled cron jobs for automated prompt execution.

  1. Click “New Task”.
  2. Fill in the fields:
    • Name: A descriptive name for the job.
    • Schedule: A cron expression (e.g., 0 9 * * 1) or natural language (e.g., every 1h, daily at 9am).
    • Prompt: The message to send to the AI when the job runs.
    • Delivery: Choose how to receive results:
      • Local: Results appear within iSparkClaw.
      • Discord: Send results to a Discord channel.
      • Telegram: Send results to a Telegram chat.
  3. Click Create.

Each job in the list shows its name and schedule. Click a job to expand details:

  • Schedule: The cron expression or natural language schedule.
  • Next run: When the job will next execute.
  • Last run: When the job last ran.
  • Prompt: A snippet of the prompt text.
  • Run: Execute the job immediately.
  • Pause: Temporarily disable the schedule.
  • Resume: Reactivate a paused job.
  • Edit: Modify job settings.
  • Delete: Remove the job permanently.
  • View last output: See the result of the most recent run.
  • View run history: Browse all past executions and their outputs.

The Tasks panel auto-refreshes every 30 seconds when active.

Create and manage custom AI skills defined by SKILL.md files.

  • Skills are grouped by category.
  • Use the search field to filter skills by name, description, or category.
  • Click a skill to open its SKILL.md content in the Workspace Panel for preview.
  1. Click “New Skill” or the edit icon on an existing skill.
  2. Fill in the fields:
    • Name: The skill name.
    • Category: Grouping category (e.g., “Analysis”, “Generation”).
    • SKILL.md Content: The skill definition in YAML frontmatter + markdown format.

A SKILL.md file uses YAML frontmatter followed by markdown content:

---
name: my-skill
description: What this skill does
category: Analysis
---
# My Skill
Detailed instructions and context for the AI...

Manage persistent memory that the AI references across sessions.

User-editable memory entries. Add notes about preferences, project context, or anything you want the AI to remember.

An auto-generated profile built from conversation history. The AI uses this to personalize responses. It updates automatically as you interact.

  • Click Edit to enter edit mode for notes.
  • Use the textarea to modify content.
  • Click Save to persist changes or Cancel to discard.

Configure which directories the AI has access to.

  1. Type a directory path in the input field.
  2. Use autocomplete suggestions (press Tab to complete).
  3. Press Enter or click Add to add the path.
  • Added paths appear in a list.
  • Click the remove (x) icon next to a path to delete it.
  • The current workspace is indicated with a highlight.

Click on a workspace path to switch the current session to that workspace. If no session exists, one is created automatically.

Manage agent profiles — configurations that determine which AI model and API to use.

Each profile shows:

  • Name: Profile identifier.
  • Model: The AI model name.
  • Provider: The API provider (e.g., OpenAI, Anthropic).
  • Skill count: Number of skills available to this profile.
  • API keys status: Whether API keys are configured.
  • Gateway status: Whether the local gateway is running or stopped.

Click a profile to activate it. The active profile is highlighted.

  1. Click “New Profile”.
  2. Fill in the fields:
    • Name: Profile name.
    • Clone from: Optionally clone settings from the active profile.
    • Base URL: The API endpoint URL.
    • API Key: The authentication key for the API.
  3. Click Create.

Click the delete icon on a profile to remove it. The default profile cannot be deleted.

A task list automatically extracted from tool messages in the current session.

Tasks display status icons:

  • Pending — Not yet started
  • In Progress — Currently being worked on
  • Completed — Finished successfully
  • Cancelled — Aborted

The Todos panel reflects the state of tool-call-generated tasks within the active conversation.

The main conversation area:

  • Top Bar: Shows session title, message count, mobile menu toggle, and Files button to open/close the workspace panel.
  • Messages: Displays the conversation history with streaming responses.
  • Composer: The message input area at the bottom with file attachment, model selector, and workspace selector.

A file browser and editor for your configured workspace directories. Open it by clicking the Files button in the top bar. See Workspace Panel for details.

On first load, iSparkClaw performs these steps automatically:

  1. Checks authentication status
  2. Loads saved settings (theme, skin, font size) from localStorage
  3. Fetches available AI models
  4. Restores your last active session (if previously saved)
  5. Loads the session list

The interface appears once boot is complete. If authentication expires (401), you are redirected to login.

If the backend API is unreachable, the app still loads (it does not block on API failures). This allows development and offline use. Features requiring the backend will show errors when unavailable.

The chat interface is the core of iSparkClaw. It supports streaming AI responses, file attachments, model switching, and contextual workspace awareness.

The composer is the input area at the bottom of the chat.

  1. Type your message in the text area.
  2. Press Enter to send.
  3. The text area auto-resizes as you type.

You can attach files to your messages in three ways:

  • Drag and drop: Drop files onto the chat area.
  • Paste: Paste images or files directly into the composer (Ctrl+V / Cmd+V).
  • File picker: Click the attachment icon to browse files.

Attached files appear in a tray above the input. You can remove them before sending. A progress bar shows upload status.

Click the model chip (e.g., “gpt-4”) above the composer to open a dropdown of available models. Models are grouped by provider. You can search within the dropdown to find a specific model quickly.

The selected model is used for the current session.

Click the workspace chip to open a dropdown of configured workspace directories. Selecting a workspace gives the AI context about the files in that directory. If no session exists, one is created automatically when you switch workspaces.

Type / in the composer to open the command palette. Available commands:

CommandDescription
/helpShow help information
/clearClear the current conversation
/summarizeSummarize the conversation
/searchSearch within context
/codeCode-related operations
/imageImage generation

Select a command with arrow keys and press Enter, or continue typing to autocomplete.

Responses stream in real-time via Server-Sent Events (SSE). You see text appear word by word as the model generates it.

Some models include reasoning or thinking steps. These appear in collapsible blocks labeled “Reasoning” or “Thinking”. Click to expand or collapse them.

When the AI uses tools (file operations, search, code execution, etc.), tool calls are displayed inline with status badges:

  • Running (blue) — Tool is currently executing
  • Done (green) — Tool completed successfully
  • Error (red) — Tool failed

Some tools require your approval before execution. An approval card appears in the message flow with options:

  • Approve Once — Allow this single invocation
  • Approve Session — Allow this tool for the rest of the session
  • Approve Always — Always allow this tool (persisted)
  • Deny — Block this invocation

The AI may ask you to clarify intent. A clarification card presents predefined choices or a free-text input. Select or type your response to continue.

When conversations become long, the system may auto-compress earlier context. A notification appears when compression occurs.

  • Click ”+ New conversation” in the Chats panel.
  • Or use the keyboard shortcut Cmd/Ctrl+K.

The Chats panel shows all your sessions with:

  • Title: Auto-generated from the first message or manually set.
  • Model indicator: Shows which model the session uses.
  • Relative timestamp: e.g., “5m ago”, “2h ago”, “3d ago”.
  • Unread indicator: Highlights sessions with new activity.

Use the search/filter input at the top of the Chats panel to find sessions by title.

The currently active session is highlighted in the list. All messages, model selection, and workspace context apply to the active session.

The interface handles common errors gracefully:

  • Rate limit exceeded: A notification appears with guidance to wait.
  • Quota exhaustion: A message indicates the quota has been reached.
  • Authentication mismatch: You may be redirected to re-authenticate.
  • Backend unavailable: Error messages indicate the API is unreachable.

While a response is streaming, a Stop button appears in the composer. Click it to cancel the current response mid-stream.