Skip to main content

Neurovn SDK and CLI for tracing agentic AI workflows

Project description

Neurovn SDK

Python SDK and CLI for tracing agentic AI workflows.

Installation

The package name is neurovn.

pip install neurovn

If you are working from this monorepo before publishing, install it in editable mode:

cd neurovn-sdk
pip install -e .

Quick Start

Decorator Integration

from neurovn import trace

@trace.agent(name="Research Agent", model="gpt-4o", provider="OpenAI")
async def research(query: str) -> str:
    return "research results"

@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"):
    result = await research("latest AI updates")

CLI Integration

python -m neurovn trace ./workflow.json --workflow-name "My Workflow" --source cli

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
  • Usage Tracking: Capture token usage from LLM responses

Documentation

For full integration guides and examples, visit Neurovn Docs.

License

MIT

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

neurovn-0.1.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

neurovn-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file neurovn-0.1.0.tar.gz.

File metadata

  • Download URL: neurovn-0.1.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for neurovn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 81c05ef7e2cbdca077919c4f022c5d2f20421b73712546e5405dccba9e1d822f
MD5 d7519f584612c949fe1cfb660adc0004
BLAKE2b-256 75a9e300178e1ebf381c4fa85ce3f3d7d3458dea5d705ef294c256be72ce952d

See more details on using hashes here.

File details

Details for the file neurovn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neurovn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for neurovn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ebd90ea2b238293028e16c865716074343ca8b829ede149275affeb1a6f80f7
MD5 382aa68fc83675a11933633ffadea108
BLAKE2b-256 37500dd7aed9775b3aec31aa8012bffd2fe95647bc78435d0022f0f86fe940ea

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