mantle
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
-
Add the dependency to your
shard.yml:dependencies: mantle: github: CameronCarroll/mantle -
Run
shards install
Usage
require "mantle"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/mantle/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- ieve (Cameron Carroll) - creator and maintainer
License
Mantle is licensed under the GNU AGPL-3.0 license. See the LICENSE file for details.
mantle
- 0
- 0
- 0
- 0
- 0
- 3 days ago
- November 11, 2025
GNU Affero General Public License v3.0
Fri, 09 Jan 2026 04:57:51 GMT