Skip to main content

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

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective_aitools-1.0.0.tar.gz (562.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collective_aitools-1.0.0-py3-none-any.whl (399.1 kB view details)

Uploaded Python 3

File details

Details for the file collective_aitools-1.0.0.tar.gz.

File metadata

  • Download URL: collective_aitools-1.0.0.tar.gz
  • Upload date:
  • Size: 562.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

File hashes

Hashes for collective_aitools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a48f07dcf127128477670e6198ea060080e0a6802b5fd673cb5ff6da26979709
MD5 852da29525912015b835168abcdcf713
BLAKE2b-256 8a5c097f3d81e8dc1e519127c60702c41bc6fe282393f59cf72ad016d29a1b61

See more details on using hashes here.

File details

Details for the file collective_aitools-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: collective_aitools-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 399.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

File hashes

Hashes for collective_aitools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c3a60ce9864c145c34671a1cb62f2162fff01304ef24e8e32e7ffee21bdb163
MD5 89cc3925dc65f4f1416b5f1ca35cf05e
BLAKE2b-256 db11d4980668d8da0c87841f42644627e22271740128a679dbf65086f82a3634

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page