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

Create your Cell (your secure identity)

neuronum create-cell

or

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

To remove a tool from Neuronum:

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.1.0.tar.gz (17.0 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.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for neuronum-12.1.0.tar.gz
Algorithm Hash digest
SHA256 8438e227c83030edb40ab2b102763c6ff3c938b6d94ccf5321dfb32d7172a7fa
MD5 12136062327226a829a085dd23d8f0aa
BLAKE2b-256 8ff73fd176b23a017a33e78e9ec2c574f1a5fad3e84a7c2cbc4ee02f1ab13386

See more details on using hashes here.

File details

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

File metadata

  • Download URL: neuronum-12.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7cd1eef9c75c4bc086337e9c73a2183be2a950885b87db074df93b6077bf98
MD5 0d1cc4d4832667aa0b23c2c267416621
BLAKE2b-256 5961427255d9bc94855766b128b6ff39ac47fe657fbd737f885a5fe1dbfda993

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