Skip to main content

Neurovn SDK

Python SDK and CLI for tracing agentic AI workflows.

Installation

The package is published on PyPI as neurovn.

python -m venv .venv
source .venv/bin/activate
pip install --upgrade neurovn

Verified release: neurovn==0.1.1.

If you are contributing from this monorepo and need an editable install:

cd neurovn-sdk
pip install -e .

Point the SDK at the hosted Neurovn backend:

export NEUROVN_API_URL=https://agentic-flow.onrender.com

Quick Start

CLI Integration

NEUROVN_API_URL=https://agentic-flow.onrender.com neurovn trace ./workflow.json --workflow-name "My Workflow" --canvas-name "My Workflow" --source cli

Module entrypoint fallback:

NEUROVN_API_URL=https://agentic-flow.onrender.com python -m neurovn trace ./workflow.json --workflow-name "My Workflow" --canvas-name "My Workflow" --source cli

Decorator Integration

from neurovn import trace

@trace.agent(name="Research Agent", model="gpt-4o", provider="OpenAI")
async def research(query: str):
    response = await openai.chat.completions.create(...)
    return response

@trace.tool(name="Web Search", tool_id="mcp_web_search", tool_category="mcp_server")
async def web_search(query: str) -> str:
    return "search results"

with trace.session("My Workflow", source="decorator", canvas_name="My Workflow"):
    result = await research("latest AI updates")

if trace.last_result:
    print(trace.last_result["canvas_id"])

Features

  • Trace Decorators: Instrument Python functions with @trace.agent and @trace.tool
  • CLI: Emit workflow JSON files to Neurovn backend
  • Session Management: Group multiple calls into a workflow session and print a terminal summary for explicit sessions
  • Usage Tracking: Capture token usage from LLM responses

Documentation

For full integration guides and examples, visit Neurovn Docs.

Notes

  • External users should install from PyPI. The editable install path is contributor-only.
  • neurovn trace ... and python -m neurovn trace ... are equivalent entrypoints.
  • Local trace persistence depends on the backend being reachable and configured with a valid Supabase service-role key.

License

MIT

Metadata

Release files for neurovn 0.1.1

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

Source distribution (sdist)

Source distribution for neurovn 0.1.1
File Size Uploaded Provenance Actions
neurovn-0.1.1.tar.gz 13.0 kB Without provenance Details for neurovn-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neurovn 0.1.1
File Interpreter ABI Platform Actions
neurovn-0.1.1-py3-none-any.whl Python 3 none any Details for neurovn-0.1.1-py3-none-any.whl

Total release size: 23.0 kB

Release files / neurovn-0.1.1.tar.gz

Download URL neurovn-0.1.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dfd390fcabbc4a79900a76c86f3ad6703e4e05bb150984a28b79db72b4a440ca
BLAKE2b-256 checksum
How to use checksums
27bb11027bb116f6e545b99c4c282095b93b5f751ea61980654eebce6374b247
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / neurovn-0.1.1-py3-none-any.whl

Download URL neurovn-0.1.1-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d16dffd49d0567dbcbf8dfb7a844583de6b9a09292537f69f455b533b0ba39ea
BLAKE2b-256 checksum
How to use checksums
c32f6edfe4156940f10f7a8587b7d2edf078c37827cfe6219160a343d164d4ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for neurovn 0.1.1

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

0.1.1 This release

2 release files 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