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

# Session Page

> Overview of functionalities available on the Session page in Agen

The Session page is your central hub for interacting with AI agents, managing your coding tasks, and reviewing real-time progress. It is designed to give you complete visibility and control over your AI-assisted development workflow.

## Create a New Session

Starting a new AI coding session is straightforward and can be initiated directly from the Session page.

1. **Navigate to the Session Page**: Access the Session page from your workspace dashboard.
2. **Click "New Session"**: Look for the primary action button to begin a new task.
3. **Select Repository and Branch**: Choose the repository and specific branch you want the AI to work on.
4. **Choose an AI Model**: Select from the LLMs available in your workspace based on your needs and configurations.
5. **Provide Initial Instructions**: Give the AI a clear, high-level task or goal to start working on. Provide context or point to specific files if necessary.

Once created, Agen will automatically provision a secure isolated sandbox and the AI agent will begin its work based on your prompt.

## Session Input

The session input area is your primary way to communicate with the active AI agent during a session.

* **Task Description**: Use the input box to provide detailed instructions, ask questions, or request specific modifications.
* **Context Gathering**: You can ask the AI to explain code, find bugs, or suggest improvements before it starts writing code.
* **Iterative Refinement**: As the AI provides feedback or proposes changes, you can use the input to refine the task, provide missing context, or course-correct its approach.
* **Commands**: Depending on the specific AI model and integration, you may be able to use specific commands or prompts to guide the agent's behavior.

## Filtering Sessions

As you use Agen, you'll accumulate a history of sessions. The filtering functionality helps you quickly find past work or manage active tasks.

You can typically filter sessions by:

* **Status**: View only active, completed, or failed sessions.
* **Repository**: Filter sessions related to a specific project or codebase.
* **Date Range**: Find sessions created within a specific timeframe.
* **Creator**: See sessions initiated by you or other members of your workspace.

By utilizing these filters, you can maintain an organized view of your team's AI-assisted development activities, review past tasks for reference, or monitor ongoing efforts.
