Skip to main content

Neuronum ceLL SDK

Project description

Neuronum

Neuronum ceLL SDK

Website Documentation PyPI Version
Python Version License


A Getting Started into the Neuronum ceLL SDK

In this brief getting started guide, you will:


About ceLL SDK

The ceLL SDK is the official Python ecosystem to develop and publish custom Tools for the Neuronum ceLL Server and lets you integrate the ceLL API to interact with your Agent from existing projects

Requirements


Connect To Neuronum

Installation

pip install neuronum

Connect an existing Cell (your secure identity)

neuronum connect-cell

Create A Tool

Neuronum ceLL Tools are MCP-compliant (Model Context Protocol ) plugins that extend your Agent's (Neuronum ceLL) functionality, enabling it to interact with external data sources and systems.

Initialize a Tool

neuronum init-tool

You will be prompted to enter a tool name and description (e.g., "Test Tool" and "A simple test tool"). This will create a new folder named using the format: Tool Name_ToolID (e.g., Test Tool_019ac60e-cccc-7af5-b087-f6fcf1ba1299)

This folder will contain 2 files:

  1. tool.config - Configuration and metadata for your tool
  2. tool.py - Your Tool/MCP server implementation

Example tool.config:

{
  "tool_meta": {
    "tool_id": "019ac60e-cccc-7af5-b087-f6fcf1ba1299",
    "version": "1.0.0",
    "name": "Test Tool",
    "description": "A simple test tool",
    "audience": "private",
    "logo": "https://neuronum.net/static/logo_new.png"
  },
  "legals": {
    "terms": "https://url_to_your/terms",
    "privacy_policy": "https://url_to_your/privacy_policy"
  },
  "requirements": [],
  "variables": []
}

Example tool.py:

from mcp.server.fastmcp import FastMCP

# Create server instance
mcp = FastMCP("simple-example")

@mcp.tool()
def echo(message: str) -> str:
    """Echo back a message"""
    return f"Echo: {message}"

if __name__ == "__main__":
    mcp.run()
    asyncio.run(main())

Update a Tool

After modifying your tool.config or tool.py files, submit the updates using:

neuronum update-tool

Delete a Tool

neuronum delete-tool

Integrate ceLL API

Send a simple prompt to your ceLL Server using Neuronum Transmitters (TX)

import asyncio
from neuronum import Cell

async def main():
    
    async with Cell() as cell: 

        # Build the data payload
        data = {
          "type": "prompt",
          "prompt": "Explain what a black hole is in one sentence"
        }

        # Use activate_tx() if you expect a response from your ceLL Server
        tx_response = await cell.activate_tx(data)
        print(tx_response)

        # Stream data to your ceLL Server (no response expected)
        await cell.stream(data)

if __name__ == '__main__':
    asyncio.run(main())

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

neuronum-12.2.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

neuronum-12.2.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file neuronum-12.2.0.tar.gz.

File metadata

  • Download URL: neuronum-12.2.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for neuronum-12.2.0.tar.gz
Algorithm Hash digest
SHA256 878093c61300dadeb1029acb437fddd90dde1053a57783103b8a9d63cc84af6f
MD5 c221f6d0657680b7d2a24056e65100e0
BLAKE2b-256 90cd327bba0d7e4169262d64c37491ef3209bdbd896fe1d2dc54742b1d67a14d

See more details on using hashes here.

File details

Details for the file neuronum-12.2.0-py3-none-any.whl.

File metadata

  • Download URL: neuronum-12.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for neuronum-12.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a30055eeb72af5e8abd9d801eae3e0defc8378e567ab9add5ab8f04d8e03d622
MD5 1cc242d7953d735cea53d8493cbcba0c
BLAKE2b-256 46fa8c8e54ee3415c731952ea2b90aa480f10bedb88ceea76f94f7c79d475157

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