Welcome to Jac#
One Language for AI-Native Full-Stack Development
Jac is a programming language and superset of both Python and TypeScript/JavaScript, with 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?#
| 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 |
See it in action
Want to see exactly how much code Jac eliminates? Check out Jac vs Traditional Stack - a side-by-side comparison showing ~30 lines of Jac vs >300 lines of Python + FastAPI + SQLite + TypeScript + React for the same Todo app.
Get Started in 5 Minutes#
Step 1: Install#
This installs the complete Jac ecosystem: jaclang (compiler), byllm (AI integration), jac-client (frontend), jac-scale (deployment), and jac-super (enhanced console).
Verify your installation:
This also warms the cache, making subsequent commands faster.
Step 2: Create Your First Program#
Create hello.jac:
Step 3: Run It#
Note: jac is shorthand for jac run - both work identically.
That's it! You just ran your first Jac program.
Choose Your Path#
-
Just want to try it?
Follow the Hello World guide to write your first program in 2 minutes.
-
Building a web app?
Jump to Your First Full-Stack AI App - build a complete app in 15 minutes.
-
Working with AI/LLMs?
See the AI Integration tutorial for byLLM basics, or try the AI phase in Your First Full-Stack AI App.
-
Want the full picture?
Read Next Steps for learning paths by experience level.
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.
-
Python & JavaScript Superset - 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?#
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#
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#
| Resource | Description |
|---|---|
| Installation | Detailed setup with IDE configuration |
| Hello World | Your first Jac program (2 min) |
| First Full-Stack AI App | Complete tutorial: API, frontend, AI, walkers (15 min) |
| Tutorials | In-depth learning paths |
| Language Reference | Complete language documentation |
| CLI Reference | All jac commands |
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