[Intum Help](https://intum.com/help.md) / [Organization](https://intum.com/help/organization.md)

# [AI](https://intum.com/help/organization/ai.md)

## AI in the Organize Module

The Organize module uses artificial intelligence in several places — from spell checking to automatically generating work reports based on system activities and Git repository commits.

---

## AI in the Task Editor

When creating or editing a task, the content editor has a built-in **AI button**. Simply enter a general task description — e.g., *"create a landing page for a new product"* — and AI will transform it into a structured description with:

- Task objective
- Steps to complete
- Acceptance criteria

AI automatically formats the text in Markdown, corrects language errors, and gives it a professional structure.

## AI in Comments

When adding a comment to a task, an AI button is also available. Enter a draft comment, and AI will improve it — giving it a professional yet direct tone, correcting spelling and grammar, and keeping it concise.

## Editor Toolbar — Corrections and Polishing

Every text editor in the Organize module (tasks, comments, workinfo) has an AI dropdown menu in the toolbar with three options:

- **Fix spelling and grammar** — quick correction without content changes
- **Polish with minimal changes** — gentle improvement of style and readability
- **Creative AI** — full content rewrite based on a description or instructions

---

## AI in the WorkInfo Editor

When manually filling out a work report (WorkInfo), the content editor has an AI button. Enter rough notes — e.g., *"did PR reviews, fixed bugs in the mail module, team meeting"* — and AI will transform them into a clear, professional work report.

---

## AI Agent for Automatic WorkInfo Generation

This is the most advanced AI feature in the Organize module. On the WorkInfo creation and preview page, there is an **AI Agent button** that automatically fills in the work report for a selected day.

### How Does It Work?

After clicking the button, the AI agent:

1. **Fetches system activities** for that day — tasks you created, edited, closed, comments, sent emails, chat messages
2. **Fetches Git commits** (if configured) — analyzes what was changed in repositories
3. **Calculates work time** — based on the first and last activity of the day
4. **Generates a report** — groups activities by topic, creates a concise work description in Markdown
5. **Saves the entry** — creates a new WorkInfo or updates an existing one

### Smart Breaks

If there is a gap longer than 30 minutes between activities, the agent creates **separate entries** for each work block — e.g., a separate entry for the morning and afternoon session.

### Pull Request Recognition

The agent distinguishes between:
- **Your PRs** — pull requests you created yourself
- **Merged PRs** — pull requests from other people that you approved

---

## Configuring Git Repositories

For the AI agent to include commits when generating WorkInfo, an administrator must configure repository links:

1. Go to **Organize → Settings**
2. In the **Git Repositories** section, enter URLs — one per line

### Supported Formats

```
https://github.com/company/project1
https://github.com/company/project2
https://gitlab.com/company/project
```

### Wildcard for Organizations

You can use the `*` character to automatically include **all repositories** in a GitHub organization:

```
https://github.com/mycompany/*
```

The agent will automatically fetch the list of repositories and search them for the user's commits.

---

## Summary

- **Task editor** — AI button structures the task description
- **Comments** — AI button improves tone and spelling
- **Editor toolbar** — spell checking, polishing, creative rewriting
- **WorkInfo editor** — formats rough notes into a report
- **WorkInfo Agent** — auto-generates a report from system activities and Git commits