Skip to main content

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 the server and CLI 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
Package Description
ploston OSS distribution (core + CLI)
ploston-cli Command-line interface

Architecture decisions

The design decisions behind Ploston are recorded as ADRs: https://docs.ploston.ai/adr/

License

Apache-2.0 - see LICENSE for details.

Disclaimer

This project is developed independently in a personal capacity and is not affiliated with, endorsed by, or connected to any employer. No proprietary or confidential information from any employer has been used in this project.

Metadata

Release files for ploston-core 1.7.0

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

Built distribution (wheel)

Table of built distributions (wheels) for ploston-core 1.7.0
File Interpreter ABI Platform Actions
ploston_core-1.7.0-py3-none-any.whl Python 3 none any Details for ploston_core-1.7.0-py3-none-any.whl

Release files / ploston_core-1.7.0-py3-none-any.whl

Download URL ploston_core-1.7.0-py3-none-any.whl
Size 436.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52e40a6178850d18d80ba90fcf306cd5b22b7afa942332f5a457030825af484f
BLAKE2b-256 checksum
How to use checksums
c504759dc1a6339d4ba4c1b2b3da5e950d58cc51b0b7bef55989d4503cb751ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ploston-core 1.7.0

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.

Release history Release notifications | RSS feed

This release

1.7.0 This release

1 release file No provenance

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