# Creational Patterns

Creational patterns are trying to help with object creation issues.

[Builder](https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1/builder)

* Separates object construction from its representation

[Factory](https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1/factory)

* Creates an instance of classes based on input

[Abstract Factory](https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1/abstract-factory)

* Creates an instance of several families of classes

[Factory Method](https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1/factory-method)

* Creates an instance of several derived classes

[Prototype](https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1/prototype)

* A fully initialized instance to be copied or cloned

[Object Pool](https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1/object-pool)

* Avoid expensive acquisition and release of resources by recycling objects that are no longer in use

[Singleton](https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1/singleton)

* A class of which only a single instance can exist


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ondrej-kvasnovsky-2.gitbook.io/design-patterns-handbook/chapter1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
