> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Handoff Result • AI Agent SDK

> HandoffResult: Result of a handoff operation.

# HandoffResult

> Defined in the [**handoff**](../modules/handoff) module.

<Badge color="blue">AI Agent</Badge>

Result of a handoff operation.

Now includes typed outcome information while maintaining backward
compatibility with the legacy boolean success field.

## Properties

<ResponseField name="success" type="bool">
  No description available.
</ResponseField>

<ResponseField name="response" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="target_agent" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="source_agent" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="duration_seconds" type="float">
  No description available.
</ResponseField>

<ResponseField name="error" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="handoff_depth" type="int">
  No description available.
</ResponseField>

<ResponseField name="outcome" type="Optional[AgentRunOutcome]">
  No description available.
</ResponseField>

## Methods

<CardGroup cols={2}>
  <Card title="from_outcome()" icon="function" href="../functions/HandoffResult-from_outcome">
    Create HandoffResult from AgentRunOutcome.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/handoff.py#L224">
  `praisonaiagents/agent/handoff.py` at line 224
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Handoffs Concept" icon="hand-holding" href="/docs/docs/concepts/handoffs" />

  <Card title="Handoffs Feature" icon="arrow-right-arrow-left" href="/docs/docs/features/handoffs" />
</CardGroup>
