Skip to main content

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

Project description

dotscope

The Architectural Control Plane for AI Agents

Your agent writes code that compiles, passes tests, and breaks production. The agent sees files. You see architecture. dotscope closes that gap.

The Open-Source Architectural Control Plane

Dotscope is a high-performance headless telemetry engine built natively around the standard Model Context Protocol (MCP). It operates silently, mapping the topological physics of your codebase and transmitting structural constraints and contextual boundaries directly to your AI agent of choice (Claude, Cursor, Windsurf, Cline).

pip install dotscope
dotscope serve --headless

Strict Execution Taxonomy

Dotscope is engineered for uncompromising speed, operating strictly across decoupled bounds ensuring zero data drift between human CLI inputs and Agent MCP tool queries:

  • <Engine>: Resolves abstract scope mathematics (e.g. auth+payments-tests&api@context) down to concrete file constraints with zero side effects.
  • <Workflows>: Deploys multi-stage sequence migrations and automated ingest cycles that silently reverse-engineer architectural logic from raw Git history.
  • <UX>: Formats headless semantic JSON outputs perfectly into FastMCP standard payloads and terminal outputs for instantaneous debugging scenarios.
$ dotscope ingest

  Analyzing dependency graph...
  Mining git history...
  Discovering conventions...

  Discoveries:
  - version.py and environment.prod.ts always change together
  - workflow-edit-dialog.component.ts and models.py are tightly coupled

  Validation (49 commits backtested):
  - Overall recall: 78%
  - Token reduction: 67% (1.3M → 437K avg)

  Output: 3 .scope files written.

One MCP tool call. The agent gets the relevant code, its dependency neighborhood, implicit contracts from git history, convention rules, swarm lock status, and action hints. One call, not five.

By executing dotscope ingest and mining your git history, dotscope statically learns from every commit. Files agents consistently need get ranked higher. Architectures are mapped historically. Conventions that hold get enforced harder. Rules that get overridden get quieter. Recall starts at 78% and climbs past 91%.

pip install dotscope && dotscope serve

Zero dependencies. Open Source. MIT.

How It Works · Scope Files · Agent Instructions · 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

dotscope-1.5.4.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

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

dotscope-1.5.4-py3-none-any.whl (336.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dotscope-1.5.4.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for dotscope-1.5.4.tar.gz
Algorithm Hash digest
SHA256 9e7d67fad36bb5b64e63ea6f995912cbab5c1508d77c583c3e30c5a27b284e06
MD5 8a3058f66145bca8a423077fb65c99a1
BLAKE2b-256 df1ffa063cc1319a4c4f59655772ca89b66f8cd653bce666d463752bf67817e2

See more details on using hashes here.

File details

Details for the file dotscope-1.5.4-py3-none-any.whl.

File metadata

  • Download URL: dotscope-1.5.4-py3-none-any.whl
  • Upload date:
  • Size: 336.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for dotscope-1.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7a76c8e11613257c6ad415fc95ff9f828d917ce5caab12927791297e7c342320
MD5 8649d3514eb1e3bd13cb01c77c5044aa
BLAKE2b-256 d0445d582bea15629eea9da74c4f4ab55fe757d0a7b26b1b84c91a9505b17aef

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