Skip to main content

In-memory virtual base for multi-agent intelligence — ephemeral, deterministic, thread-safe, zero external dependencies

Project description

OpenInternet

In-memory virtual base for multi-agent intelligence. Zero-dependency, ephemeral, deterministic, and thread-safe.


Features

  • VirtualBase — A self-contained, in-memory platform that manages agents, knowledge objects, graph relationships, and message routing
  • VirtualAgent — Deterministic agents with SHA256-based DIDs, seed-based signing, task handlers, and a fluent async API (publish_many, async_ask, async_publish, async_query)
  • Agent Discovery — Find agents by capability, name prefix, or tag using ScalableAgentRegistry with inverted indexes, a trie, and a Bloom filter
  • Vector Knowledge Store — 256-partition PartitionedVectorIndex with pre-normalized embeddings, metadata filters, and inverted index acceleration
  • Graph Relationships — Thread-safe AdjacencyMap with BFS traversal and evidence chain following
  • HyperLogLog — Probabilistic cardinality estimation with LinearCounting correction for sparse registers
  • Message Protocol — Rich messages with request_id, error_code enum, timeout_seconds, timestamp, and reply_to
  • Snapshot/Restore — Full serialization and deserialization of base state
  • Thread SafetyRLock on all stores and the base itself
  • Zero External Dependencies — Pure Python, no Docker, no databases, no network services

Quick Start

from openintenet import VirtualBase

base = VirtualBase("MyNetwork")
alice = base.create_agent("Alice", ["research", "qa"])
bob = base.create_agent("Bob", ["translation"])

alice.publish("Climate data shows warming trends.", tags=["climate"])
results = alice.query("climate")
reply = alice.ask(bob, "Translate 'hello' to French")

agents = alice.discover_agents(capability="research")

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

openintenet-0.1.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

openintenet-0.1.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file openintenet-0.1.1.tar.gz.

File metadata

  • Download URL: openintenet-0.1.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for openintenet-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4346d68825f4e0418eed418737a812d41484d90a54d4eb42c2d3bd5c414e3836
MD5 e2155a18666d72015233662d93dec345
BLAKE2b-256 461ecf3cdfa6cf29a22e60ccb1ba030b737edd7f84e8e4408e39adad247f3945

See more details on using hashes here.

File details

Details for the file openintenet-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: openintenet-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for openintenet-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44961f911641c5f3ef2938f954546f8ae574dd4eed13986f71b49dfeb9b4186b
MD5 8f003e501dfc72e3d59190e2d51d5c61
BLAKE2b-256 2dc94774bb31b3d485ec0c6e69d1e50ecb2829839c53137f294f3d06def0d8b3

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