# Active Notes

Your Tinderbox notes can take an active role in helping to keep your work – and your attention – well organized.

Special notes called agents constantly scan your document, looking for other notes that match the agent’s query.

> For example: the agent Urgent Tasks might locate every task that is due within the next week.

Each agent collect aliases of every note that satisfies its query. Agents can sort the aliases as they prefer, and can also apply an action to the notes it finds.

> For example: the agent Urgent Tasks might sort tasks by due date, and its action might color overdue tasks red.

Any note can be a container that holds other notes. A container make also apply an action to notes when they are added to the container.

> For example: the container Library Books holds a note for each book you’ve borrowed from the library. When a note is created in this container, the container’s OnAdd action knows that it’s likely to be a book you have just borrowed and automatically sets its color, shape, and sets the due date two weeks from today. Of course, you can change any of these as necessary, but often Tinderbox can save your time and keep you from forgetting to note the due date entirely.

Each note can also have a list of Rules – actions that are automatically applied to the note at all times.

> For example: if a Task is marked as complete, it might automatically move itself into the container for Completed Tasks.