Skip to main content

GAIK – Generative AI Knowledge Management Toolkit

PyPI version Python 3.11+

This is a generative AI toolkit of the GAIK project (gaik.ai). It provides a complete set of components and guidance for building knowledge-centric GenAI solutions, from strategic directions to deployable implementations.

Project Documentation

Project documentation is available at:

https://gaik-project.github.io/gaik-toolkit/

Live Demo: https://gaik-demo.2.rahtiapp.fi/

Use different model providers

The Python toolkit provides one ProviderClient interface for OpenAI, Azure OpenAI, Google Gemini and Vertex AI, Anthropic, CSC Aitta, and other OpenAI-compatible servers. LiteLLM is available as an optional backend (pip install "gaik[llm-litellm]", get_llm_config("litellm", model="azure/...")); the native adapters stay the default, and Aitta and other compatible servers reuse the OpenAI SDK. Configure the provider with get_llm_config("azure"), get_llm_config("google"), or get_llm_config("aitta") and pass that config to supported components. Capabilities such as structured output and embeddings depend on the selected model. Audio components remain OpenAI/Azure only.

Existing code keeps working: get_openai_config(use_azure=...) and create_openai_client(config) are unchanged. The default OpenAI/Azure model is now gpt-6-luna (0.7.x used gpt-5.4); to keep your previous model, set AZURE_DEPLOYMENT or OPENAI_MODEL, or pass model=... to get_llm_config() or the component.

See provider configuration and examples and the multi-provider guide.

Why the toolkit is needed

