@n8n/agents breaking changes
Updated December 4, 2026
On this page
Latest version 1.5.3, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 0.34.2 to 1.5.0: 208 breaking changes in 9 versions.
- From 0.34.0 to 1.5.0: 225 breaking changes in 10 versions.
@n8n/agents 1.5.0 breaking changes
- Signature changed
GuardrailDecision
Was type GuardrailDecision = {action: 'allow';} | {action: 'stop'; code: string;}; now type GuardrailDecision = {action: 'allow';} | {action: 'stop'; code: string;} | {action: 'redact'; code: string; value: unknown;}. npmjs.com - Signature changed
ModelGuardrail.before
Was before?(ctx: GuardrailModelCallContext): Promise<GuardrailDecision | undefined>; now before?(ctx: GuardrailModelCallContext): Promise<GuardrailModelCallDecision | undefined>. npmjs.com
@n8n/agents 1.4.1 breaking changes
- Signature changed
AgentEventData
Was type AgentEventData = {type: AgentEvent.AgentStart;} | {type: AgentEvent.AgentEnd; messages: AgentMessage[];} | {type: AgentEvent.TurnStart;} | {type: AgentEvent.TurnEnd; message: AgentMessage; toolResults: ContentToolCall[];} | {type... npmjs.com - Signature changed
APPROVAL_SUSPEND_SCHEMA
Was const APPROVAL_SUSPEND_SCHEMA: z.ZodObject<{type: z.ZodLiteral<"approval">; toolName: z.ZodString; displayName: z.ZodOptional<z.ZodString>; supportsSessionApproval: z.ZodOptional<z.ZodBoolean>; args: z.ZodUnknown;}, "strip"... npmjs.com - Signature changed
StreamChunk
Was type StreamChunk = ContentMetadata & ({type: 'input-boundary'; acknowledge: () => void;} | {type: 'input'; message: AgentDbMessage;} | {type: 'start-step';} | {type: 'finish-step';} | {type: 'usage'; usage: TokenUsage; model: string;}... npmjs.com
@n8n/agents 1.4.0 breaking changes
- Removed
BuiltMemory.skillState
BuiltMemory.skillState was removed in @n8n/agents 1.4.0 npmjs.com - Removed
ContextCueRequest.isSkillActive
ContextCueRequest.isSkillActive was removed in @n8n/agents 1.4.0 npmjs.com - Removed
InterruptibleToolContext.loadSkill
InterruptibleToolContext.loadSkill was removed in @n8n/agents 1.4.0 npmjs.com - Removed
ObservationCapableMemory.skillState
ObservationCapableMemory.skillState was removed in @n8n/agents 1.4.0 npmjs.com - Removed
RUNTIME_SKILL_LIFETIMES
RUNTIME_SKILL_LIFETIMES was removed in @n8n/agents 1.4.0 npmjs.com - Removed
RuntimeSkillContextUsage
RuntimeSkillContextUsage was removed in @n8n/agents 1.4.0 npmjs.com - Removed
RuntimeSkillLifetime
RuntimeSkillLifetime was removed in @n8n/agents 1.4.0 npmjs.com - Removed
RuntimeSkillPolicyContract.lifetime
RuntimeSkillPolicyContract.lifetime was removed in @n8n/agents 1.4.0 npmjs.com - Removed
RuntimeSkillSource.onContext
RuntimeSkillSource.onContext was removed in @n8n/agents 1.4.0 npmjs.com - Removed
RuntimeSkillState
RuntimeSkillState was removed in @n8n/agents 1.4.0 npmjs.com
And 7 more in this version. Sign up to see every change
@n8n/agents 1.3.0 breaking changes
- Signature changed
ModelGuardrail.afterTool
Was afterTool?(ctx: GuardrailToolCallContext, result: unknown): Promise<void>; now afterTool?(ctx: GuardrailToolCallContext, result: unknown): Promise<GuardrailDecision> | Promise<void>. npmjs.com
@n8n/agents 1.2.1 breaking changes
- Removed
RuntimeSkillIndexEntry.recommendedTools
RuntimeSkillIndexEntry.recommendedTools was removed in @n8n/agents 1.2.1 npmjs.com - Signature changed
AgentBuilder.deferredTool
Was deferredTool(t: BuiltTool | BuiltTool[], options?: {search?: {topK?: number;};}): this; now deferredTool(t: BuiltTool | BuiltTool[], options?: {search?: {topK?: number;}; group?: string; groupDescription?: string;}): this. npmjs.com - Signature changed
APPROVAL_RESUME_SCHEMA
Was const APPROVAL_RESUME_SCHEMA: z.ZodObject<{approved: z.ZodBoolean; scope: z.ZodOptional<z.ZodEnum<["once", "session"]>>;}, "strip", z.ZodTypeAny, {approved: boolean; scope?: "once" | "session" | undefined;}, {approved: boolean; scope?... npmjs.com - Signature changed
ObservationLogObserverMemory
Was interface ObservationLogObserverMemory extends BuiltMemory, BuiltObservationLogStore; now interface ObservationLogObserverMemory extends BuiltMemory, BuiltObservationLogStore, BuiltObservationResumeStore. npmjs.com - Signature changed
RunObservationLogObserverResult
Was type RunObservationLogObserverResult = {status: 'skipped'; reason: 'no-delta' | 'pending-tool-call' | 'run-disabled';} | {status: 'ran'; observationsWritten: number; cursorAdvanced: boolean; tokenCount: number; skippedLines: string[]... npmjs.com
@n8n/agents 1.2.0 breaking changes
- Signature changed
ContentToolCall
Was type ContentToolCall = ContentMetadata & {type: 'tool-call'; toolCallId: string; toolName: string; input: JSONValue; providerExecuted?: boolean; resultProviderOptions?: ProviderOptions; activatedSkillIds?: string[]... npmjs.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
@n8n/agents 1.1.0 breaking changes
- Removed
buildEpisodicMemoryReflectorPrompt
buildEpisodicMemoryReflectorPrompt was removed in @n8n/agents 1.1.0 npmjs.com - Removed
createEpisodicMemoryReflectFn
createEpisodicMemoryReflectFn was removed in @n8n/agents 1.1.0 npmjs.com
And 24 more in this version.
@n8n/agents 1.0.1 breaking changes
- Signature changed
catalog:getCachedCatalog
Was function getCachedCatalog(): Promise<ProviderCatalog | undefined>; now function getCachedCatalog(options?: {fetch?: typeof globalThis.fetch;}): Promise<ProviderCatalog | undefined>. npmjs.com - Signature changed
catalog:getModelCost
Was function getModelCost(modelId: string): Promise<ModelCost | undefined>; now function getModelCost(modelId: string, fetch?: typeof globalThis.fetch): Promise<ModelCost | undefined>. npmjs.com
And 5 more in this version.
@n8n/agents 1.0.0 breaking changes
- Removed
Agent.functionId
Agent.functionId was removed in @n8n/agents 1.0.0 npmjs.com - Removed
Agent.getWorkspace
Agent.getWorkspace was removed in @n8n/agents 1.0.0 npmjs.com
And 144 more in this version.
@n8n/agents 0.34.2 breaking changes
- Removed
BuiltMemory.skillState
BuiltMemory.skillState was removed in @n8n/agents 0.34.2 npmjs.com - Removed
ContextCueRequest.isSkillActive
ContextCueRequest.isSkillActive was removed in @n8n/agents 0.34.2 npmjs.com
And 15 more in this version.
@n8n/agents 0.34.0 breaking changes
- Removed
RuntimeSkillIndexEntry.recommendedTools
RuntimeSkillIndexEntry.recommendedTools was removed in @n8n/agents 0.34.0 npmjs.com - Signature changed
AgentBuilder.deferredTool
Was deferredTool(t: BuiltTool | BuiltTool[], options?: {search?: {topK?: number;};}): this; now deferredTool(t: BuiltTool | BuiltTool[], options?: {search?: {topK?: number;}; group?: string; groupDescription?: string;}): this. npmjs.com
And 4 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.