API index ​
This page is a link-first map of the currently available APIs.
Detailed API breakdowns, examples, and composition guidance live on the individual package pages under docs/packages/. This page helps you find the right package quickly instead of forcing every export detail into one long reference blob.
Status notes ​
- Published means the package is live on npm now.
- Private means the package is repo-internal.
- Future agentic tooling described in
plan/remains roadmap material until package code exists.
Runtime and orchestration ​
@agentsy/core/processor—LLMStreamProcessor,createProcessorEventAdapter,ToolCallParser,ZAiInlineToolCallParser,createSmoothStream,createThinkingFilter,createToolCallFilter@agentsy/providers— provider package root for adapters, normalizers, pipeline helpers, and universal-client abstractions@agentsy/providers/normalizers—normalizeOpenAIChatChunk,normalizeOpenAIResponseEvent,normalizeAnthropicEvent,normalizeGeminiChunk,normalizeMistralChunk,normalizeOllamaChatChunk,normalizeOpenAICompatibleChunk, more provider helpers@agentsy/providers/pipeline—createPipeline,PipelineEvent,NormalizerProvider@agentsy/orchestrator/agent—createAgentLoop,detectDoomLoop,finishReasonIs,hasNoToolCalls,isStepCount@agentsy/providers/adapters—createGenericAdapter,processStream,processRawStream,runStructuredDecisionFromRawStream,applyDecisionAction, provider adapter helpers@agentsy/renderers—createPlainTextRenderer, shared renderer types and utilities
Parsing and shaping utilities ​
@agentsy/core/thinking—ThinkingParser@agentsy/core/tool-calls—extractXmlToolCalls,ToolCallAccumulator,buildNativeToolsPayload,buildToolResultMessage,buildXmlToolSystemPrompt@agentsy/core/structured—parseJson,validateJsonSchema,buildFormatInstructions,buildRepairPrompt,streamJson,autoRepair,providerFormats,repairStateMachine,fieldValidator,zodAdapter@agentsy/core/context—splitLeadingXmlContextBlocks,dedupeXmlContextBlocksByTag,stripXmlContextTags@agentsy/core/formatting—appendToBlockquote,formatXmlLikeResponseForDisplay,sanitizeNonStreamingModelOutput@agentsy/core/recovery—captureStreamState,buildContinuationPrompt@agentsy/core/xml-filter—createXmlStreamFilter,tagLists,XmlStreamFilter@agentsy/core/sse—SSEParser,parseSSEStream@agentsy/types— shared conversation, stream, tool-call, and usage types@agentsy/context—createTokenLedger,createInMemoryTokenManager,compressConversation,PacingController
State and integration surfaces ​
@agentsy/ui—createConversationStore,createConversationStoreFromProcessor,bindProcessorToConversationStore,applyConversationEvent@agentsy/runtime/ag-ui—toAgUiStream,convertEventStream,createEventConverter,toCopilotKitEvent,toCustomUIEvent,StateManager,InterruptController,toObservable@agentsy/vscode—createVSCodeAgentLoop,createVSCodeChatRenderer,BaseLanguageModelChatProvider,ApiKeyManager, settings, usage, and MCP helpers
Private verification package ​
@agentsy/testing— repo-only cross-package integration verification coverage