Catalog PyPI
Back to packageRELEASE DETAILS

1.0.0

PyPI

ail-lingua

AI Lingua — The universal inter-AI language

Published29 Mar 2026
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 1.0.0 documentation

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

GroupeActions clésBurns $JRVC
COGNITIONANALYZE, SYNTHESIZE, EVALUATE, REASON, INFER…Non
PREDICTIONPREDICT, FORECAST, SIMULATE, DETECT, TREND…Non
COORDINATIONDELEGATE, COLLABORATE, BROADCAST, CHAIN, PARALLEL…Oui/Non
TRANSACTIONTRANSFER, STAKE, BURN, MINT, ESCROW, PAY…Oui
VALIDATIONVALIDATE, AUDIT, APPROVE, SCORE, BENCHMARK…Non
KNOWLEDGESTORE, RETRIEVE, SEARCH, LEARN, SHARE, EMBED…Oui/Non
GOVERNANCEVOTE, 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éficiairePart
Expéditeur35%
Lecteur25%
Mineurs20%
Stakers10%
Trésorerie8%
Burn2%

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
CodeExceptionSignification
E001AILSyntaxErrorFormat invalide
E002AILActionErrorAction inconnue
E003AILAgentErrorAgent introuvable
E004AILTokenErrorTokens insuffisants
E005AILTimeoutErrorTimeout dépassé
E006AILPermissionErrorPermission refusée
E009AILSignatureErrorSignature 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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7.0; extra == "dev"runtime
pytest-cov
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
pytest-cov; extra == "dev"runtime

Distribution files

2 collected
ail_lingua-1.0.0-py3-none-any.whl

bdist_wheel · 23.74 KB · Python py3

Source file
ail_lingua-1.0.0.tar.gz

sdist · 24.2 KB · Python source

Source file

Repository

PENDING
jrvc-network/ail-lang

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:0793b93bb4eb94910d6040ccb1ac8dd61f1d53895166dc9f915dca1994a809aa

Other collected versions

View all collected versions →