Skip to main content

Intent Tensor Theory — Field-based compute substrate replacing SQL

Project description

ITT Field Store

Intent Tensor Theory — Field-based compute substrate replacing SQL

PyPI Docs

"Topological sort was the right solution for the hardware of 1979. The dependency chain is an unnecessary constraint." — WP-06


The idea

SQL runs queries sequentially on relational tables.
ITT runs queries simultaneously on a living field.

Instead of SELECT * FROM users WHERE role='admin', you inject an intent into the field and read which nodes activate above a threshold. Circular dependencies aren't errors — they're fixed points resolved by Banach contraction.

Math: Graph Laplacian Diffusion + Allen-Cahn Phase Separation + Banach Fixed-Point Convergence
Reference: WP-06: Death of the Dependency Chain


Install

pip install itt-field-store

With API server:

pip install itt-field-store[api]

Usage

Local (embedded, like SQLite)

from itt import FieldStore

store = FieldStore("my_store")

# Insert (replaces INSERT INTO)
store.table("users").insert([
    {"_id": "1", "name": "Alice", "role": "admin", "active": True},
    {"_id": "2", "name": "Bob",   "role": "user",  "active": True},
    {"_id": "3", "name": "Carol", "role": "admin", "active": False},
])

# Query (replaces SELECT * WHERE)
results = store.table("users").intent({"role": "admin"}).top(10).fetch()
for r in results:
    print(r["name"], r["_phi"])   # _phi is the field activation score

Stateful living field (the real ITT mode)

from itt import DeltaState

state = DeltaState("production_field")

# Absorb new data — field evolves, doesn't reset
state.absorb(new_records)

# Query with semantic intent
result = state.query("find all active administrators")

# Results above threshold
print(result.above_threshold(0.4))

# Convergence metadata
print(result.convergence_report())

# Anomaly detection — nodes in semantic tension
print(result.instability_mask())

# Persist
state.save("./my_field.itt")
state = DeltaState.load("./my_field.itt")

Remote client (like Supabase)

from itt import ITTClient

client = ITTClient("https://intent-tensor-theory-api.hf.space")

client.table("users").insert([{"name": "Alice", "role": "admin"}])
results = client.table("users").query({"role": "admin"}).top(5).fetch()

MCP Tool (callable by Claude, GPT, any LLM)

# Register in your LLM client
tools = client.tools()   # returns MCP tool definitions

# Or run the MCP server:
# python -m itt.mcp.server

SQL → ITT mapping

SQL ITT
CREATE TABLE store.table("name") (no schema needed)
INSERT INTO .insert(records)
SELECT * WHERE .intent({...}).fetch()
SELECT * LIMIT n .top(n).fetch()
UPDATE SET WHERE .upsert(id, patch)
DELETE WHERE .delete([ids])
Circular reference → ERROR Fixed point → converges
Sequential evaluation Simultaneous field update
No anomaly detection .instability_mask()

Deploy to HuggingFace Spaces

# Clone the repo, push to a new HF Space
git clone https://github.com/intent-tensor-theory/itt-field-store
cd itt-field-store
# push to HF Space → public API at your-space.hf.space

intent-tensor-theory.com · Coordinate System · Code Equations

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

itt_field_store-0.8.0.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

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

itt_field_store-0.8.0-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

Details for the file itt_field_store-0.8.0.tar.gz.

File metadata

  • Download URL: itt_field_store-0.8.0.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for itt_field_store-0.8.0.tar.gz
Algorithm Hash digest
SHA256 fe8a53422459f56347059b60b8d3e8605630deb4cb66e7669c021182e8e47372
MD5 9617ad7715920be15264ac255150b76f
BLAKE2b-256 921448d97a81a5a1ec6eef613edfdbd27578d98b064a5bc91bf56a5e4faab760

See more details on using hashes here.

File details

Details for the file itt_field_store-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for itt_field_store-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a3e74d5c8fa59eebc9ff1611e77a33a8778fd1229eb1b278737194a57c304d2
MD5 72eac8bcca254eed48e4537a42b2a2a0
BLAKE2b-256 eea70aaf7921a7fcf8a312d5aff6b71a698a7ca3ed09de6659ed7e862863117d

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