Developer Docs
Everything you need to integrate Smart365Guide into your product.
ASDK · Agentic SDK
Giving an agent a URL does not connect its tools. Use the new ASDK setup to expose published browser paths through MCP or the browser SDK.
Read the ASDK integration guideIntegrate an SDK guide with your AI agent
Start with one web workflow in staging. Embedding the widget and connecting an external agent are separate setup steps. Your backend remains responsible for its data and permissions. The typed guide can be exposed to any compatible tool-calling agent through an MCP or custom adapter. Codex is the tested reference; Claude, ChatGPT and local model clients need their own adapter configuration and validation before making performance claims.
- Register the application. Create an account, open Dashboard → Applications, register your app and allowed domains, and copy its active embed license key.
- Publish a bounded action. In the Network Console, register your REST or MCP provider. Define exact input schemas, scopes, approval rules, workflow steps and an independent readback check. Publish only reviewed actions.
- Supply the app guide. Embed the SDK and list the published capability IDs. Provide only relevant, authorized context such as a selected record or timezone. Refresh that context when the app state changes.
- Connect an agent adapter. The adapter reads the licensed guide and retrieves the current authorized contracts from Smart365 MCP. Use the SDK helpers to create typed tools and compact execution arguments. Configure an MCP-capable client such as the tested Codex integration, or translate these contracts into your model client's tool-calling format in a custom adapter.
- Grant access and test. The user connects the provider account and grants scopes. Keep the delegated agent key in the adapter/server, never in browser code. Verify exact saved fields, replay safety and revocation in staging before production.
See the tested standalone FieldDesk integration source and measured comparison. The console records named agent keys, execution steps, approvals, outcomes, errors and verification timing for work through Smart365. Company-specific token usage requires metering in your agent/model adapter. Agent-key names do not verify a vendor identity or reveal an agent's private reasoning. Other model clients and native screens need their own adapter and validation.
Compact context and verified multi-step workflows
Declare the context fields each action needs, then use Smart365Guide.getAgentContext() to read just those fields. Reuse unchanged manifest revisions while reading live state afresh. Missing or oversized fields are listed explicitly, so the agent can ask for information instead of guessing.
The server SDK includes NetworkAgentClient. It reuses authorized contracts and runs an application-owned plan with durable checkpoints, stable retry keys and verified output bindings. A workflow pauses at approval or uncertainty and advances only after a verified receipt. Your application supplies the private job store and defines the final business-state check.
import { NetworkAgentClient } from '@smart365guide/sdk-agent';
const agent = new NetworkAgentClient({ key: process.env.S365_NETWORK_KEY });
const result = await agent.runWorkflow({
requestId: savedBusinessRequestId,
steps: reviewedWorkflowSteps,
checkpoint: await jobStore.read(savedBusinessRequestId),
saveCheckpoint: value => jobStore.save(savedBusinessRequestId, value)
});
// Resume with the same request and plan after owner approval.
// Earlier completed actions are not rolled back if a later step fails.Network Console groups actual recorded steps and their verification states. Plan labels are integration-reported. External model tokens remain not measured. This release does not establish new performance savings or a Google integration.
Private agent information exchange
Register an application-bound agent in Agent Exchange. The provider publishes a typed information contract and shares an invitation with the requesting company. Both administrators approve the named agents, purpose, fields, lifetime and request budgets before information can flow.
The separate server-agent SDK is included in the downloadable package. Keep its exchange key on your server. Your provider worker polls its private inbox, checks record-level authorization in your own application and replies with only approved fields. The gateway queues information; it does not host an AI model or execute business actions.
Exchange MCP endpoint: https://www.smart365guide.com/api/v1/agent-exchange/mcp. Requests expire after 30–600 seconds. Either company can revoke sharing; package, application and credential permissions are checked throughout. Treat returned values as untrusted data. Registered credentials identify integrations, not proven AI model identities or independently verified answers.
Quickstart
SDK Reference
Browser and app compatibility
Use the same script in React, Vue, Angular, Svelte, Rails, WordPress or a plain HTML app. The SDK uses browser APIs and license headers, and does not require third-party cookies or persistent storage. Dashboard sign-in requires first-party cookies. Speech recognition depends on browser support; typed input remains available.
For Electron, Tauri, WebView2 and mobile WebViews, load a registered HTTP or HTTPS app origin with JavaScript enabled. A sandboxed frame needs script and same-origin permissions. Native screens without a DOM require a platform adapter or the authenticated REST/MCP gateway; the browser widget cannot inspect them directly.