Welcome
Welcome to Jac
Section titled “Welcome to Jac”One Language for AI-Native Full-Stack Development
Jac is a programming language that supersets Python and JavaScript with native compilation support, adding novel constructs for AI-integrated programming. Access the entire PyPI and npm ecosystems while using features like by llm() to seamlessly weave AI into your code. Write backend logic, frontend interfaces, and AI integrations in a single unified language.
Why Jac?
Section titled “Why Jac?”| What You Want | How Jac Helps |
|---|---|
| Build AI apps easily | Native LLM integration with by llm() - no prompt engineering |
| Full-stack in one language | React-style frontend + Python backend, seamlessly connected |
| Use existing libraries | Full access to PyPI and npm ecosystems |
| Deploy without DevOps | jac start --scale deploys to Kubernetes automatically |
| Model complex domains | Graph-based Object-Spatial Programming for connected data |
| Code with AI assistance | Clean syntax designed for both humans and AI models to read and write |
Get Started in 5 Minutes
Section titled “Get Started in 5 Minutes”Step 1: Install
Section titled “Step 1: Install”pip install jaseciThis installs the complete Jac ecosystem: jaclang (compiler), byllm (AI integration), jac-client (frontend), jac-scale (deployment), and jac-super (enhanced console).
Verify your installation:
jac --versionThis also warms the cache, making subsequent commands faster.
Step 2: Create Your First Program
Section titled “Step 2: Create Your First Program”Create hello.jac:
with entry { print("Hello from Jac!");}Step 3: Run It
Section titled “Step 3: Run It”jac hello.jacNote: jac is shorthand for jac run - both work identically.
That’s it! You just ran your first Jac program.
Choose Your Path
Section titled “Choose Your Path”Just want to try it?
Section titled “Just want to try it?”Follow the Hello World guide to write your first program in 2 minutes.
Building a web app?
Section titled “Building a web app?”Jump to Build Your First App - build a complete app with a 3-part tutorial.
Working with AI/LLMs?
Section titled “Working with AI/LLMs?”See the AI Integration tutorial for byLLM basics, or try Part 2: Add AI in the first app tutorial.
Want the full picture?
Section titled “Want the full picture?”Read Next Steps for learning paths by experience level.
Core Principles
Section titled “Core Principles”Jac is built on six key principles:
-
AI-Native - LLMs as first-class types via Meaning Typed Programming. Call AI like a function.
-
Full-Stack in One Language - Write React components alongside server code. No context switching.
-
Supersets Python & JavaScript - Use
numpy,pandas,react,tailwinddirectly. Your existing knowledge applies. -
Object-Spatial Programming - Model domains as graphs. Deploy walkers to traverse and transform data.
-
Cloud-Native - One command to production:
jac start --scalehandles Kubernetes, Redis, MongoDB. -
Human + AI Readable - Clean syntax that both developers and AI models can read and write effectively.
Who is Jac For?
Section titled “Who is Jac For?”Jac is designed for developers who want to build AI-powered applications without the complexity of managing multiple languages and tools.
| You Are | Jac Gives You |
|---|---|
| Startup Founder | Build and ship complete products faster with one language |
| AI/ML Engineer | Native LLM integration without prompt engineering overhead |
| Full-Stack Developer | React frontend + Python backend, no context switching |
| Python Developer | Familiar syntax with powerful new capabilities |
| Frontend Engineer | Write UI components with full access to npm ecosystem |
| Student/Learner | Modern language designed for clarity and simplicity |
When to Use Jac
Section titled “When to Use Jac”Jac excels at:
- AI-powered applications with LLM integration
- Full-stack web applications (frontend + backend)
- Applications with complex relational data (graphs, networks)
- Rapid prototyping with production scalability
- Projects requiring both Python and JavaScript ecosystems
Consider alternatives for:
- Performance-critical systems programming (use Rust, C++)
- Mobile native apps (use Swift, Kotlin)
- Simple scripts where Python suffices
Quick Links
Section titled “Quick Links”| Resource | Description |
|---|---|
| Installation | Detailed setup with IDE configuration |
| Hello World | Your first Jac program (2 min) |
| Build Your First App | Complete 3-part tutorial: todo app, AI, walkers |
| Tutorials | In-depth learning paths |
| Language Reference | Complete language documentation |
| CLI Reference | All jac commands |
Need Help?
Section titled “Need Help?”- Discord: Join our community server for questions and discussions
- GitHub: Report issues at Jaseci-Labs/jaseci
- JacGPT: Ask questions at jac-gpt.jaseci.org