---
title: 'Processing the eclipse with AI agents: Agentic Eclipse Library'
url: 'https://cosmic-astrophoto.com/en/blog/agentic-eclipse-library'
markdown: 'https://cosmic-astrophoto.com/en/blog/agentic-eclipse-library.md'
lang: en
date: '2026-11-04'
description: 'On 12 August 2026 I watched a total solar eclipse from Almanza (León, Spain). After the capture came the hard part: turning a handful of totality frames into a picture of the corona. This time I did it with the help of a coding agent, using the Agentic Eclipse Library. What the Agentic Eclips'
taxonomy:
  category:
    - Eclipse
  tag:
    - eclipse
    - corona
    - processing
    - 'artificial intelligence'
---

# [Processing the eclipse with AI agents: Agentic Eclipse Library](https://cosmic-astrophoto.com/en/blog/agentic-eclipse-library)

## Total solar eclipse of 12 August 2026 from Almanza (León, Spain)

    Nov 4, 2026   [eclipse](https://cosmic-astrophoto.com/en/blog/tag:eclipse#body-wrapper) [corona](https://cosmic-astrophoto.com/en/blog/tag:corona#body-wrapper) [processing](https://cosmic-astrophoto.com/en/blog/tag:processing#body-wrapper) [artificial intelligence](https://cosmic-astrophoto.com/en/blog/tag:artificial%20intelligence#body-wrapper)  

On 12 August 2026 I watched a total solar eclipse from Almanza (León, Spain). After the capture came the hard part: turning a handful of totality frames into a picture of the corona. This time I did it with the help of a coding agent, using the **Agentic Eclipse Library**.

## What the Agentic Eclipse Library is

It is an open project by **Pere Guerra Serra** ([github.com/PeterWar/Agentic-Eclipse-Library](https://github.com/PeterWar/Agentic-Eclipse-Library)) under the MIT licence. Rather than a closed program, it is a folder designed so that **an AI agent can read it and work with it**: it carries instructions (`AGENTS.md` and `CLAUDE.md`), seven “skills” with the method step by step, about 180 research notes and a Python package, `ael`, that does the heavy lifting.

It works with **Claude Code** (clone the repository or install the plugin and the skills load by themselves) and with **Codex** (there is a plugin for its desktop app), and any other agent can use it if you point it at `AGENTS.md`.

## How an image is generated

You don't need to know the commands: you open the folder with your agent, tell it where your photos are, and it proposes the steps one at a time. You decide the final look. The workflow is:

1. **Calibrate and stack.** Darks, flats, linearity, saturation and weights. `ael stack` builds a linear stack with explicit registration.
2. **Registration and fusion.** Alignment by ephemeris (with Skyfield and the JPL ephemerides) and linear HDR fusion of frames with different exposures.
3. **Detail filters.** NRGF, RHEF, MGN and other variants, each on its own layer.
4. **Layered project.** A 16-bit Photoshop project with the layers ready for you to tune the look.
5. **Extra products.** A structure image (the fine filaments of the corona), the corona “unrolled” into polar coordinates, and coronal motion between frames.

Its golden rule is that the library **only reads observed pixels**. Where there is no data it leaves a gap, never a fill or a mirror.

## My data

| Item | Detail |
|---|---|
| Location | Almanza (León, Spain), 920 m |
| Date | 12 August 2026, total eclipse |
| Camera | Omegon veTEC571C (bin 2) |
| Optics | Tamron 70-300 mm f/4-5.6 Di VC USD at 300 mm |
| Mount | Proxisky UMi 17 |
| Processing input | 31 long exposures (8 × 2 s and 23 × 1 s, 39 s in total), from 18:28:42 to 18:29:24 UT |
| Library | AEL 1.4.2 |

## Results

![Fine structure of the corona](https://cosmic-astrophoto.com/images/f/8/4/c/9/f84c98ce71027a9e5aff83c40ab1e1af45b71839-01-corona-estructura.jpg)*Structure image of the corona: the filaments show far more detail than in the original frame.*

![Inner corona and lunar disc](https://cosmic-astrophoto.com/user/pages/03.blog/agentic-eclipse-library/02-corona-disco-lunar.jpg)*The inner corona around the lunar disc.*

## What I take away

Having an agent help with processing is convenient, but the valuable part is that the project is designed **not to invent data** and to tell you when there is nothing to find.

If you have eclipse photos and want to try it, everything is in [the repository](https://github.com/PeterWar/Agentic-Eclipse-Library).

*Processed with Agentic Eclipse Library by Pere Guerra.*

---

## Navigation

- Parent: [Blog](https://cosmic-astrophoto.com/en/blog.md)
