Skip to main content

coreason-connect

Project description

coreason-connect

The secure execution gateway for the CoReason ecosystem.

coreason-connect transforms the CoReason "Brain" (coreason-cortex) from a passive text generator into an active Agentic Workforce. It solves the "Last Mile" problem of Enterprise AI by securely executing actions (RPC) on behalf of specific human users.

License Build Status Code Style: Ruff Documentation

Installation

pip install coreason-connect

Note: For dependency management, we recommend using a virtual environment or tools like Poetry.

Features

  • MCP-First Architecture: Implements the Model Context Protocol (MCP) as the universal interface for forward compatibility with any Agentic Framework.
  • Dynamic Plugin Loading: Supports a "Glass Box" architecture where plugins are hot-loaded from local paths, ensuring isolation and security.
  • Delegated Identity: Uses RFC 8693 patterns to exchange workload identity for specific user tokens, preserving the Chain of Custody in audit logs.
  • Transactional Safety: Includes a "Spend Gate" that automatically suspends is_consequential: true actions (like purchases) until human approval is granted.
  • Extensible Modules: Built-in support and examples for:
    • Scientific Operations: Searching and purchasing literature (e.g., RightFind).
    • Productivity: Managing Microsoft 365 calendar and emails.
    • DevOps: Self-healing code via GitOps workflows.

For detailed requirements and architecture, see Product Requirements.

Usage

Here is a simple example of how to initialize the server and load plugins:

import asyncio
from coreason_connect.server import CoreasonConnectServer
from coreason_connect.config import AppConfig

async def main():
    # Initialize configuration (looks for connectors.yaml by default or env vars)
    config = AppConfig()

    # Create the server instance
    server = CoreasonConnectServer(config)

    # Start the server (this initializes plugins and the MCP server)
    # In a real deployment, this would likely run indefinitely or attach to a transport.
    await server.initialize()
    print("Coreason Connect Server initialized.")

    # Example: Listing available tools
    tools = await server.list_tools()
    for tool in tools:
        print(f"Tool: {tool.name} - {tool.description}")

if __name__ == "__main__":
    asyncio.run(main())

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

coreason_connect-0.2.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

coreason_connect-0.2.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file coreason_connect-0.2.0.tar.gz.

File metadata

  • Download URL: coreason_connect-0.2.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for coreason_connect-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5cf6d1c2c9f2ed64b1e512adf7865d9e3f214cf882a102b8dbc6b6cfde82eb08
MD5 ae769f738570e038a5d15f1a5ed96e6d
BLAKE2b-256 51b6784d285f9aadf4f1bf6432998c76d4849bba327ca1b3370928c2c0427350

See more details on using hashes here.

Provenance

The following attestation bundles were made for coreason_connect-0.2.0.tar.gz:

Publisher: publish.yml on CoReason-AI/coreason-connect

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

File details

Details for the file coreason_connect-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for coreason_connect-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 272e0e12ca165d60f2b1f18bdce029412b8a9cc041d1fc4704389ef4339f1450
MD5 ef860512cc2ad92291fc6aa7f18c45a5
BLAKE2b-256 fefed4ee810b8cabb1ffd922b2222f7bd21a08422e96944ae2d62dc188774f64

See more details on using hashes here.

Provenance

The following attestation bundles were made for coreason_connect-0.2.0-py3-none-any.whl:

Publisher: publish.yml on CoReason-AI/coreason-connect

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