Skip to main content

Core engine for Ploston - Deterministic Agent Execution Layer

Project description

ploston-core

CI Python 3.12+ License: Apache-2.0

Core engine for Ploston - Deterministic Agent Execution Layer.

Overview

ploston-core contains the shared engine components that both OSS and Enterprise packages depend on. It provides:

Module Description
Engine Workflow execution engine with sequential, deterministic execution
Registry Tool and workflow registries with auto-discovery
MCP Model Context Protocol client connections
MCP Frontend MCP server frontend (stdio/HTTP transport)
API REST API framework (FastAPI-based)
Sandbox Python sandbox with 7-layer security model
Template Jinja2 template engine for parameter rendering
Telemetry Structured logging and metrics
Config Layered configuration with hot-reload
Errors Structured, actionable error handling
Plugins Extensible plugin framework

Installation

pip install ploston-core

Or with uv:

uv add ploston-core

Quick Start

from ploston_core.engine import Engine
from ploston_core.registry import ToolRegistry

# Create engine with tool registry
registry = ToolRegistry()
engine = Engine(registry=registry)

# Execute workflow
result = await engine.execute(workflow)

Documentation

Detailed documentation is available in the docs/ directory:

Concepts

Reference

Architecture

Development

Prerequisites

  • Python 3.12+
  • uv (recommended)

Setup

# Clone the repository
git clone https://github.com/ostanlabs/ploston-core.git
cd ploston-core

# Install dependencies
uv sync

# Run tests
uv run pytest tests/unit/ -v

# Run linting
uv run ruff check src/ tests/
uv run ruff format --check src/ tests/

Running Tests

# Unit tests
uv run pytest tests/unit/ -v

# With coverage
uv run pytest tests/unit/ -v --cov=ploston_core --cov-report=term-missing

Related Packages

Package Description
ploston OSS distribution (core + CLI)
ploston-cli Command-line interface
ploston-enterprise Enterprise features

License

Apache-2.0 - see LICENSE for details.

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

ploston_core-1.3.0.tar.gz (182.6 kB view details)

Uploaded Source

Built Distribution

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

ploston_core-1.3.0-py3-none-any.whl (184.8 kB view details)

Uploaded Python 3

File details

Details for the file ploston_core-1.3.0.tar.gz.

File metadata

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

File hashes

Hashes for ploston_core-1.3.0.tar.gz
Algorithm Hash digest
SHA256 23ab43035af1b46af229a1d97704733947111fd7c9bce559046ebef47ab50d63
MD5 4e9363060b867fabf5687d01b3efe376
BLAKE2b-256 264c219f81ea39c7c0c86d7837f7b0ba5da3932d2af56e346da3ce6f59502090

See more details on using hashes here.

Provenance

The following attestation bundles were made for ploston_core-1.3.0.tar.gz:

Publisher: publish.yml on ostanlabs/ploston-core

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

File details

Details for the file ploston_core-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: ploston_core-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 184.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ploston_core-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ba53fc9269795dbac4a5b247828018301bcd100573a0b1e9ae2f0b847222446
MD5 d5867f04b95530834600f0fea3b434f8
BLAKE2b-256 c84f7734e746e18e4ac4c1e08ef25beadcf8cfb1f64c9d7efd7ac1b1c1b9b213

See more details on using hashes here.

Provenance

The following attestation bundles were made for ploston_core-1.3.0-py3-none-any.whl:

Publisher: publish.yml on ostanlabs/ploston-core

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