[![Hex Docs](](
[![Total Download](](

[![ExUnit Tests](](
[![Quality Checks](](

<br />
<div align="center">
  <a href="">
    <img src="docs.magma/attachments/logo.png" alt="Logo" width="80" height="80">

<h3 align="center">Magma</h3>

  <p align="center">
    An environment for writing and executing prompts for documentation and more
    <br />
    <a href=""><strong>Explore the docs »</strong></a>
    <br />
    <br />
    <a href="">Changelog</a>
    <a href="">Forum</a>
    <a href="">Report Bug</a>
    <a href="">Request Feature</a>

## About the Project

<img src="docs.magma/attachments/screenshot.png" align="center" />

Magma is an environment for writing and executing complex prompts. It is designed primarily to support developers, especially those using Elixir, in collecting project knowledge, generating documentation, and solving problems through LLM prompts. However, it can also be useful outside this context for generating longer texts.

_Read on in the [User Guide](

## Features

- A transclusion resolution system for quick prompt composition from existing content.
- Extendible workflows with predefined prompts for generating various artefacts such as a project README, module docs, and larger texts.
- Support for automatic prompt execution via the OpenAI API or manual execution via the chat interface of the LLM of your choice (ChatGPT, Bard, Claude etc.).
- Well-organised folder structure for all created files.
- Adaptability to many use cases, thanks to Obsidian's vast plugin ecosystem.

## Roadmap

See the [open issues]( or [this page]( for a list of proposed features and known issues.

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. See [CONTRIBUTING]( for details. You can also simply start a new discussion [here](

Don't forget to give the project a star! Thanks!

## Contact

Marcel Otto - [@marcelotto (Mastodon)](  [@marcelotto (X)](

## Acknowledgments

A huge thanks to the [NLnet Foundation]( for funding this project.

## License

Distributed under the MIT License. See `` for more information.