qbraid_core.services.agents
Module providing client and utilities for the qBraid Agents service.
Classes
|
Client for interacting with the qBraid Agents service. |
|
Manages the local agent session registry at ~/.qbraid/sessions.json. |
Schemas
|
Full agent session model. |
|
Lightweight session projection for list views. |
|
A task tracked by an agent (e.g. Claude task list). |
|
A single parsed transcript event. |
|
Git repository metadata for a session's working directory. |
|
MCP server connection info. |
|
Root model for the sessions.json file. |
|
Supported AI coding tool identifiers. |
|
Agent session status. |
Functions
|
Discover agent sessions by scanning CLI tool files. |
|
Detect the status of an AI agent session from file-based signals. |
Install hooks for all supported CLI tools. |
|
Remove qBraid hooks from all supported CLI tools. |
|
|
Parse a transcript file using the registered parser. |
|
Decorator to register a transcript parser. |
Exceptions
|
Base exception for agent service errors. |
|
Exception raised when an agent service API request fails. |
|
Exception raised when a session is not found. |
|
Exception raised for registry read/write failures. |
|
Exception raised when process discovery fails. |
|
Exception raised when transcript parsing fails. |
|
Exception raised when hook installation fails. |