# Best Practices

Use this section to improve workflow quality after you know the basics.

{% hint style="info" %}
Best practices matter most after your first working workflow.
{% endhint %}

### What this section covers

* Build stronger agents with clearer workflow design.
* Speed up iteration with better AskAI and Auto Agents usage.
* Solve common workflow issues with proven implementation patterns.

### Start with the core guides

<table data-view="cards"><thead><tr><th>Guide</th><th data-card-target data-type="content-ref">Page</th></tr></thead><tbody><tr><td><strong>AI Agents Best Practices</strong><br>Learn how to use AskAI and Auto Agents effectively, structure prompts, and review generated workflows.</td><td><a href="/spaces/FSlso1Kjob5CLDrh0dVn/pages/DJyZAoxRoilKfufkQm2X">/spaces/FSlso1Kjob5CLDrh0dVn/pages/DJyZAoxRoilKfufkQm2X</a></td></tr><tr><td><strong>StackAI Hacks</strong><br>Use practical patterns for orchestration, troubleshooting, fallbacks, large files, and analytics.</td><td><a href="/spaces/FSlso1Kjob5CLDrh0dVn/pages/QosKgHVmDz5O08hEXp0Y">/spaces/FSlso1Kjob5CLDrh0dVn/pages/QosKgHVmDz5O08hEXp0Y</a></td></tr></tbody></table>

### Recommended order

1. Build a first version in [Workflow Builder](/getting-started/start-here/get-started-with-workflow-builder.md).
2. Apply [AI Agents Best Practices](/getting-started/best-practices/ai-agents-best-practices.md) to improve structure and iteration speed.
3. Use [StackAI Hacks](/guides-and-tips/stackai-hacks.md) when you need deeper patterns or troubleshooting help.

### Before you go deeper

If you are still learning the basics, start here first:

* Use [Start Here](/getting-started/start-here.md) for the fastest onboarding path.
* Use [Core AI Concepts](/getting-started/core-ai-concepts.md) to strengthen prompting and retrieval fundamentals.
* Use [Tutorials & Examples](/getting-started/tutorials-and-examples.md) to practice with real workflows.


---

# 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://docs.stackai.com/getting-started/best-practices.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.
