@agentpulselabs/agent-studio-client
v0.2.0
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). |
| blueprintsRegister | blueprints:register | Idempotently upsert a GLOBAL agent blueprint + its skill(s) from a self-describing |
| conversationsAppend | conversations:append | Append a turn to an existing conversation, or create a new one when no id is given. |
| conversationsResume | conversations:resume | The full transcript array for a conversation (RLS-scoped), or [] if none. |
| 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. |
| widgetRecent_chats | widget:recent_chats | Home-widget list: the team's 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). |
