Skip to content

Overview

Complete Jac applications to study, learn from, and build upon. Each example includes full source code, explanations, and step-by-step guidance.


Build a Twitter-like app in 200 lines of code.

DifficultyIntermediate
FeaturesNodes, walkers, edges, graph traversal, jac start
LearnHow to model social relationships as graphs

Start LittleX Tutorial →


An intelligent email assistant powered by LLMs.

DifficultyIntermediate
Featuresby llm, structured outputs, tool calling
LearnHow to build agentic AI applications

Start EmailBuddy Tutorial →


A multimodal chatbot with document search and retrieval.

DifficultyAdvanced
FeaturesMCP tools, vector search, retrieval-augmented generation
LearnHow to build knowledge-based AI systems

Start RAG Chatbot Tutorial →


AI-powered procedural game level generation.

DifficultyAdvanced
Featuresby llm, structured data types, game logic
LearnHow to use AI for creative content generation

Start RPG Generator Tutorial →


ExampleDescription
Friendzone LiteSocial AI agent with ReAct pattern
Aider Genius LiteAI coding assistant
Task Manager LiteAI task management
ExampleDescription
Fantasy Trading GameAI-driven trading simulation

# Clone the repository
git clone https://github.com/Jaseci-Labs/jaseci.git
cd jaseci/examples
# Run an example
jac example_name/main.jac
# Start the example as an API
jac start example_name/main.jac
# View API documentation
open http://localhost:8000/docs
# Test an example
jac test example_name/main.jac
# Test all examples in directory
jac test -d examples/

Each example follows this structure:

example_name/
├── main.jac # Main application code
├── main.impl.jac # Implementation details (optional)
├── main.test.jac # Tests
├── README.md # Documentation
└── requirements.txt # Python dependencies (if needed)

Want to share your Jac project?

  1. Create a working example with tests
  2. Write a tutorial explaining the key concepts
  3. Submit a pull request

See the Contributing Guide for details.


The Jac repository includes comprehensive reference examples for every language feature:

jac/examples/reference/
├── basic_syntax/ # Variables, functions, control flow
├── data_types/ # Collections, enums, types
├── osp_features/ # Nodes, edges, walkers
├── ai_integration/ # by llm, semantic strings
└── advanced/ # Concurrency, generators

Each reference example includes:

  • Working .jac source code
  • Markdown documentation
  • Python equivalent for comparison