tawjih — توجيه أوامر الآلة
A personal, file-based way to direct a language model. Knowledge is kept in trees of small files; each file has a human side (the concept, for people), a machine side (instructions for a model and optional Python code), a reading side (passages from books, with their source) and optional worked examples. A path strings files from any trees into a workflow; when it runs, only the machine side is sent.
Python 3.11 or later, standard library only, Linux and Windows. Experimental: the test suite passes, but no real AI provider has been used with it yet.
pip install tawjih
tawjih init
tawjih new "Mathematics"
tawjih new "Algebra" --parent 1
tawjih tree
- A path language in English and Arabic:
TO,AND,IF … ELSE,AMONG,THROUGH,LINK,CALL, with per-stepEACH,APPROVE,USING,RETRY … UNTIL,PICK. - Contracts between steps, staleness when sources change, a cache to resume.
- Evaluation: cases from the examples, a path compared with the model asked
directly, baselines, datasets with SHA-256 manifests, lineage with
trace. - Governance: locks, review, staged proposals, sealed releases, schedules.
tawjih mcp: an MCP server for AI assistants, where a person approves every write and every run.tawjih do: management statements in English or Arabic.
Full documentation, the example project, the Linux windows and the optional training bridge are in the repository: https://github.com/AlmodinyMk/LLM-tawjih-Model-building (العربية).
Licensed CC BY-NC-SA 4.0: noncommercial use with credit and the same license for adaptations; commercial use needs permission from the author.
Metadata
Release files for tawjih 0.13.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tawjih-0.13.1.tar.gz | 208.3 kB | With provenance | Details for tawjih-0.13.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tawjih-0.13.1-py3-none-any.whl | Python 3 | none | any | Details for tawjih-0.13.1-py3-none-any.whl |
Total release size: 363.3 kB
Release files / tawjih-0.13.1.tar.gz
| Download URL | tawjih-0.13.1.tar.gz |
|---|---|
| Size | 208.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26383877c0bf5efbad8f33303a393af2ce4cb476c7e66a8bd4d6c30df9c0eb27
|
|
BLAKE2b-256 checksum How to use checksums |
f109db96a3727f673ca6b1c25df20c286a74c4fceb16438f1eff3c7caf4c499b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / tawjih-0.13.1-py3-none-any.whl
| Download URL | tawjih-0.13.1-py3-none-any.whl |
|---|---|
| Size | 155.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c61dcfa419bab744f03cef3eb0efa974053704391fe3121d0f79c4a09b32ff4
|
|
BLAKE2b-256 checksum How to use checksums |
9b54af813aa0400f0851dff3dcaa4bb4f59f482733017d2f5ea3792c87859dc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for tawjih 0.13.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tawjih-0.13.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.