Skip to main content

A hypothesis-based orchestration framework built on AutoGen and based on MagenticOne

Project description

Cogentic

Cogentic is an AutoGen group chat, based on the Magentic One orchestration pattern. It differs from the original Magentic One in that it explicitly forces hypothesis creation and testing to answer a question.

Purpose

Manages a group chat between AI agents using a scientific hypothesis-testing approach.

Key Components

  • Uses pydantic models for data validation and serialization
  • Fact management: Tracks facts and evidence during the conversation
  • Plan management: Maintains hypotheses and tests, and re-plans whenever a stall occurs or a test is completed

Installation

$> pip install cogentic

Usage

To create a model client for cogentic, you'll need to be familiar with autogen.

See AutoGen AgentChat Quickstart for details on how to set up your environment and create a model client.

You can then follow the sample to get started with a CogenticGroupChat.

Development Installation

$> git clone https://github.com/knifeyspoony/cogentic.git
$> cd cogentic
$> uv sync

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

cogentic-0.1.7.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

cogentic-0.1.7-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file cogentic-0.1.7.tar.gz.

File metadata

  • Download URL: cogentic-0.1.7.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cogentic-0.1.7.tar.gz
Algorithm Hash digest
SHA256 23ba740b114dac8a7a6c1c07297627f40a52fa96183263eb3d220ffdeae6a38f
MD5 dac0b01722d7517e3f4c267382d512d2
BLAKE2b-256 91fcb9c844de91e75dc309563380d92b07fc0339c0cdec19047bbdc92df9e7cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for cogentic-0.1.7.tar.gz:

Publisher: python-publish.yml on knifeyspoony/cogentic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cogentic-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: cogentic-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cogentic-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3481e3aa50833cc4a1678c4e0faf394bb5d16077c060ef8cafb7c68dc371186a
MD5 31ec7d91526dda10dd9affbcd5f5efad
BLAKE2b-256 69c5cc818c3619061cbd00959d6c51da3f5e919c33bff2eeee86a66159fb53d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cogentic-0.1.7-py3-none-any.whl:

Publisher: python-publish.yml on knifeyspoony/cogentic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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