Documentation Index
Fetch the complete documentation index at: https://docs.aiparlance.org/llms.txt
Use this file to discover all available pages before exploring further.
Development cost impact
This chapter covers the economic argument for AI Parlance. Overview: Introduction. Spec: Specification.Where cost shows up today
LLMs spend tokens on:- context from already-generated code (models, handlers, routes, tests)
- fixing cross-layer inconsistencies
- structural repetition for each new endpoint or entity
Honest comparison (same scope)
Scope:User entity with REST CRUD + validation + PostgreSQL migration.
AI Parlance (source edited by the AI)
id, created_at, updated_at are implicit (spec).
Go (illustrative transpiler output)
Beyond the struct, a full stack often includes repository, service, handler, routes, validation, and migration — commonly 150–400+ lines for an idiomatic CRUD. Token savings are in generating and reviewing the model (.aip), not transpilation (offline, deterministic).
TypeScript / Python / PHP
Isolated interfaces or classes are short (~10–20 lines) but do not equal full CRUD — comparing only a struct tocrud User is misleading.
Smaller context for the AI
Working on.aip keeps in context:
- entities and relations
- policies and workflows
- rules in
ai_context
Multi-target without manual duplication
The same spec in crm-reference.aip feeds N transpilers — a change toLead propagates to SQL, API, and guards without rewriting each stack.
Financial impact (inference)
Variables: generations per month, average diff size, price per token. High CRUD / low custom logic → higher ROI. Heavy UI or unique integrations → smaller gain on the.aip layer; AI Parlance does not replace that work.
Limits of the cost argument
- Transpilers must exist and be reliable — upfront engineering cost.
- Complex
workflowlogic can approach imperative code size. - Future
customblocks reintroduce manual code outside compact metrics.
Summary
| Metric | Expected effect |
|---|---|
| Tokens when editing domain | Strong reduction |
| Architectural consistency | Improves |
| Transpilation cost | Offline, amortized |
| UI / exotic integrations | Outside main scope |
