You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* rewrite
* update
* Remove horizontal-rule separators reintroduced by merge
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Edit blog post: Agentic AI with Jac: A Programming Language That Knows What an Agent Is
* video
* updated
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/blog/posts/building_agentic_ai_with_jac.md
+40-10Lines changed: 40 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
date: 2026-05-12
3
3
authors:
4
-
- jayanaka
4
+
- jayanaka
5
5
categories:
6
-
- Jac Programming
7
-
- AI
6
+
- Jac Programming
7
+
- AI
8
8
slug: building-agentic-ai-with-jac
9
9
---
10
10
@@ -14,7 +14,7 @@ Most of an agent codebase is not the agent. It is the supporting code every deve
14
14
15
15
<!-- more -->
16
16
17
-
## The Problem
17
+
## The Problem
18
18
19
19
**The same intent gets written twice.** A tool is a function *and* a JSON schema describing it. A structured output is a Pydantic class *and* a `response_format` argument. If we rename the function but forget the JSON spec, the spec still advertises the old name to the model. If we rename a field but forget the prompt that asks for it, the prompt still references the old one. Nothing in the build catches the mismatch, because the link between the code and the string only exists in the developer's head. Drift is silent until the model misbehaves at runtime.
20
20
@@ -32,7 +32,7 @@ The answer is already in the [**Jac**](https://docs.jaseci.org/) programming lan
32
32
33
33
!!! info "About the code"
34
34
35
-
Every Jac snippet below is self-contained and runs with `jac run <file>.jac` against a configured model. Copy any block, save it, and you'll see the agent execute end-to-end.
35
+
Every Jac snippet below runs with `jac run <file>.jac` once a model is bound to `llm` — either project-wide in `jac.toml` or per file with `import from byllm.llm { Model }` and `glob llm = Model(model_name="openai/gpt-4o-mini");`. Complete, runnable versions of all seven patterns live in the companion repo: [**github.com/Jayanaka-98/agentic-ai-with-jac**](https://github.com/Jayanaka-98/agentic-ai-with-jac).
0 commit comments