> For the complete documentation index, see [llms.txt](https://jessefreeman.gitbook.io/ai-for-dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jessefreeman.gitbook.io/ai-for-dev/readme.md).

# README

[![GitHub followers](https://img.shields.io/github/followers/jessefreeman?label=Follow\&style=social)](https://github.com/jessefreeman) [![GitHub stars](https://img.shields.io/github/stars/jessefreeman/ai-for-dev?label=Star\&style=social)](https://github.com/jessefreeman/ai-for-dev)

Welcome to the AI For Dev guide! This constantly evolving guide is designed to help developers set up and optimize local Large Language Models (LLMs) for help with coding. Whether you're looking to leverage the power of AI to enhance your productivity, are still learning how to code, or want to gain a deeper understanding of how these models work, this guide is a collection of findings, experiments, and observations to help you in your journey.

You can explore the **GitBook** version of this guide at [aifor.dev](https://jesse-freeman.gitbook.io/ai-for-dev/) or use this [Table of Contents](https://github.com/jessefreeman/ai-for-dev/blob/main/SUMMARY.md) to explore the guide's markdown on **GitHub**.

## How to Contribute

I invite anyone who's LLMs online or locally to help with coding to contribute and help grow and improve this guide. Whether you have new model test results, best practices, or other valuable insights, your contributions can help others as we figure out how to leverage AI in our development workflows. Please refer to the [contribution guidelines](https://github.com/jessefreeman/ai-for-dev/blob/main/CONTRIBUTING.md) for detailed instructions on how to contribute.

## Join the Community

Stay updated with the latest additions, tips, and more by [following me](https://github.com/jessefreeman), [staring this project,](https://github.com/jessefreeman/ai-for-dev) and joining our community:

* **Mailing List**: Follow my mailing list for updates and insights at <https://jessefreeman.substack.com/>.
* **GitHub Discussions**: Join the conversation and share your thoughts on our [GitHub Discussions](https://github.com/jessefreeman/ai-for-dev/discussions) page.

Thank you for being part of the AI For Dev community. Together, we're building a valuable resource for developers worldwide. Your interest, support, and contributions make this project thrive.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://jessefreeman.gitbook.io/ai-for-dev/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
