Skip to main content Switch to mobile version praxo-core 0.14.0 PRAXO-CORE (praxocore): embeddable Python AI agent framework with policy, human-in-the-loop approvals, checkpoints, and tool calling.
pip install praxo-core==0.14.0 Copy PIP instructions
PRAXO-CORE is a dependency-free Python framework for building tool-using AI agents. It provides the agent runtime, not a model or hosted service, so you keep control of your models, tools, storage, and sandboxing.
It is for teams that want a small, explicit agent loop instead of a large orchestration platform:
Async-first models, tools, events, and sessions.
Policy hooks, approvals, path checks, PII redaction, and call limits.
Context budgets, checkpoints, middleware, and fallback models.
Streaming, cancellation, and OpenAI-compatible, Anthropic, and Gemini adapters.
No runtime dependencies; Python 3.11 or newer.
PRAXO-CORE (also written praxocore) provides an embeddable, MIT-licensed agent framework for Python, with tool calling, policy hooks, human-in-the-loop approval, checkpoints, and execution events. Use the language-specific scope and verification evidence below; a package listing does not establish Go feature parity or production readiness.
Install the published package:
pip install praxo-core==0.13.0 Then run the smallest deterministic example:
Consumer starter: explicit tool scope and a deny check.
Live model: connect an OpenAI-compatible endpoint and register get_time.
See the Python documentation for the full API and the language matrix for current scope.
Runnable examples live under language/python/examples.
Tutorials and Reference Applications
Scenario tutorials are bounded teaching slices. Reference applications are portfolio integrations whose end-to-end acceptance remains in the roadmap.
Index: language/python/Tutorial.
Reference Applications
No accepted end-to-end reference application is recorded for Python yet. Candidate goals are tracked in the reference application portfolio.
Planning context: Tutorial Plan, 100 candidate agent scenarios, and Tutorial Catalog. Chinese: 教程计划, 候选场景, 教程目录.
X: https://x.com/axisvela
Weibo: https://weibo.com/u/1936025761
LinkedIn: https://www.linkedin.com/company/axisvela/
Facebook: https://www.facebook.com/profile.php?id=61596905732406
YouTube: https://www.youtube.com/@axisvela
Discord: https://discord.com/channels/1575163993767809064/1575164343148875977
GitHub Discussions: https://github.com/axisvela/praxo-core/discussions
GitHub Issues: https://github.com/axisvela/praxo-core/issues
Documentation: https://axisvela.github.io/praxo-core/
Architect: https://axisvela.architect.pub
Registry and Coding-Agent Entry
Get started, prerequisites, and installation: language documentation
Examples: runnable language-specific examples; see each README for prerequisites and verification.
Scenario tutorials: read the scope and validation status; source is not portfolio acceptance.
Reference applications: no language-specific accepted end-to-end application recorded; see the tutorial catalog.
Registry introduction: REGISTRY.md
Machine-readable entry: llms.txt and llms.md
Coding-agent contract: docs/getting-started/coding-agents.md
Community: X · Weibo · LinkedIn · Facebook · YouTube · Discord · GitHub Discussions · GitHub Issues · Documentation · Architect
pip install praxo-core==0.13.0 For a source checkout:
pip install ./language/python Quickstart
For a complete application with explicit tool scope, policy denial tests, and virtual-environment package checks, use the independent Python consumer.
import asyncio from praxo.agent import Agent, AgentOptions, Session from praxo.event import Event from praxo.model import Message, Response, Usage from praxo.tool import FuncTool, Registry class EchoModel: async def generate(self, request): return Response(message=Message(role="assistant", content="hello")) class LogSink: async def emit(self, event: Event) -> None: print(event.to_wire()) async def main() -> None: tools = Registry() tools.register(FuncTool("echo", "Echo input", lambda args: args)) agent = Agent( AgentOptions(model=EchoModel(), tools=tools, events=LogSink()) ) result = await agent.run(Session(id="session-1"), "hi") print(result.output, result.steps, result.usage) asyncio.run(main()) What you get
Harmovela event sink
HarmovelaSink posts lifecycle events to {base_url}/events as JSON envelopes with spec_version, id, type, source, created_at, and a payload that merges the event data with session_id and run_id when present.
from praxo.adapters.harmovela import HarmovelaSink sink = HarmovelaSink("http://127.0.0.1:8790/aep/api") agent = Agent(AgentOptions(model=EchoModel(), events=sink)) Pass transport to run without network access; it receives (method, url, headers, body) and returns (status, body). Limits: the sink adds no authentication, retries, buffering, acknowledgements, ordering, or exactly-once delivery. Filter sensitive event data at the caller, and use HTTPS for remote endpoints.
MCPClient connects to a local MCP server over newline-delimited JSON-RPC 2.0, runs the initialize / notifications/initialized handshake, lists tools with pagination checks, and calls tools through the Core registry seam.
from praxo.adapters.mcp import MCPClient, MCPServerConfig from praxo.tool import Registry config = MCPServerConfig(command="my-mcp-server", args=["--stdio"]) async with MCPClient(config) as client: tools = await client.list_tools() result = await client.call_tool("search", {"query": "praxo"}) registry = Registry() await client.register_tools(registry) list_tools() follows nextCursor, preserves inputSchema on each MCPTool, and rejects repeated cursors and duplicate names. call_tool() returns structuredContent when present, otherwise a text string or an ordered list of text blocks; isError results raise MCPToolError. Registering tools does not bypass policy: the agent still authorizes each tool.invoke before calling the registered adapter. Limits: stdio only; no hosted service, authentication, sandboxing, schema promotion, resources, prompts, sampling, or server-initiated requests. Tool output is untrusted. Timeouts send notifications/cancelled, but local cancellation does not prove remote work stopped. MCP failures use MCP_* codes such as MCP_PROTOCOL, MCP_TRANSPORT, MCP_HANDSHAKE, MCP_TIMEOUT, MCP_PAGINATION, MCP_DUPLICATE_TOOL, MCP_TOOL_ERROR, MCP_RPC, and MCP_CLOSED; Registry.specs() still carries only names and descriptions, so read MCPTool.input_schema when you need the model-facing schema.
The normative contract is spec/; Go remains the reference implementation. This package supports SPEC_VERSION 0.2.0 and passes all eleven conformance vector groups. Source tag python/v0.14.0 is published on PyPI as praxo-core==0.13.0; 0.14.0 is the next source release. See CHANGELOG.md for upgrade notes. VFS is not yet implemented; see the support policy for current scope.
Python 3.11 or newer
No runtime dependencies
Wire codecs preserve the Go names, including image_url, runId, contentBlocks, and plugin plugin_id.
From this directory:
python conformance/run.py python -m unittest discover -s tests -v Both commands read ../../spec/vectors/*.json. A released Core implementation must pass every vector and keep spec/parity.md current.
API Reference and Build
See API.md. Refresh the checked-in symbol snapshot after a public API change:
python api-snapshot.py python api-snapshot.py --check python api-signatures.py --check python -m build --wheel --sdist . The name snapshot and signature snapshot are checked independently. The signature baseline covers class constructors, dataclass fields/defaults, methods, properties, functions, and exported constants. Both are source-API gates, not runtime or ABI guarantees.
CI installs the built wheel and sdist into separate clean virtual environments and runs tests/installed_smoke.py from outside the source tree. This verifies the packaged artifacts, not the checkout. It does not prove PyPI publication or installation from a package registry.
praxo.ProcessHost speaks the framework JSON-Lines process plugin contract with token authentication, health handshake, invocation timeout, cancellation, and typed call errors. See docs/guides/plugins.md.
Released: Dec 4, 2026
Both files in this release have provenance metadata.
View provenance details
MIT View SPDX License List
praxo-core praxocore python ai-agents agent-runtime agent-framework llm tool-calling tool-authorization policy-enforcement human-in-the-loop checkpoint embeddable mcp opentelemetry structured-output streaming
Programming Language Python :: 3
Topic Software Development :: Libraries :: Application Frameworks
Release files for praxo-core 0.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 385.4 kB
Release files / praxo_core-0.14.0.tar.gz
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Release files / praxo_core-0.14.0-py3-none-any.whl
Security for praxo-core 0.14.0
Both files in this release have been uploaded with provenance metadata.
With provenance praxo_core-0.14.0.tar.gz Dec 4, 2026
With provenance praxo_core-0.14.0-py3-none-any.whl Dec 4, 2026
Attestation for praxo_core-0.14.0.tar.gz
Attestation for praxo_core-0.14.0-py3-none-any.whl
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
Dec 4, 2026 2 release files Full provenance
Nov 30, 2026 2 release files Full provenance
Nov 29, 2026 2 release files Change of provenance
Nov 27, 2026 2 release files Full provenance
Nov 25, 2026 2 release files Full provenance
Nov 20, 2026 2 release files Full provenance
Nov 18, 2026 2 release files Full provenance
Nov 15, 2026 2 release files Full provenance
Nov 14, 2026 2 release files Full provenance
Nov 12, 2026 2 release files Full provenance
Nov 10, 2026 2 release files Full provenance
Nov 8, 2026 2 release files Full provenance
Nov 2, 2026 2 release files Full provenance
Oct 31, 2026 2 release files Full provenance
Oct 30, 2026 2 release files Full provenance
Oct 28, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 1274d9b











