0.0.2 • Published 8 months ago

ai-consilium v0.0.2

Weekly downloads
-
License
MIT with Commons ...
Repository
-
Last release
8 months ago

AI Consilium

AI Consilium is an intelligent CLI tool that helps you generate comprehensive project documentation by asking relevant questions about your project and generating detailed markdown documentation. It can also be widely configured to support different LLM providers and models, both locally and hosted. It can all be shared with your team.

Prerequisites

  • Node.js (v16 or higher)
  • npm (v7 or higher)
  • LLM Studio or access to a hosted LLM provider

Installation

npm i ai-consilium -g

This will make the ai-consilium command available globally on your system.

Usage

Select LLM Model

Before generating documentation, run configure to set up your LLM provider and model & various settings.

ai-consilium configure

Generate Project Documentation

To generate documentation for a new project:

ai-consilium generate <project-name>

For example:

ai-consilium generate my-awesome-project

This will: 1. Create a new directory my-awesome-project/ 2. Ask you a series of questions about your project 3. Generate comprehensive documentation in my-awesome-project/docs/ 4. Save project context in my-awesome-project/.ai-consilium.json

Generated Documentation Structure

The generated documentation includes:

  • docs/navigation.md - Project navigation and structure
  • docs/infrastructure.md - Infrastructure overview
  • docs/architecture.md - System architecture
  • docs/api.md - API documentation
  • docs/security.md - Security documentation
  • docs/operations.md - Operations guide
  • docs/cost.md - Cost analysis

Configuration

The tool creates a .ai-consilium.json file in your project directory that stores:

  • Project context and settings
  • Question/answer history
  • Infrastructure choices

License

This project is licensed under MIT with Commons Clause - see the LICENSE.md file for details.

The license allows for:

  • Free usage of the software
  • Commercial use (with restrictions on competing products)
  • Modifications for personal/internal use

While requiring:

  • Permission for redistribution of source code
  • No creation of competing products or services
  • Inclusion of the original license and copyright notice
0.0.2

8 months ago

0.0.1

9 months ago

1.0.0

9 months ago