@agentpulselabs/agent-studio-client
v1.10.11
Published
Typed AppBridge client for the agent-studio app.
Readme
@agentpulselabs/agent-studio-client
Typed AppBridge client for the agent-studio app. Bridge-injected — no runtime dependency on agent-studio or @agentpulse/platform.
Install
npm i @agentpulselabs/agent-studio-clientUsage
import { createClient } from '@agentpulselabs/agent-studio-client';
const agent_studio = createClient(Platform.Bridge);
const result = await agent_studio.agentsGetByKey(payload);Operations (AgentStudio)
| Method | Op | Summary |
| --- | --- | --- |
| agentsGetByKey | agents:get-by-key | Resolve a team's agent by stable agent_key (team override wins, else the shipped blueprint); null when the key is unknown. avatar: 'pulse' | 'voice' | null (null = the platform default face). |
| agentsList | agents:list | The team's enabled agents (team rows shadow the shipped blueprints by agent_key), by name: id, agent_key, name, kind, provider_id, avatar. agent_key is what agents:get-by-key resolves. |
| blueprintsRegister | blueprints:register | Idempotently upsert a GLOBAL agent blueprint + its skill(s) from a self-describing |
| conversationsAppend | conversations:append | Append a turn to the caller's own conversation (else CONVERSATION_NOT_OWNED), or create a new one owned by the caller when no id is given. createdBy is accepted and ignored. |
| conversationsResume | conversations:resume | The transcript array of the caller's own conversation, or [] for any other id (unknown, a teammate's, no owner). |
| conversationsResumeOwn | conversations:resume-own | The caller's own conversation: { owned: true, transcript } when the caller created it, else { owned: false } (unknown, a teammate's, no owner, another team's — all alike). |
| runtimeExecute | runtime:execute | Run one agent turn (skill-aware tool loop). Streaming op — consume via bridge.stream(). |
| widgetActive_agents | widget:active_agents | Home-widget stat: the team's enabled purpose agents (team rows + un-overridden blueprints) of the pool total. |
| widgetActive_skills | widget:active_skills | Home-widget stat: the team's enabled skills (team rows + un-overridden blueprints) of the pool total. |
| widgetChat_hours | widget:chat_hours | When chats start over 30 days: weekday by 2-hour band, UTC (home widget). |
| widgetChats | widget:chats | Chats per day over 14 days, and by agent and by surface over 30 days (home widget). |
| widgetRecent_chats | widget:recent_chats | Home-widget list: the caller's own 5 most recently updated conversations. |
| widgetRegistry_tools | widget:registry_tools | Home-widget stat: count of the platform's non-deprecated operation catalog (tools available to agents). |
| widgetSkills_approval | widget:skills_approval | The team's skills (team rows + un-overridden blueprints) by approval policy (home widget). |
| widgetTool_calls | widget:tool_calls | Average tool calls per agent turn in the chats of the last 30 days, with a weekly spark (home widget). |
