AION - AI-Native Programming Language with think, pipelines, vision, voice, memory and sandboxing
Project description
AION Programming Language
AI-Native Programming Language built with Python
"Giving instructions to an intelligent operating system."
Quick Start · Features · Examples · Docs · Roadmap
What is AION?
AION is an AI-native programming language built with Python. It combines the simplicity of Python, the readability of natural language, and native AI capabilities — making it the first programming language where AI is a first-class citizen.
use ai
use database
name = "Emmanuel"
show "Hello {name}!"
answer = ai_ask("What should I build today?")
show answer
db_connect("myapp.db")
db_create("ideas", "title text, created text")
db_insert("ideas", "My first AION app, 2026-01-01")
Quick Start
1. Clone the repository
git clone https://github.com/kinghenesey/AION.git
cd AION
2. Install dependencies
pip install -r requirements.txt
3. Run your first AION program
python main.py examples/hello.aion
4. Start the interactive shell
python main.py repl
5. Launch the Web IDE
python main.py ide
# Open http://localhost:3000
Features
| Feature | Description |
|---|---|
| 🧠 AI Runtime | Native AI with Google Gemini and Claude |
| 🌐 Web Framework | Build real HTTP servers |
| 🗄️ Database | Full CRUD with SQLite |
| 🎨 UI Framework | Generate real HTML apps |
| 📦 Package Manager | Install and manage packages |
| 🏪 Marketplace | 12+ community packages |
| 🔄 REPL | Interactive shell |
| 🐛 Debugger | Visual step-through debugger |
| 💻 Web IDE | Browser-based code editor |
| 🤖 AI Agents | Autonomous AI agents |
| 🔁 Workflows | AI automation pipelines |
| 📂 Multi-file | Import between .aion files |
| ⚡ Compiler | Bytecode compiler + VM |
Examples
Variables & Output
name = "Emmanuel"
age = 20
show "Hello {name}! You are {age} years old."
Conditions & Loops
if age >= 18:
show "Adult"
else:
show "Minor"
repeat 5:
show "AION!"
count = 0
while count < 3:
show count
count = count + 1
Tasks (Functions)
task greet(name):
show "Hello {name}!"
greet("Emmanuel")
greet("World")
Standard Library
use math
use text
use datetime
show sqrt(144)
show upper("hello aion")
show today()
AI Integration
use ai
answer = ai_ask("What is the capital of Nigeria?")
summary = ai_summarize("Long text here...")
poem = ai_generate("Write a poem about coding")
show answer
Web Server
use web
web_app("My Server")
web_route("/", "Welcome to AION!")
web_route("/hello", "Hello World!")
web_start(8000)
Database
use database
db_connect("myapp.db")
db_create("users", "name text, age integer")
db_insert("users", "Emmanuel, 20")
results = db_find("users", "all")
show results
AI Agents
use agents
agent_create("researcher", "Research topics")
agent_tool("researcher", "search", "Search the web")
result = agent_run("researcher", "Tell me about Python")
show result
Multi-file Projects
# main.aion
import "utils.aion"
import "greetings.aion"
greet("Emmanuel")
result = calculate(10, 20)
show result
CLI Commands
# Run files
python main.py app.aion
python main.py app.aion --debug
python main.py app.aion --compile
# Developer tools
python main.py repl # Interactive shell
python main.py ide # Web IDE
python main.py debug app.aion # Visual debugger
python main.py test # Run all tests
python main.py build app.aion # Validate file
python main.py new myproject # Create project
python main.py info # System info
# Package manager
python main.py --install charts
python main.py --uninstall charts
python main.py --packages
# Marketplace
python main.py marketplace
python main.py marketplace search nigeria
python main.py marketplace install aion-naira
# Deployment
python main.py export app.aion
python main.py deploy app.aion
Standard Library
| Module | Functions |
|---|---|
use math |
sqrt, floor, ceil, abs, pi, pow, sin, cos |
use text |
upper, lower, trim, replace, contains, split |
use files |
read_file, write_file, file_exists, delete_file |
use datetime |
today, now, year, month, day, hour |
use collections |
make_list, list_get, list_join, list_sort |
use ai |
ai_ask, ai_summarize, ai_generate, ai_classify |
use agents |
agent_create, agent_run, workflow_create |
use ui |
ui_app, ui_page, ui_title, ui_button, ui_save |
use web |
web_app, web_route, web_start |
use database |
db_connect, db_create, db_insert, db_find |
Marketplace Packages
python main.py marketplace install aion-ui-pro
python main.py marketplace install aion-charts-pro
python main.py marketplace install aion-nlp
python main.py marketplace install aion-orm
python main.py marketplace install aion-naira
python main.py marketplace install aion-crypto
Project Structure
aion/ ├── main.py ← Entry point ├── runner.py ← Pipeline orchestrator ├── config.py ← Version & constants ├── repl.py ← Interactive shell ├── debugger.py ← Visual debugger ├── lexer/ ← Tokenizer ├── parser/ ← AST builder ├── interpreter/ ← Execution engine ├── compiler/ ← Bytecode compiler + VM ├── stdlib/ ← Standard library ├── ai/ ← AI runtime + agents ├── web/ ← Web framework ├── database/ ← Database system ├── ui/ ← UI framework ├── marketplace/ ← Package marketplace ├── web_ide/ ← Browser-based IDE ├── deploy/ ← Deployment tools ├── packages/ ← Installed packages ├── examples/ ← Example programs └── tests/ ← Test suite (147 tests)
Roadmap
- Phase 1 — Foundation
- Phase 2 — Lexer
- Phase 3 — Parser
- Phase 4 — Interpreter
- Phase 5 — Standard Library
- Phase 6 — Error System
- Phase 7 — AI Runtime
- Phase 8 — Package Manager
- Phase 9 — Professional CLI
- Phase 10 — UI Framework
- Phase 11 — Web Framework
- Phase 12 — Database System
- Phase 13 — Compiler
- Phase 14 — AI Ecosystem
- Phase 15 — Deployment
- Phase 16 — Language Improvements
- Phase 17 — Multi-file Projects
- Phase 18 — Marketplace
- Phase 19 — Visual Debugger
- Phase 20 — Web IDE
- Phase 21 — Polish & Publish
Built By
Emmanuel — Built from scratch with dedication and vision.
"I didn't just learn to code. I built the tools other people use to code."
License
MIT License — free to use, modify, and distribute.
Star ⭐ this repo if AION inspired you!
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 aion_lang-1.1.0.tar.gz.
File metadata
- Download URL: aion_lang-1.1.0.tar.gz
- Upload date:
- Size: 103.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b6e2ca9d160cc6d4d7719c7b8a4ac39f460ab189843cc5d7bbc8da08f06e27f
|
|
| MD5 |
c90e6bd53e7b8f6822cdbdee218cb12a
|
|
| BLAKE2b-256 |
7074d982429f77f06a0d68f228158591e5806797dde83eeb9736808c25021006
|
File details
Details for the file aion_lang-1.1.0-py3-none-any.whl.
File metadata
- Download URL: aion_lang-1.1.0-py3-none-any.whl
- Upload date:
- Size: 117.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a153d3d140727ca2111634f04380f70dd68edca25d09e5493b3c33f947d23fa
|
|
| MD5 |
88c6bec24d624efbd436e1da61b50817
|
|
| BLAKE2b-256 |
1421d7dedf798e589b8cfc139bf6b7499e785e4ea99dd570fb476789799191bc
|