Public runtime traffic
Website widgets, headless public sessions, visitor identity, page context, lead capture, and engagement events.
AgentShelf gives developers SDKs, widget embeds, headless runtime APIs, and integration patterns for bringing governed agents into websites, products, workflows, and external applications.
Use the surface that matches the experience you are building while keeping runtime behavior connected to the same AgentShelf control plane.
Add a hosted website agent with the existing widget script when you want the AgentShelf-provided shell, launcher, and visitor experience.
Use the browser SDK and public headless runtime when you want to design your own chat UI while relying on AgentShelf for sessions and streaming.
Build custom agent interfaces with SDK access to sessions, streamed responses, visitor identity, page traces, and lead capture helpers.
Connect agent experiences to external systems and workflows through approved runtime patterns instead of wiring every application directly to model providers.
Public-facing agent sessions can use guarded configuration, origin checks, runtime access controls, telemetry, and usage tracking without exposing administrative controls.
Website widgets, headless public sessions, visitor identity, page context, lead capture, and engagement events.
Model routing, usage telemetry, policies, runtime events, traces, and attribution connect runtime activity to the platform.
Agent configuration, admin controls, billing, workspaces, private context management, and governance settings.
Website agent traffic stays separate from authenticated platform administration while remaining governed and observable.
The browser-first AgentShelf widget SDK gives frontend developers access to the headless widget runtime without forcing the standard iframe, modal, launcher, or default UI shell.
import {
collectBrowserClientContext,
collectStream,
createWidgetClient,
} from '@agentshelf/widget-sdk';
const client = createWidgetClient({
siteId: 'widget_site_id',
apiBase: 'https://api.agentshelf.ai',
});
await client.ensureSession({
visitorFingerprint: 'anon-visitor-123',
clientContext: collectBrowserClientContext({
sessionTraceConsent: 'granted',
}),
});
const reply = await collectStream(
await client.streamMessage({
content: 'What can this agent help me with?',
}),
);Developers can create custom frontends, stream responses, pass approved external context, handle client-side continuations, and capture structured lead or workflow data through supported runtime APIs.
Render your own transcript, inputs, quick replies, streaming states, and errors while AgentShelf manages runtime sessions.
Embed an AgentShelf-powered agent inside a product workflow, portal, or customer experience.
Use runtime form signals and lead capture helpers to collect contact details, route follow-up, and preserve conversation context.
Evaluate configured engagement gates and show contextual prompts from your own UI.
Pass approved external context from the host app while keeping public sessions separate from administrative platform access.
Handle tool calls in the host application and continue the same assistant turn with validated tool results.
Developer integrations keep authenticated controls inside the platform, keep public runtime sessions governed, and keep runtime activity observable.
Restrict public runtime access to approved origins, expected host applications, and configured access rules.
Keep public-facing agent behavior aligned to approved configuration and safe response patterns.
Maintain runtime traces, usage records, and event visibility for debugging and governance review.
Public-facing agents run through controlled runtime sessions with telemetry, routing, and governance while private workspace access stays behind authenticated platform controls.
Bring AgentShelf-powered agents into your website, product, portal, or workflow without rebuilding session management, streaming, engagement, lead capture, telemetry, model routing, and governance infrastructure from scratch.