Skip to main content

cogext SDK

Track commitments made by your AI agents — automatically.

Install

pip install cogext

30-second quickstart

from cogext import track, CogextClient
import os

class MyAgent:
    def run(self, prompt: str) -> str:
        return "I will send the report by Tuesday EOD"

agent = MyAgent()
tracked = track(
    agent,
    api_key=os.environ["COGEXT_API_KEY"],
    user_id=os.environ["COGEXT_USER_ID"],
    agent_id="my-agent-001",
)

# Any output from .run() that contains a commitment is automatically tracked
result = tracked.run("Summarise our meeting")
print(result)  # agent output, unmodified

# Fetch open commitments
import asyncio
client = CogextClient(
    api_key=os.environ["COGEXT_API_KEY"],
    user_id=os.environ["COGEXT_USER_ID"],
)
commitments = asyncio.run(client.get_commitments())
print(commitments)

Environment variables

Variable Description
COGEXT_API_KEY Your API key (any non-empty string in v1)
COGEXT_USER_ID UUID that identifies the end user
COGEXT_BASE_URL Override the API base URL (default: https://cogext.onrender.com/api/v1)

Supported agent methods

track() intercepts: .run(), .invoke(), .chat(), .complete(), and __call__. Works with sync and async methods. Never raises — errors are logged as warnings.

License

Proprietary. Copyright (c) 2026 Yamin / THRYVIX. All rights reserved.

The COGEXT SDK is part of the COGEXT commercial product and is not open source. For commercial licensing, contact hello@cogextai.com

Metadata

Release files for cogext 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cogext 0.2.2
File Size Uploaded Provenance Actions
cogext-0.2.2.tar.gz 7.3 kB Without provenance Details for cogext-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 14.1 kB

Release files / cogext-0.2.2.tar.gz

Download URL cogext-0.2.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
353b33e9aef07a9909b0faedd183632dc745abb351b4f901f62aa45d3127c99e
BLAKE2b-256 checksum
How to use checksums
28fc5cdef4df521f65951f3c00861d3194652398229ad7614998c874f6fef11f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / cogext-0.2.2-py3-none-any.whl

Download URL cogext-0.2.2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78e70a3fd921e225ecf940a61b8028e0f461b978a851c802e5b0a5e602e38311
BLAKE2b-256 checksum
How to use checksums
9f367345397b8ba38312f981b14f2fc421f5202f10e276d312238b25af43bcc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for cogext 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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