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 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

Related Packages

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ploston_core-1.6.1-py3-none-any.whl (413.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ploston_core-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 413.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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}

File hashes

Hashes for ploston_core-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbda273a8cdd8505e518992312c0a311b5ea0ffa58a3b6965fea7edfee156328
MD5 765d82518f5c08f2822ae2604b6fafb0
BLAKE2b-256 e3dca5d3760d4c6a8588cdeda3a8485770c5d0f41d58a5c113225bb8adc27ca9

See more details on using hashes here.

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