mantle

base layer library of 'Flows' for building LLM applications

mantle

A framework for abstracting LLM interactions into composable Flow objects, where a Flow is a self-contained block of work (eg planning, reflecting, or running tool call commands).

Intended to be a base layer for building LLM applications.

Separation of concerns

Mantle is intended to be pretty low level - if code is related to how to talk to the model or how to structure a loop, it should live here in Mantle. If the code is related to what an agent is trying to achieve, it should live at the application layer.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      mantle:
        github: CameronCarroll/mantle
    
  2. Run shards install

Usage

require "mantle"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/mantle/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

License

Mantle is licensed under the GNU AGPL-3.0 license. See the LICENSE file for details.

Repository

mantle

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • 3 days ago
  • November 11, 2025
License

GNU Affero General Public License v3.0

Links
Synced at

Fri, 09 Jan 2026 04:57:51 GMT

Languages