Skip to content

feat(agent): expose AgentState.Background for spawned background agents#54

Merged
mudler merged 1 commit into
mainfrom
feat/agentstate-background
Jun 2, 2026
Merged

feat(agent): expose AgentState.Background for spawned background agents#54
mudler merged 1 commit into
mainfrom
feat/agentstate-background

Conversation

@mudler

@mudler mudler commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Add an exported Background flag on AgentState, set true for background spawns (spawn_agent background=true) and false for foreground ones. This lets embedders tell unattended background work apart from a foreground sub-agent whose result is consumed inline — e.g. to auto-notify on completion only for background agents.

Add an exported Background flag on AgentState, set true for background
spawns (spawn_agent background=true) and false for foreground ones. This
lets embedders tell unattended background work apart from a foreground
sub-agent whose result is consumed inline — e.g. to auto-notify on
completion only for background agents.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mudler mudler merged commit 81ce500 into main Jun 2, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant