# Haystack

> AI-powered code review for GitHub pull requests

Haystack helps developers understand code changes faster using AI analysis, call graphs, and intelligent organization of PR diffs.

## How to Access Documentation

Agents can retrieve markdown content in three ways:

1. **URL suffix**: Append `.md` to any page URL
   - Example: `https://haystackeditor.com/docs/verification-flow.md`

2. **Accept header**: Request with `Accept: text/markdown`
   - Example: `curl -H "Accept: text/markdown" https://haystackeditor.com/docs/verification-flow`

3. **Full content**: Fetch `/llms-full.txt` for all pages in one request
   - Example: `https://haystackeditor.com/llms-full.txt`

## Main Pages

- [Home](https://haystackeditor.com/): Product overview and features
- [Pricing](https://haystackeditor.com/pricing): Plans - Free, Pro ($20/mo), Enterprise
- [Demo](https://haystackeditor.com/demo): Interactive demo with sample PR
- [Dashboard](https://haystackeditor.com/dashboard): User dashboard (requires GitHub auth)
- [Changelog](https://haystackeditor.com/changelog): Recent updates and improvements
- [GitHub App](https://haystackeditor.com/github-app): Install instructions and permissions
- [Enterprise](https://haystackeditor.com/enterprise-contact): Self-hosted and SSO options

## Documentation - Getting Started

- [Docs Home](https://haystackeditor.com/docs): Documentation overview
- [Welcome](https://haystackeditor.com/docs/welcome): Introduction to Haystack
- [Trying Out Haystack](https://haystackeditor.com/docs/trying-out-haystack): Try without installing
- [Installing Haystack](https://haystackeditor.com/docs/installing-haystack): GitHub App setup

## Documentation - Features

- [Dashboard](https://haystackeditor.com/docs/haystack-dashboard): Dashboard overview
- [PR Chat](https://haystackeditor.com/docs/pr-chat): Chat with AI about your PR
- [Browser Tab](https://haystackeditor.com/docs/browser-tab): Preview frontend changes
- [Edit Mode](https://haystackeditor.com/docs/edit-mode): Edit code in review
- [Navigator View](https://haystackeditor.com/docs/navigator-view): Navigate complex PRs

## Documentation - Configuration

- [Verification Flow](https://haystackeditor.com/docs/verification-flow): Automated PR verification setup
- [Authentication](https://haystackeditor.com/docs/authentication): Auth strategies for sandboxes
- [Fixtures](https://haystackeditor.com/docs/fixtures): Mock API responses and test data
- [Database](https://haystackeditor.com/docs/database): Database configuration for sandboxes
- [Agent Traces](https://haystackeditor.com/docs/agent-traces): Track AI agent sessions with Entire

## API

The Haystack API is available for authenticated users:
- `/api/github/*` - Proxied GitHub API requests
- `/api/review-chat/*` - AI chat for PR discussions

## Integration

Install the [Haystack GitHub App](https://github.com/apps/haystack-app) to enable AI-powered review on your repositories.

## Contact

- Website: https://haystackeditor.com
- Enterprise inquiries: https://haystackeditor.com/enterprise-contact
