dialectical-framework


Namedialectical-framework JSON
Version 0.7.4 PyPI version JSON
download
home_pagehttps://github.com/dialexity/dialectical-framework
SummaryA dialectical framework for augmented intelligence. AI reasoning powered with dialectics supports humans in: system optimization (psychology, engineering, business, politics, etc.); dispute resolution (mediation, conflicts, negotiations, etc.); decision-making (dilemmas, challenging situations, win-win, etc.).
upload_time2025-10-24 09:36:11
maintainerNone
docs_urlNone
authorEvaldas Taroza
requires_python<4.0,>=3.11
licenseMIT
keywords dialectics dialectical-reasoning synthesis thesis-antithesis ai artificial-intelligence llm reasoning-framework philosophy logic argumentation conflict-resolution decision-making critical-thinking semantic-graph mirascope pydantic wisdom-units polarity-reasoning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Dialectical Reasoning Framework
Turn stories, strategies, or systems into insight. Auto-generate Dialectical Wheels (DWs) from any text to reveal blind spots, surface polarities, and trace dynamic paths toward synthesis.
 DWs are semantic maps that expose tension, transformation, and coherence within a system—whether narrative, ethical, organizational, or technological.

## What It Does:
 - Converts natural language into Dialectical Wheels (DWs)
 - Highlights thesis–antithesis tensions and feedback loops
 - Reveals overlooked leverage points and systemic blind-spots
 - Maps decisions, ethics, or mindsets across dialectical structures

## Built for:
 - Systems optimization
 - Wisdom mining & decision diagnostics
 - Augmented intelligence / narrative AI
 - Ethical modeling & polarity navigation

## Useful for:
 - Consultants, coaches, facilitators, and system designers
 - Storytellers, educators, and regenerative thinkers
 - Strategists, SDD/BIMA practitioners, values-driven innovators

