> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc-redirect-agent-platform-overview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Context Management

> Examples for instructions, system messages, introduction messages, and context shaping.

| Example                                                                                              | Description                                                                          |
| ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [Few Shot Learning](/examples/agents/context-management/few-shot-learning)                           | This example demonstrates how to use additional\_input with an Agent.                |
| [Filter Tool Calls From History](/examples/agents/context-management/filter-tool-calls-from-history) | Demonstrates `max_tool_calls_from_history` by showing that tool-call filtering only. |
| [Instructions](/examples/agents/context-management/instructions)                                     | Manage agent instructions and context.                                               |
| [Instructions With State](/examples/agents/context-management/instructions-with-state)               | Example demonstrating how to use a function as instructions for an agent.            |
| [Introduction Message](/examples/agents/context-management/introduction-message)                     | Use the introduction parameter to set an initial greeting message.                   |
| [System Message](/examples/agents/context-management/system-message)                                 | Customize the agent's system message and role.                                       |
