Skip to main content

Agents see files. You see architecture. dotscope gives agents the architecture.

Project description

Dotscope: The Physics Engine for AI Coding Agents

If you've used AI coding agents (Claude, Cursor, Windsurf), you've probably watched them blindly hallucinate an import or break a downstream service because they don't understand the blast radius of their changes. Standard search is lexically blind.

We built Dotscope to fix this. It’s a bare-metal structural compiler written in Rust that maps the explicit dependencies and temporal coupling (Git history) of your codebase, and force-feeds that "architectural gravity" into the agent's context window. The agent just stops breaking things.

Supported natively via the Model Context Protocol (MCP) on Cursor, Windsurf, and Claude Desktop, Dotscope operates entirely locally, evaluates bounds near-instantly, and requires zero manual UI.


Installation (Now Zero-Dependency Setup)

We recently overhauled our distribution pipeline. pip install dotscope automatically pulls pre-compiled, native PyO3 Rust wheels globally for Apple Silicon, Intel macOS, Linux, and Windows. You do not need to install a local rustc compiler. Day One is an instant binary installation.

# 1. Install the core toolkit
pip install dotscope

# 2. Bind your repository and trigger the bare-metal physics engine
dotscope init

# 3. Connect to your Agent
# Dotscope automatically generates the structural boundaries and routes them through MCP.

Architectural Rigor: The FFI Topology Graph

Dotscope isn't a wrapper; it is an optimized topological execution plane engineered to map planetary-scale structures. Standard agents rely on simple string searching which leads to broken logic in large codebases. Dotscope natively hooks into petgraph, calculates the precise in-degree topological gravity of files, and pushes strict limits across the Python FFI via zero-copy vectors.

The Benchmark:

  • Execution Time: ~32 seconds for an entire 100,000 file ingestion.
  • Memory Ceiling: Bounded strictly to 208MB RAM.
  • Concurrency: Fully isolates multi-threaded file writes natively using a Token Bucket architecture to debounce IDE "save-spam," deploying atomic locks so memory never tears natively across agent requests.

The Feedback Loop

You do not need to teach your AI a new paradigm. The AI simply searches the codebase exactly as it normally does.

Under the hood, Dotscope intercepts the query and dynamically calculates physical constraints. If an agent touches a file with a gravity_score > 50 (massive downstream blast-radius), Dotscope silently injects a [DOTSCOPE_GRAVITY_WARNING] constraint directly into the JSON-RPC stream, forcing the LLM to structurally verify impact before ever returning a line of logic to you.

The AI stops acting like a junior parsing text and starts acting like a senior respecting architecture.


Scaling to the Swarm (Coming Soon)

Dotscope Pro: The Genesis Matrix

Open-source Dotscope calculates the physical layout of your local codebase in realtime. Dotscope Pro is the global intelligence vector. By connecting to the Pro WebSocket, your agents don't have to compile graphs from scratch; they instantly stream pre-compiled structural fingerprints from over 10,000 top-tier open-source architectural hubs. Your agent doesn't just know how you construct code, it mathematically recognizes how the planet constructs it natively across boundaries.

Dotswarm: Fleet Telemetry & Swarm Locks

What happens when you deploy 50 autonomous agents against a single enterprise monorepo infrastructure? They clobber each other's execution states. Dotswarm lifts our zero-latency local MVCC synchronization primitives directly into a distributed backend. It formally enforces Swarm Locks across distributed memory pools, guaranteeing massive AI fleets can orchestrate cross-repository execution simultaneously without triggering catastrophic merge collisions.

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

dotscope-1.7.4.tar.gz (281.4 kB view details)

Uploaded Source

Built Distributions

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

dotscope-1.7.4-cp310-abi3-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

dotscope-1.7.4-cp310-abi3-manylinux_2_34_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.34+ x86-64

dotscope-1.7.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

dotscope-1.7.4-cp310-abi3-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

dotscope-1.7.4-cp310-abi3-macosx_10_12_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file dotscope-1.7.4.tar.gz.

File metadata

  • Download URL: dotscope-1.7.4.tar.gz
  • Upload date:
  • Size: 281.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dotscope-1.7.4.tar.gz
Algorithm Hash digest
SHA256 408fcaeaaac0cc4ab0c0c6ad1d5422c4d8dc4ee4a2d125e4db9e3fbf846d7c98
MD5 d0fb51fb3bb96e4659c7f6e6d3d39807
BLAKE2b-256 a94f6649ce52a390fc74f3ac115ae9170aea2fb90f4f27b7f6cbbbb7a61466f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotscope-1.7.4.tar.gz:

Publisher: python-publish.yml on nxrobins/dotscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dotscope-1.7.4-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: dotscope-1.7.4-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dotscope-1.7.4-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7aa9262589285d91e8e578ac08fb43e3473edb68c96ef78688b83e3e6e200973
MD5 a8d7eb7851df9b4fd72ac4d57c5bd680
BLAKE2b-256 fa1f7941494046d38fd5355eb09cb8f535fd759ccdc6a8d1fa97271f5725b853

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotscope-1.7.4-cp310-abi3-win_amd64.whl:

Publisher: python-publish.yml on nxrobins/dotscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dotscope-1.7.4-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dotscope-1.7.4-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4c9b6d242298ebabd667a3102b1d5302b85aeb08776a75979c7570f67becb1b2
MD5 4503a3676e286deb820003b8a1ed26ad
BLAKE2b-256 2cc2449de05ddc99efac0eee0ff1befa3207513aaf90be28e63b9121d0e4c987

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotscope-1.7.4-cp310-abi3-manylinux_2_34_x86_64.whl:

Publisher: python-publish.yml on nxrobins/dotscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dotscope-1.7.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dotscope-1.7.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 595d1e0245e7424a9cb1b3b3b10ba19c1d44dcea172364ab582030c6d2bd5699
MD5 e0cf0fadb738643a00019068ebfda814
BLAKE2b-256 1dd6dceb75c5daa53620fe0ee64c558ba0815fa0c1c049bf2bf88d201a173d9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotscope-1.7.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: python-publish.yml on nxrobins/dotscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dotscope-1.7.4-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dotscope-1.7.4-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b21f9b4ba11b7276142bdf8d3c5556f8cd5819c6c4c561d26136915f22894eb9
MD5 f7be8819858f5ab663aa1663b75119cb
BLAKE2b-256 1021682895db5f1bd76811b8f4d8ed0584bd5640c4b4a94aedcd5f4e3c971513

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotscope-1.7.4-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on nxrobins/dotscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dotscope-1.7.4-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dotscope-1.7.4-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7697221ac3a11fa9b68ac11288694b90a02c6e0723c478ffb6a929e939f61dcf
MD5 e0df3bb9e1503d406e9fbd10f6b5272c
BLAKE2b-256 d09dbf23c4809fae1c273f6c714a9f68be6f3d20a2c04ebb0e56e96ce0b13c70

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotscope-1.7.4-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: python-publish.yml on nxrobins/dotscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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