
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@agentskit/chat
Advanced tools
Framework-neutral application definitions for AgentsKit Chat.
Actionable choices use createActionConfirmation, which delegates validation, canonical confirmation state, approval, denial, and execution to AgentsKit.
Use createCapabilityPolicy and withActionPolicy to default-deny actions from trusted session capabilities while keeping enforcement in AgentsKit.
The package also provides session-scoped deterministic routes and explicit conversation-state projections while unresolved turns stay on the upstream AgentsKit controller. Conversation definitions compile to published @agentskit/statechart; this package retains application routing and session composition rather than implementing another transition engine.
const definition = defineChat({ id: 'support', chat: agentskitChatConfig })
defineChat preserves the upstream ChatConfig; it does not create another runtime.
Use resumeChatSession(definition, { sessionId, storage }) for cross-client application metadata and pass the returned session to any renderer. Keep messages in definition.chat.memory using upstream ChatMemory.
The package also owns the runtime-validated semantic fallback envelope shared by native renderers:
const fallback = parseSemanticFallback({ kind: 'chart', summary: 'Revenue rose 12%.' })
formatSemanticFallback(fallback)
// [unsupported visual: chart] Revenue rose 12%.
Custom application UI is declared through defineComponentManifest. The first schema-backed component is ChoiceListComponent; untrusted frames must pass resolveComponentFrame before rendering.
Shared Ask-service hosts use createAskAdapter and createAskSessionMemory. The adapter owns the validated NDJSON boundary and ordered text/source projection; memory composes @agentskit/memory/web-storage rather than implementing another message store. See docs/protocol/ask-service.md.
To answer exact local facts before Ask or another backend, verify the artifact and compose createDeterministicAnswerAdapter({ artifact, expectedContentHash, expectedSiteId, fallbackMode, fallback }). Wire its resolveChoiceSubmission into definition.choiceSubmission so only adapter-projected, single-use choices can submit their visible alias. One exact match renders locally, ambiguity exposes visible unique choices across all seven renderers, disabled fallback never calls the backend, and bounded successful backend streams receive the same answer envelope on completion. The contract is accepted in ADR-0024; see docs/protocol/deterministic-answers.md.
FAQs
Cross-framework application definitions for AgentsKit Chat.
The npm package @agentskit/chat receives a total of 275 weekly downloads. As such, @agentskit/chat popularity was classified as not popular.
We found that @agentskit/chat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.