Generative AI has significant potential to increase the productivity of knowledge work

  • Example experiments: consultants using AI were significantly more productive – they completed 12.2% more tasks on average, and completed tasks 25.1% more quickly (Dell'Acqua, 2023)
  • Example cases from practice: Customer-support agents at a large firm selling business-process software demonstrated a 15% increase in productivity when assisted by generative AI (Brynjolfsson, 2025).

However, tangible business value from Generative AI implementation projects is still limited

  • “only 26% of companies have advanced beyond the proof-of-concept stage to generate value” Source: BCG’s report (de Bellefonds et al, 2024).
  • “Despite $30–40 billion in enterprise investment into GenAI, 95% of organizations are getting zero return.” Source: MIT report (Challapally et al, 2025).

Adopting Generative AI and creating value from it is especially challenging for small and medium-sized enterprises (SMEs), which lack the technical expertise and capabilities to implement GenAI solutions effectively. The literature review of Oldemeyer et al. (2024) identified the following three most frequent challenges for SMEs in the AI implementation in the industrial sector: knowledge, costs, and the low maturity level in digitalization.

Overall approach

Companies can deal with GenAI challenges by combining reusable building blocks with clear guidelines. Instead of designing solutions from scratch, teams assemble existing components and follow proven ways of working. This makes it easier to turn ideas into real results, while reducing implementation time, risk, and required resources, and improving overall solution quality.

Toolkit Focus

The knowledge management perspective for structuring GenAI development and implementation activities.

The toolkit focuses on three core knowledge processes in organizations:

Knowledge process Description Illustration
Knowledge capture Extract needed information from business documents, videos, voice recordings, emails, and meeting recordings Knowledge capture
Knowledge access Intelligent access to organizational knowledge (document repositories, databases, wikis, CRMs) Knowledge access
Knowledge synthesis Automatic generation of business reports, sales proposals, marketing materials, project proposals Knowledge synthesis

The following generic use cases are defined as the top priority at the moment:

Knowledge process Generic use cases
Knowledge capture A. Incident reporting in industry (e.g., for equipment, buildings)
B. Creating construction site diaries
C. Creation of transcripts and closed captions in various languages for instructional videos and podcasts
D. …
Knowledge access A. Customer assistant for complex products and services
B. Semantic audio and video search for medical instructions
C. Learning assistant
Knowledge synthesis A. Sales proposal generation
B. Report preparation
C. …

Layer-Based Architecture

The GAIK Toolkit is organized into a layer-based architecture that spans from strategic planning to implementation and security:

Layer Purpose Contents
Strategy Layer Identification and selection of use cases, GenAI adoption readiness assessment and preparation Use case selection framework, AI maturity assessment tool, GenAI success canvas
Requirements Layer Requirements capture and specification Requirement templates, test cases
Business Layer Use case definition, workflow and work system analysis and redesign GenAI product canvas, Workflow templates, Work systems definitions
Implementation Layer Solution development either via no-code or code-based approach, integration, and monitoring Reusable software components and modules for system development, (gaik code package), no-code assets, unit tests, deployment packages, connectors
Evaluation Layer Evaluation of the business value of GenAI and of the technical quality of solution outputs Value evaluation framework, Output evaluation methods (transcription, extraction, LLM-as-judge, RAG, report writing, translation)
Security Compliance Layer Security policies and compliance frameworks Security guidelines, compliance checks, audit trails
Guidance Layer Guides and automates the process of solution development and implementation for KM (how to select and assemble building blocks) Process and guide for GenAI solution implementation, Configuration wizard, Glossary

This architecture ensures that GenAI solutions are built with proper governance, clear requirements, and comprehensive implementation support.

GAIK Architecture


Solution Configuration Wizard

The GAIK Solution Configuration Wizard is the Guidance Layer in action. It takes a plain-language description of a business problem and guides you — through a structured, multi-turn conversation — all the way to a validated, deployable GenAI solution.

What the wizard produces

Deliverable Description
use_case.blueprint.json Executable source of truth — components, artifacts, workflow steps, schemas, model settings
workflow.bpmn BPMN 2.0 visual blueprint with swimlanes, gateways, and data objects for stakeholder review
workflow.mmd Mermaid diagram (quick developer flow view)
poc/ Runnable proof of concept: run_poc.py, requirements.txt, schema, prompt, eval script
docs/ Documentation suite: GenAI product canvas, technical specification, user guide, developer guide, evaluation plan

Everything is written to a directory you choose — nothing is written into the toolkit repository.

How to run it

Option 1 — Claude Code or Claude Desktop (recommended)

/solution-wizard

Type this in a Claude Code session or Claude Desktop chat. The wizard guides you through the full workflow conversationally.

Option 2 — Web chat (demo website)

Open the live demo and navigate to Solution Configuration Wizard. Token-by-token streaming, generated files appear in the sidebar, downloadable as a .zip.

To run the demo locally:

cd implementation_layer/toolkit_demo_app
bun dev:all   # starts Next.js frontend + FastAPI backend
# open http://localhost:3000/solution-wizard

Option 3 — Individual scripts (CLI)

The wizard's deterministic scripts can be run independently:

cd implementation_layer/solution_wizard

# Validate an existing blueprint
python scripts/validate_blueprint.py --blueprint ~/my-use-case/use_case.blueprint.json

# Generate BPMN visual blueprint
python scripts/generate_bpmn.py --blueprint ~/my-use-case/use_case.blueprint.json --output-dir ~/my-use-case

# Scaffold a PoC from a validated blueprint
python scripts/scaffold_poc.py --blueprint ~/my-use-case/use_case.blueprint.json

Full documentation

See implementation_layer/solution_wizard/README.md for the complete walkthrough, output directory layout, component registry, validation rules, and test suite.


License

This project is licensed under the MIT License – see LICENSE for details.

Release files for gaik 0.8.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 gaik 0.8.0
File Size Uploaded
gaik-0.8.0.tar.gz 288.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gaik 0.8.0
File Interpreter ABI Platform
gaik-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 645.5 kB

Release files / gaik-0.8.0.tar.gz

Download URL gaik-0.8.0.tar.gz
Size 288.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e3fceca60303d8e6c716b4757d9c0c15b3be203eec99c75d365d9e3f9456cafd
BLAKE2b-256 checksum
How to use checksums
101d90b3ddabd11cf30bf7acc042bb5668a3111d6c503f0a66b5980781f7c8a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / gaik-0.8.0-py3-none-any.whl

Download URL gaik-0.8.0-py3-none-any.whl
Size 356.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c97e27037e0ebf23b283053cc3cdc17756ffdc13757f7df53e1774f0b2d9b46
BLAKE2b-256 checksum
How to use checksums
3ae9f57ae1b385e27fc7e27f898d483b1c2d480712985446e1f9d96166868f00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.3

1 release file

0.7.2

1 release file

0.7.1

2 release files

0.7.0

1 release file

0.6.0

1 release file

0.5.18

1 release file

0.5.17

1 release file

0.5.16

1 release file

0.5.15

1 release file

0.5.14

2 release files

0.5.13

2 release files

0.5.12

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.21

2 release files

0.3.20

2 release files

0.3.19

2 release files

0.3.18

2 release files

0.3.17

2 release files

0.3.16

2 release files

0.3.15

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.12

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.32

2 release files

0.2.31

2 release files

0.2.29

2 release files

0.2.28

2 release files

0.2.20

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.0.0

2 release files

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