> ## 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.

# Task Output • AI Agent SDK

> TaskOutput: Class reference for TaskOutput

# TaskOutput

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

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

## Properties

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

<ResponseField name="summary" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="raw" type="str">
  No description available.
</ResponseField>

<ResponseField name="pydantic" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="json_dict" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="agent" type="str">
  No description available.
</ResponseField>

<ResponseField name="output_format" type="Literal">
  No description available.
</ResponseField>

<ResponseField name="token_metrics" type="Optional">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **json**: Generic utility method.
  * **to\_dict**: Generic utility method.
</Accordion>

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Tasks Concept" icon="list-check" href="/docs/concepts/tasks" />

  <Card title="Task Configuration" icon="gear" href="/docs/configuration/task-config" />

  <Card title="Task Validation" icon="check-double" href="/docs/features/task-validation-feedback" />

  <Card title="Output Concept" icon="file-export" href="/docs/concepts/output" />

  <Card title="Output Configuration" icon="gear" href="/docs/configuration/output-config" />
</CardGroup>
