# Intent-Centric Code Generation

At the heart of the Hubot platform lies the powerful functionality of intent-centric code generation. This innovative approach aims to simplify the code writing process for developers by focusing on their intent and requirements.

With intent-centric code generation, developers no longer need to spend significant time and effort writing code from scratch or searching for relevant code snippets. Instead, they can simply express their desired functionality and specify their deployment environment to Hubot's AI system.

The process begins by developers inputting their intent, which could be a specific feature they want to implement or a desired outcome they wish to achieve. They can provide clear instructions and requirements, specifying the desired behavior, input parameters, expected outputs, and any relevant constraints.

In addition to the intent, developers also need to specify the deployment environment. This includes details such as the programming language, framework, libraries, and any other relevant dependencies. By providing this information, developers ensure that the generated code aligns with their specific technical stack.


---

# 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://hubot.gitbook.io/hubot-whitepaper/core-functions/intent-centric-code-generation.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.
