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.5.tar.gz (21.5 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.5-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cogentic-0.1.5.tar.gz
  • Upload date:
  • Size: 21.5 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.5.tar.gz
Algorithm Hash digest
SHA256 8bb40589bddc74c5adc0c8f8b263273d35a343e08c23a8d2d5ec17c7e3817e8c
MD5 6c25dc7564d6417ccf406a0ae4797b6b
BLAKE2b-256 ec81df1ace29fa94df7251c55a8adf077a0dbea3dbe77049219315c956c2ac97

See more details on using hashes here.

Provenance

The following attestation bundles were made for cogentic-0.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: cogentic-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 32.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 525ff35795cc3ec9322583e8f0988e78604f04f10f3b521c5c5eca58093eab80
MD5 5b192905b5e10e25108915dbc6f2ee0f
BLAKE2b-256 a628eb4f5002ad3ae07b28e3dbe6067cb1a1a656a0b5b5701bbae94a0f6cf194

See more details on using hashes here.

Provenance

The following attestation bundles were made for cogentic-0.1.5-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