## Learn more:
 - [Dialectical Wheels Overview](https://dialexity.com/blog/dialectical-wheels-for-systems-optimization/)
 - [Wisdom Mining & Tokenomics](https://dialexity.com/blog/dialectical-token-dlt/)
 - [Dialectical Ethics](https://dialexity.com/blog/dialectical-ethics/)
 - [Earlier Work](https://dialexity.com/blog/wp-content/uploads/2023/11/Moral-Wisdom-from-Ontology-1.pdf)

# Development

## Contributors Welcome!

We invite developers, philosophers, cognitive scientists, and regenerative ecosystem builders to co-create with us.

## Setup

Behind the scenes we heavily rely on [Mirascope](https://mirascope.com/)

## Environment Variables

| Variable Name                    | Description                          | Example Value |
|----------------------------------|--------------------------------------|---------------|
| DIALEXITY_DEFAULT_MODEL          | Default model name for the framework | gpt-4         |
| DIALEXITY_DEFAULT_MODEL_PROVIDER | Model provider (required)            | openai        |

You can store these in a `.env` file or export them in your environment.

These will specify the default "brain" for your reasoning.

## Architecture

At the core of the dialectical framework is a dialectical wheel. It is a fancy semantic graph where nodes are statements or concepts and edges are relationships such as "opposite of," "complementary to," etc. To make the graph more readable, it's depicted as a 2D wheel.

| Simple                                              | More Complicated                                     |
|-----------------------------------------------------|------------------------------------------------------|
| ![Dialectical Wheel Diagram](https://raw.githubusercontent.com/dialexity/dialectical-framework/main/docs/wheel-scheme.png) | ![Dialectical Wheel Diagram](https://raw.githubusercontent.com/dialexity/dialectical-framework/main/docs/wheel-scheme2.png) |

The main architectural parts are:
- Wheel
- Wheel Segment
- Wisdom Unit
- Dialectical Component
- Transition


**Wheel** is composed of segments. Think of a dialectical wheel as a pizza, a segment is a slice of pizza. In the simplest case it represents some thesis (a statement, a concept, an action, a thought, an idea, etc.). A thesis can have positive and negative things related to it. Hence, a segment of a wheel is composed of these dialectical components: a thesis (T), positive side of that thesis (T+) and a negative side of that thesis (T-). In more detailed wheels, a segment could have more than 3 layers.

If we take two opposite segments, we get the basic (and the most important) structure: **Wisdom Unit** (half-wheel, verified by diagonal constraints: control statements). It's composed of:

| Dialectical Component | Description                      |
|-----------------------|----------------------------------|
| T-                    | Negative side of the main thesis |
| T                     | The thesis                       |
| T+                    | Positive side of the main thesis |
| A+                    | Positive side of the antithesis  |
| A                     | The antithesis                   |
| A-                    | Negative side of the antithesis  |

In a Wheel, segments next to each other are related. We wrap that relationship into a **Transition**. Practically, a Transition is a recipe for how to go from one segment to another in a way that we approach synthesis. Essentially, it shows how the negative side of a given thesis (Tn-) converts into the positive side of the following thesis (T(n+1)+). If we were to look at a wheel as a sliced pizza, the lines that separate the slices would be Transitions.

If we derive Transitions in a Wheel with only 2 segments (aka half-wheel), they are symmetrical and represent a special kind of Wisdom Unit, we call it Action (Ac) and Reflection (Re). As any Wisdom Unit, Action and Reflection must be verified by diagonal constraints as well.

## Prototyping & App Ideas

### Simple Win-Win Finder
![Win-Win Finder](https://raw.githubusercontent.com/dialexity/dialectical-framework/main/docs/b2c-mvp.png)

### Eye-Opener
Working beta product [Eye Opener](https://app.dialexity.com/aiapps/eye-opener). It's a tool that analyzes text and generates a visual map of its underlying structure and hidden assumptions. The core feature is a graph-like interface we call the Dialectical Wheel, that shows the delayed dialectical responses ("blind spots").

### Argument Inspector
Working beta product [Argument Inspector](https://dialexity.com/start). Useful for analysts and mediators/facilitators to deeper understand the case.

### Atlas of Feelings
[The Atlas of Feelings](https://dialexity.com/blog/atlas-of-feelings-character-qualities/) is the Plutchik's wheel converted into the „vortex“ model, whereby the most gentle emotions are inside of the wheel, whereas the rudest are outside. As everything is interconnected with dialectical rules, we can understand human nature better.

### "Spiral" Lila game
In [this blog post](https://dialexity.com/blog/spiral-lila-with-character-traits/) we explain how the ancient Lila (Leela) game has been elevated to a new level. 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dialexity/dialectical-framework",
    "name": "dialectical-framework",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "dialectics, dialectical-reasoning, synthesis, thesis-antithesis, ai, artificial-intelligence, llm, reasoning-framework, philosophy, logic, argumentation, conflict-resolution, decision-making, critical-thinking, semantic-graph, mirascope, pydantic, wisdom-units, polarity-reasoning",
    "author": "Evaldas Taroza",
    "author_email": "evaldas@dialexity.com",
    "download_url": "https://files.pythonhosted.org/packages/39/f1/97579de75211a8371530f7381e949b64213376006bef2a687f04f0a4f3bd/dialectical_framework-0.7.4.tar.gz",
    "platform": null,
    "description": "# Dialectical Reasoning Framework\nTurn stories, strategies, or systems into insight. Auto-generate Dialectical Wheels (DWs) from any text to reveal blind spots, surface polarities, and trace dynamic paths toward synthesis.\n DWs are semantic maps that expose tension, transformation, and coherence within a system\u2014whether narrative, ethical, organizational, or technological.\n\n## What It Does:\n - Converts natural language into Dialectical Wheels (DWs)\n - Highlights thesis\u2013antithesis tensions and feedback loops\n - Reveals overlooked leverage points and systemic blind-spots\n - Maps decisions, ethics, or mindsets across dialectical structures\n\n## Built for:\n - Systems optimization\n - Wisdom mining & decision diagnostics\n - Augmented intelligence / narrative AI\n - Ethical modeling & polarity navigation\n\n## Useful for:\n - Consultants, coaches, facilitators, and system designers\n - Storytellers, educators, and regenerative thinkers\n - Strategists, SDD/BIMA practitioners, values-driven innovators\n\n## Learn more:\n - [Dialectical Wheels Overview](https://dialexity.com/blog/dialectical-wheels-for-systems-optimization/)\n - [Wisdom Mining & Tokenomics](https://dialexity.com/blog/dialectical-token-dlt/)\n - [Dialectical Ethics](https://dialexity.com/blog/dialectical-ethics/)\n - [Earlier Work](https://dialexity.com/blog/wp-content/uploads/2023/11/Moral-Wisdom-from-Ontology-1.pdf)\n\n# Development\n\n## Contributors Welcome!\n\nWe invite developers, philosophers, cognitive scientists, and regenerative ecosystem builders to co-create with us.\n\n## Setup\n\nBehind the scenes we heavily rely on [Mirascope](https://mirascope.com/)\n\n## Environment Variables\n\n| Variable Name                    | Description                          | Example Value |\n|----------------------------------|--------------------------------------|---------------|\n| DIALEXITY_DEFAULT_MODEL          | Default model name for the framework | gpt-4         |\n| DIALEXITY_DEFAULT_MODEL_PROVIDER | Model provider (required)            | openai        |\n\nYou can store these in a `.env` file or export them in your environment.\n\nThese will specify the default \"brain\" for your reasoning.\n\n## Architecture\n\nAt the core of the dialectical framework is a dialectical wheel. It is a fancy semantic graph where nodes are statements or concepts and edges are relationships such as \"opposite of,\" \"complementary to,\" etc. To make the graph more readable, it's depicted as a 2D wheel.\n\n| Simple                                              | More Complicated                                     |\n|-----------------------------------------------------|------------------------------------------------------|\n| ![Dialectical Wheel Diagram](https://raw.githubusercontent.com/dialexity/dialectical-framework/main/docs/wheel-scheme.png) | ![Dialectical Wheel Diagram](https://raw.githubusercontent.com/dialexity/dialectical-framework/main/docs/wheel-scheme2.png) |\n\nThe main architectural parts are:\n- Wheel\n- Wheel Segment\n- Wisdom Unit\n- Dialectical Component\n- Transition\n\n\n**Wheel** is composed of segments. Think of a dialectical wheel as a pizza, a segment is a slice of pizza. In the simplest case it represents some thesis (a statement, a concept, an action, a thought, an idea, etc.). A thesis can have positive and negative things related to it. Hence, a segment of a wheel is composed of these dialectical components: a thesis (T), positive side of that thesis (T+) and a negative side of that thesis (T-). In more detailed wheels, a segment could have more than 3 layers.\n\nIf we take two opposite segments, we get the basic (and the most important) structure: **Wisdom Unit** (half-wheel, verified by diagonal constraints: control statements). It's composed of:\n\n| Dialectical Component | Description                      |\n|-----------------------|----------------------------------|\n| T-                    | Negative side of the main thesis |\n| T                     | The thesis                       |\n| T+                    | Positive side of the main thesis |\n| A+                    | Positive side of the antithesis  |\n| A                     | The antithesis                   |\n| A-                    | Negative side of the antithesis  |\n\nIn a Wheel, segments next to each other are related. We wrap that relationship into a **Transition**. Practically, a Transition is a recipe for how to go from one segment to another in a way that we approach synthesis. Essentially, it shows how the negative side of a given thesis (Tn-) converts into the positive side of the following thesis (T(n+1)+). If we were to look at a wheel as a sliced pizza, the lines that separate the slices would be Transitions.\n\nIf we derive Transitions in a Wheel with only 2 segments (aka half-wheel), they are symmetrical and represent a special kind of Wisdom Unit, we call it Action (Ac) and Reflection (Re). As any Wisdom Unit, Action and Reflection must be verified by diagonal constraints as well.\n\n## Prototyping & App Ideas\n\n### Simple Win-Win Finder\n![Win-Win Finder](https://raw.githubusercontent.com/dialexity/dialectical-framework/main/docs/b2c-mvp.png)\n\n### Eye-Opener\nWorking beta product [Eye Opener](https://app.dialexity.com/aiapps/eye-opener). It's a tool that analyzes text and generates a visual map of its underlying structure and hidden assumptions. The core feature is a graph-like interface we call the Dialectical Wheel, that shows the delayed dialectical responses (\"blind spots\").\n\n### Argument Inspector\nWorking beta product [Argument Inspector](https://dialexity.com/start). Useful for analysts and mediators/facilitators to deeper understand the case.\n\n### Atlas of Feelings\n[The Atlas of Feelings](https://dialexity.com/blog/atlas-of-feelings-character-qualities/) is the Plutchik's wheel converted into the \u201evortex\u201c model, whereby the most gentle emotions are inside of the wheel, whereas the rudest are outside. As everything is interconnected with dialectical rules, we can understand human nature better.\n\n### \"Spiral\" Lila game\nIn [this blog post](https://dialexity.com/blog/spiral-lila-with-character-traits/) we explain how the ancient Lila (Leela) game has been elevated to a new level. \n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A dialectical framework for augmented intelligence. AI reasoning powered with dialectics supports humans in: system optimization (psychology, engineering, business, politics, etc.); dispute resolution (mediation, conflicts, negotiations, etc.); decision-making (dilemmas, challenging situations, win-win, etc.).",
    "version": "0.7.4",
    "project_urls": {
        "Homepage": "https://github.com/dialexity/dialectical-framework",
        "Repository": "https://github.com/dialexity/dialectical-framework"
    },
    "split_keywords": [
        "dialectics",
        " dialectical-reasoning",
        " synthesis",
        " thesis-antithesis",
        " ai",
        " artificial-intelligence",
        " llm",
        " reasoning-framework",
        " philosophy",
        " logic",
        " argumentation",
        " conflict-resolution",
        " decision-making",
        " critical-thinking",
        " semantic-graph",
        " mirascope",
        " pydantic",
        " wisdom-units",
        " polarity-reasoning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "88c22f88ab7953ff4f2d2fd07ff08591f6d7ddce9654e47742b1ce35490ca1b2",
                "md5": "6515be967413f6d872b8749e888be111",
                "sha256": "bf7f6b417805d7284666fd8f110e1e4b63139dcf07039f5e9174dca7ba492b4b"
            },
            "downloads": -1,
            "filename": "dialectical_framework-0.7.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6515be967413f6d872b8749e888be111",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 108184,
            "upload_time": "2025-10-24T09:36:10",
            "upload_time_iso_8601": "2025-10-24T09:36:10.229445Z",
            "url": "https://files.pythonhosted.org/packages/88/c2/2f88ab7953ff4f2d2fd07ff08591f6d7ddce9654e47742b1ce35490ca1b2/dialectical_framework-0.7.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "39f197579de75211a8371530f7381e949b64213376006bef2a687f04f0a4f3bd",
                "md5": "8b28310e924f143bd714704195c8d177",
                "sha256": "a5722bef232259bd9f223ceb0fc23591f86bc2165afdab3aa2aee7d8b7ea9d6b"
            },
            "downloads": -1,
            "filename": "dialectical_framework-0.7.4.tar.gz",
            "has_sig": false,
            "md5_digest": "8b28310e924f143bd714704195c8d177",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 72367,
            "upload_time": "2025-10-24T09:36:11",
            "upload_time_iso_8601": "2025-10-24T09:36:11.481848Z",
            "url": "https://files.pythonhosted.org/packages/39/f1/97579de75211a8371530f7381e949b64213376006bef2a687f04f0a4f3bd/dialectical_framework-0.7.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-24 09:36:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dialexity",
    "github_project": "dialectical-framework",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dialectical-framework"
}
        
Elapsed time: 3.11481s