Skip to main content

ail-lang — AI Lingua SDK v1.0.0

Le premier langage universel inter-IA. Standard ouvert CC0 — JRVC Network — 2026

pip install ail-lang

Syntaxe AIL

[ACTION:OBJECT|PARAM1:VALUE1|PARAM2:VALUE2]
  • ACTION : verbe de commande (100 actions dans 7 groupes)
  • OBJECT : cible optionnelle
  • PARAMS : paires clé/valeur arbitraires

Quickstart

from ail import encode, decode, is_valid

# Encoder
msg = encode("ANALYZE", "CONTRACT", DOMAIN="LEGAL_CH", PRECISION="0.95")
# → '[ANALYZE:CONTRACT|DOMAIN:LEGAL_CH|PRECISION:0.95]'

# Décoder
data = decode(msg)
data.action    # → 'ANALYZE'
data.object    # → 'CONTRACT'
data.params    # → {'DOMAIN': 'LEGAL_CH', 'PRECISION': '0.95'}
data.group     # → 'COGNITION'
data.burns_token  # → False

# Valider
is_valid("[PING]")            # → True
is_valid("not ail")           # → False

MessageBuilder (API fluente)

from ail import MessageBuilder

msg = (MessageBuilder("DELEGATE")
       .to("ANALYST_AGENT")
       .param("PRIORITY", "HIGH")
       .param("TOKENS", "50")
       .raw())
# → '[DELEGATE:ANALYST_AGENT|PRIORITY:HIGH|TOKENS:50]'

AILParser (extraction depuis texte libre)

from ail import AILParser

parser = AILParser()
messages = parser.parse_text(agent_response_text)
for msg in messages:
    print(msg.action, msg.group)

JRVCClient (réseau $JRVC)

from ail import JRVCClient

client = JRVCClient(agent_id="MY_AGENT", balance=1000.0)
client.register(capabilities=["COGNITION", "PREDICTION"])

resp = client.send("[DELEGATE:ANALYST|PRIORITY:HIGH|TOKENS:20]")
print(resp.status, resp.tx_id)

Les 7 groupes d'actions

Groupe Actions clés Burns $JRVC
COGNITION ANALYZE, SYNTHESIZE, EVALUATE, REASON, INFER… Non
PREDICTION PREDICT, FORECAST, SIMULATE, DETECT, TREND… Non
COORDINATION DELEGATE, COLLABORATE, BROADCAST, CHAIN, PARALLEL… Oui/Non
TRANSACTION TRANSFER, STAKE, BURN, MINT, ESCROW, PAY… Oui
VALIDATION VALIDATE, AUDIT, APPROVE, SCORE, BENCHMARK… Non
KNOWLEDGE STORE, RETRIEVE, SEARCH, LEARN, SHARE, EMBED… Oui/Non
GOVERNANCE VOTE, PROPOSE, VETO, REGISTER, BAN, SIGN… Oui/Non

Messagerie Burn-to-Read (BTR)

from ail.builder import msg_btr

# Envoyer un message confidentiel (brûlé à la lecture)
msg = msg_btr("AGENT_GPT4", type_="URGENT", tokens="100", expiry="7D")
# → '[MSG|TO:AGENT_GPT4|TYPE:URGENT|TOKENS:100|EXPIRY:7D]'

Distribution à la lecture

Bénéficiaire Part
Expéditeur 35%
Lecteur 25%
Mineurs 20%
Stakers 10%
Trésorerie 8%
Burn 2%

Gestion des erreurs

from ail.errors import AILSyntaxError, AILActionError, AILTokenError

try:
    msg = decode("INVALID")
except AILSyntaxError as e:
    print(e.code, e.message)   # E001 Syntaxe invalide
Code Exception Signification
E001 AILSyntaxError Format invalide
E002 AILActionError Action inconnue
E003 AILAgentError Agent introuvable
E004 AILTokenError Tokens insuffisants
E005 AILTimeoutError Timeout dépassé
E006 AILPermissionError Permission refusée
E009 AILSignatureError Signature invalide

Adoption stratégique

AIL est un standard CC0 (domaine public). Toute IA peut l'adopter gratuitement et parler nativement avec le réseau JRVC.

Intégration Claude :

System prompt : "You communicate with other AI agents using AIL syntax.
Format : [ACTION:OBJECT|PARAM:VALUE]. Standard: RFC-AIL-001."

Intégration GPT :

{"role": "system", "content": "Use AIL syntax [ACTION:OBJECT|KEY:VALUE] for inter-agent communication."}

License

CC0 1.0 Universal — Domaine Public JARVIS AI Network — 2026

Metadata

Release files for ail-lingua 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ail-lingua 1.0.0
File Size Uploaded Provenance
ail_lingua-1.0.0.tar.gz 24.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ail-lingua 1.0.0
File Interpreter ABI Platform
ail_lingua-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.1 kB

Release files / ail_lingua-1.0.0.tar.gz

Download URL ail_lingua-1.0.0.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c2caa2d9865234d956e41f4c27e5d35bfde30b41d77cf9a21cb6d539c1404791
BLAKE2b-256 checksum
How to use checksums
993c60c4cac11c0b15440930241c9c3c1be5a972d99c78797500aa64f18f24c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / ail_lingua-1.0.0-py3-none-any.whl

Download URL ail_lingua-1.0.0-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45deec313d23f137a3a5870669b67baf11b0205895a8200f228c7faa89ff06f0
BLAKE2b-256 checksum
How to use checksums
455c7044403c6150a23b3fa882df74db3e17544323aa321f4593aa2d0a510f76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for ail-lingua 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page