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.1.0.tar.gz (17.1 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.1.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coreason_connect-0.1.0.tar.gz
  • Upload date:
  • Size: 17.1 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.1.0.tar.gz
Algorithm Hash digest
SHA256 6d440bfc77589a9dc73b69c931225b67af564ba861903ffccd3a872580bad9ef
MD5 1ffb459ee2a3668d47549fb5b55599b4
BLAKE2b-256 05ca5ee20f51cf72d87493923b0c5e23dcdb3b7d32bb4af3f4349471c8f852e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for coreason_connect-0.1.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for coreason_connect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9584389d6831ab206a6e49ac08e87b8960cc4832eb928df86dd4d28e8c1a958f
MD5 9f306a50e88eebae78e2a05d87eb624b
BLAKE2b-256 5385d433a33b0a6684fde0db0e73d6b8d776e5f76d351bc7d1a8450a5cd2cfa3

See more details on using hashes here.

Provenance

The following attestation bundles were made for coreason_connect-0.1.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