For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
      • AstroFully-managed data operations, powered by Apache Airflow.
      • Astro Private CloudRun Airflow-as-a-service in your environment.
      • Professional ServicesExpert Airflow services for your enterprise's success.
    • Tools
      • Cosmos
      • Orbiter
      • CLI
      • AI SDK
      • Agents
      • Blueprint
      • UpdatesThe State of Airflow 2026See the insights from over 5,800 data practitioners in the full report. Download Now ➔
  • Customers
  • Docs
    • Insights
      • Blog
      • Webinars
      • Resource Library
      • Events
    • Education
      • Academy
      • What is Airflow?
  • Pricing
Get Started Free
    • Overview
      • Overview
        • Overview
        • Quickstart
        • Author dags
        • Blueprint
        • Test and run dags
      • Dag versioning
      • Airflow logs
      • DAG and task runs
      • Airflow REST API
    • Book Office Hours

Product

  • Platform Overview
  • Astro
  • Astro Observe
  • Astro Private Cloud
  • Security & Trust
  • Pricing

Tools & Services

  • Cosmos
  • Docs
  • Professional Services
  • Product Updates

Use Cases

  • AI Ops
  • Data Observability
  • ETL/ELT
  • ML Ops
  • Operational Analytics
  • All Use Cases

Industries

  • Financial Services
  • Gaming
  • Retail
  • Manufacturing
  • Healthcare
  • All Industries

Resources

  • Academy
  • eBooks & Guides
  • Blog
  • Webinars
  • Events
  • The Data Flowcast Podcast
  • All Resources

Airflow

  • What is Airflow
  • Airflow on Astro
  • Airflow 3.0
  • Airflow Upgrades
  • Airflow Use Cases
  • Airflow 2.x End of Life

Company

  • Our Story
  • Customers
  • Newsroom
  • Careers
  • Contact

Support

  • Knowledge Base
  • Status
  • Contact Support
GitHubYouTubeLinkedInx
  • Legal
  • Privacy
  • Terms of Service
  • Consent Preferences

  • Do Not Sell or Share My Personal information
  • Limit the Use Of My Sensitive Personal Information

Apache Airflow®, Airflow, and the Airflow logo are trademarks of the Apache Software Foundation. Copyright © Astronomer 2026. All rights reserved.

LogoLogo
On this page
  • Author dag code with or without AI
  • Add custom project rules for code generation
Develop DAGsAstro IDE

Author dags with the Astro IDE

Edit this page
Built with
Preview
This feature is in Preview.

The Astro IDE supports building, updating, understanding, and customizing Airflow dags with or without the Astronomer AI assistant. The AI features in the IDE are powered by Otto, Astronomer’s data engineering agent. Otto brings Airflow-specific context, team memory, and specialized skills to code generation. For more details on Otto’s capabilities, including memory, skills, and Airflow tools, see the Otto overview.

AI features can be enabled or disabled Organization-wide by an Organization Owner. When disabled, all AI-driven capabilities in the IDE are unavailable for all users. To learn how to configure this setting, see Enable or disable AI features for your Organization.

Author dag code with or without AI

The Astro IDE allows you to write or modify dag code directly. Or, you can use AI-powered features to generate or refactor code, including:

  • Use context-aware AI tools to suggest, generate, or improve dag code, operator logic, and project structure.
  • Ask the Astro IDE questions about the project to better understand existing dag code structure, logic, and dependencies.
  • View the Astro IDE’s reasoning, streaming live in the AI panel as it proposes changes.
  • Review all proposed code changes before choosing to accept or reject them.
  • Manually edit Python scripts, dag files, and supporting resources in the built-in editor.

When you author dags in the Astro IDE, this consumes some of your Workspace AI credits. See the Preview FAQs for more details.

Add custom project rules for code generation

You can define custom instructions or rules that guide the AI for all code generation tasks within your Airflow project.

1

Open Project Settings

Open the Project Settings from the More Actions menu in the toolbar.

2

Add custom instructions

Enter your linting rules, conventions, or any special instructions for the Astro IDE in the Custom Instructions field.

3

Save your changes

Click Update Project to apply your custom rules. These instructions will be used for all AI-generated code in this project.