Skip to main content

spatialagents

The in-app AI conversation runtime BioCognia's products share (Plexora, SCIMAP Pro): the streamed model call through the BioCognia AI gateway, a tool loop with deferred tool schemas, approvals for source-file writes and deletes, sub-agents, deterministic compaction, a tool-result cache, offloaded results, the conversation store, the local trace and a terminal loop.

A product binds it with three things and never the other way round:

  • a spatialagents.backend.ToolBackend: what its tools are and how one runs (catalog, definition, permission(tool, arguments), invoke, ...);
  • a spatialagents.runner.ChatProfile: its prompt content, task names and wording;
  • its places on disk and its version, given to each store.
from biocognia.gateway import TokenSource
from spatialagents.conversations import ChatService, ConversationStore
from spatialagents.gateway import GatewayClient
from spatialagents.policy import Policy

service = ChatService(ConversationStore(root / "conversations"),
                      gateway_factory=lambda: GatewayClient(TokenSource(LICENSING)),
                      backend_factory=MyBackend, profile=MY_PROFILE)
started = service.start(Policy())

Dependencies: the standard library, biocognia, pydantic, pyyaml. No mcp, anndata, Flask or numpy, and nothing from either product; import spatialagents imports nothing beyond the standard library.

Tests need no product, no network and no model: spatialagents.testing has FakeGateway (the gateway's wire and a prompt-cache emulator), FakeToolBackend and ScriptedBrain, and registers inert pytest fixtures.

UV_PROJECT_ENVIRONMENT=$HOME/.venvs/spatialagents uv sync --all-groups
BIOCOGNIA_OFFLINE=1 $HOME/.venvs/spatialagents/bin/python -m pytest -q -p no:cacheprovider

Metadata

Release files for spatialagents 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 spatialagents 0.1.1
File Size Uploaded Provenance Actions
spatialagents-0.1.1.tar.gz 163.4 kB Without provenance Details for spatialagents-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 279.8 kB

Release files / spatialagents-0.1.1.tar.gz

Download URL spatialagents-0.1.1.tar.gz
Size 163.4 kB
Tags Source
SHA-256 checksum
How to use checksums
276c518ac4c3b98ec759a10ec24d13bc8424966008967e4814b53809d913a0a4
BLAKE2b-256 checksum
How to use checksums
ba1888afb7c659133d1e69d77d90101a8e9cf9ba9a3688eb98428794a4428166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

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

Security for spatialagents 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.

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