Skip to main content

collective.aitools

This package provides tools powered by AI, both for editors as for anonymous visitors

Features

All features are individually enabled and configured (model, prompt) from the AI Tools control panel, and reach a model through collective.aisettings (configure your provider/models in AI Settings).

Editor tools (buttons on the classic-UI add/edit forms; fill a field only when it's empty):

  • Summarize — generate a Description / summary from the item's body text (also usable as the SEO meta description).
  • Suggest tags — propose Subject keywords from the body text, reusing tags already in use on the site where possible.
  • Get image details — title, description (alt text) and tags for an item's image, using a vision model.
  • Help me write — drafting and rewriting assistance (start a draft, grammar check, change tone).

Assistant — a floating chat widget for authenticated users. It's agentic: it can call capabilities to ground its answers and guide editors, rather than guessing. Built-in capabilities:

  • Search the site — full-text search (respects each user's permissions).
  • Where to add — suggest folders where a given content type can be created.
  • Propose a draft — from a rough brief, generate a draft (title, summary, body) for the editor to confirm and then adjust. Content is only created after an explicit confirmation, and always re-validated server-side.

Loose content-type names ("page", "news", "article", …) are accepted, and add-ons can contribute their own synonyms by registering an IContentTypeSynonyms utility.

Installation

Install collective.aitools with uv.

uv add collective.aitools

Create the Plone site.

make create-site

Contribute

Prerequisites ✅

Installation 🔧

  1. Clone this repository.

    git clone git@github.com:collective/collective-ai-tools.git
    cd collective-ai-tools/backend
    
  2. Install this code base.

    make install
    

Add features using plonecli or bobtemplates.plone

This package provides markers as strings (<!-- extra stuff goes here -->) that are compatible with plonecli and bobtemplates.plone. These markers act as hooks to add all kinds of features through subtemplates, including behaviors, control panels, upgrade steps, or other subtemplates from bobtemplates.plone. plonecli is a command line client for bobtemplates.plone, adding autocompletion and other features.

To add a feature as a subtemplate to your package, use the following command pattern.

make add <template_name>

For example, you can add a content type to your package with the following command.

make add content_type

You can add a behavior with the following command.

make add behavior
You can check the list of available subtemplates in the [`bobtemplates.plone` `README.md` file](https://github.com/plone/bobtemplates.plone/?tab=readme-ov-file#provided-subtemplates).
See also the documentation of [Mockup and Patternslib](https://6.docs.plone.org/classic-ui/mockup.html) for how to build the UI toolkit for Classic UI.

License

The project is licensed under GPLv2.

Credits and acknowledgements 🙏

Generated using Cookieplone (2.0.0b3) and cookieplone-templates (4aa42c6) on 2026-06-29 18:13:58.341660. A special thanks to all contributors and supporters!

Metadata

Release files for collective.aitools 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.aitools 1.5.0
File Size Uploaded Provenance Actions
collective_aitools-1.5.0.tar.gz 609.1 kB Without provenance Details for collective_aitools-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for collective.aitools 1.5.0
File Interpreter ABI Platform Actions
collective_aitools-1.5.0-py3-none-any.whl Python 3 none any Details for collective_aitools-1.5.0-py3-none-any.whl

Total release size: 1.0 MB

Release files / collective_aitools-1.5.0.tar.gz

Download URL collective_aitools-1.5.0.tar.gz
Size 609.1 kB
Tags Source
SHA-256 checksum
How to use checksums
74bbe83d3e77dc47f779d6ad13c1deb86fe820f7c321b79ea8ac2bbad615cdaa
BLAKE2b-256 checksum
How to use checksums
fd71ca3c360607bd87226940674be7f7eaf3c08f30e8c04999b25e61506cea12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / collective_aitools-1.5.0-py3-none-any.whl

Download URL collective_aitools-1.5.0-py3-none-any.whl
Size 431.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bebd2cc7b7e02a2f7a5f2acf5500f2d1a5c27a8a87f0ffdafaea9d12162a6f39
BLAKE2b-256 checksum
How to use checksums
59c069fdd3429e1dd07c75a49275182a828fba0dba30e357b7074b3361146617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for collective.aitools 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page