Scientific framework for the theory of Agencity
Project description
AgencityLab
<<<<<<< HEAD
AgencityLab is a scientific Python framework dedicated to the study and quantification of Agencity — an observable designed to measure a system’s ability to actively structure its own evolution.
Unlike classical metrics (variance, entropy, energy), Agencity captures dynamic organization and decision-like behavior within a system, independent of domain-specific assumptions.
Agencity can be analyzed:
- at a single scale
- across multiple scales via the Agencity spectrum ( b(\tau) )
👤 Author
Gilbert BEMWIZ
Conceptor of the Agencity theory
Engineer and developer of the AgencityLab framework
🧠 Vision
AgencityLab aims to provide:
- a rigorous computational implementation of Agencity theory
- a domain-independent analysis tool applicable to:
- physical systems
- biological signals
- economic dynamics
- computational processes
- an experimental platform to explore links with:
- Shannon information theory
- Landauer’s principle
- informational physics hypotheses (e.g. Vopson)
🔬 Core Concept
Agencity is not a measure of randomness or order.
It quantifies:
the capacity of a system to select and sustain a trajectory among those allowed by its underlying dynamics
This leads to a hierarchy of observables:
u → u* → X* → A* → M → O → β → b
Where:
- u : raw signal
- u* : normalized signal
- X* : activation
- A* : activity
- M : memory (causal correlation)
- O : organization
- β : structured agency
- b : Agencity (final observable)
⚙️ Installation
pip install agencitylab
Optional features:
pip install agencitylab[visualization]
pip install agencitylab[dashboard]
pip install agencitylab[all]
🚀 Quick Start
import numpy as np
from agencitylab.api import compute_agencity
xi = np.linspace(0, 10, 200)
u = np.sin(xi)
result = compute_agencity(xi, u)
print(result.summary())
📊 Visualization
from agencitylab.api import visualize_agencity
visualize_agencity(result, kind="timeseries")
Available visualizations:
timeseries→ full pipeline signalsspectrum→ frequency structure of bphase→ dynamic trajectoriescomponents→ internal decomposition
📈 Multi-Scale Analysis
Agencity can be analyzed across scales:
from agencitylab.analysis.multi_scale import agencity_spectrum
taus = [0.5, 1, 2, 5, 10]
spec = agencity_spectrum(xi, u, taus)
This produces a multi-scale signature of the system.
🧬 Agencity Signature
Each system exhibits a characteristic Agencity signature:
- constant → inactive
- sinus → structured dynamics
- noise → high variability, low organization
- multi-scale → emergent organization
This enables:
- system classification
- clustering
- regime detection
🧪 Example Systems
AgencityLab can analyze:
- periodic signals
- stochastic processes
- hybrid signals (signal + noise)
- multi-scale dynamics
📊 Comparison with Classical Metrics
Agencity complements traditional measures:
| Metric | Captures | Limitation |
|---|---|---|
| Variance | dispersion | ignores structure |
| Entropy | randomness | ignores dynamics |
| Energy | amplitude | ignores organization |
| Autocorr | temporal dependence | local only |
| Agencity | dynamic structuring ability | multi-scale, causal, intrinsic |
🧠 Interpretation
- A zigzag trajectory is not noise if imposed by constraints
- A system is not “ordered” or “disordered” absolutely
- Agencity is contextual and intrinsic to system dynamics
📁 Project Structure
agencitylab/
├── core/ # mathematical operators
├── analysis/ # spectrum, signatures, clustering
├── api/ # user-facing interface
├── visualization/ # plotting tools
├── examples/ # usage examples
🔭 Roadmap
- Advanced multi-scale theory
- Real-world datasets integration
- GPU acceleration
- Interactive dashboards
- Scientific publication support
📜 License
MIT License
🤝 Contributions
Contributions are welcome.
You can:
- open issues
- propose improvements
- extend analysis modules
- test on new domains
⚠️ Disclaimer
Agencity is an emerging theoretical framework. This library provides a computational implementation intended for:
- research
- experimentation
- conceptual exploration
🌍 Perspective
AgencityLab is part of a broader effort to build:
a unified science of dynamic systems combining physics, information, and structure ======= gencityLab** is a scientific Python framework dedicated to the study and quantification of Agencity — an observable designed to measure a system’s ability to actively structure its own evolution.
7fdb362e5a99ca437937b5eb65e42c67b4ba6f62
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agencitylab-0.1.1.tar.gz.
File metadata
- Download URL: agencitylab-0.1.1.tar.gz
- Upload date:
- Size: 59.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4734e0da56eae5aa5c2c9a32c80a3d49def19ec16574bd0b853865daab65a61d
|
|
| MD5 |
a396de71680398f2f3c48b559a2ecd34
|
|
| BLAKE2b-256 |
61ba0b9170eeb0498997fbf1a2a7ee7adcc58929436a5437f0e28c76757752b8
|
File details
Details for the file agencitylab-0.1.1-py3-none-any.whl.
File metadata
- Download URL: agencitylab-0.1.1-py3-none-any.whl
- Upload date:
- Size: 90.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0047f6fcf167a43d35f2b9d6ef736ad7c5ec2c7874e12ba60e5fa17ddfb80473
|
|
| MD5 |
de133edb326ebd0a06b32043f746782b
|
|
| BLAKE2b-256 |
b52c5348413c97db029305d8a2b365fc80a1e8af16f7c011eb62cfcd6c0384ff
|