Anyone using AI agents with their Zettelkasten? Thoughts on graph access?
I've been experimenting with AI coding agents (Claude Code, Cursor, etc.) and started wondering: could my Zettelkasten serve as context for these tools?
The idea came from frustration. When I ask an agent for help, it doesn't know my projects, my conventions, my past decisions. I end up copy-pasting context manually. But I already have a system for organizing that knowledge — my Zettelkasten.
So I started thinking: what if the same links I create for my own navigation could help an agent understand what's related to what? Instead of dumping raw files, the agent could follow my structure.
I'm using a tool that I built. It's called IWE and it lets agents query my notes:
iwe find "cognitive biases" iwe retrieve -k psychology/confirmation-bias --depth 2
The find command searches notes. The retrieve command follows links to expand context — if "confirmation bias" links to "motivated reasoning", the agent gets both in a structured response.
What I find interesting is that the connections are mine. When the agent follows a link, it's following a decision I made, not an automated association. The same structure that helps me think becomes the structure the agent navigates.
I'm still figuring out if this is genuinely useful or just a clever idea that doesn't pan out in practice. Some questions I'm sitting with:
- Are others here using AI tools alongside their Zettelkasten?
- Does giving an agent access to your graph feel useful, or does it feel like mixing concerns?
- Is there value in the agent "understanding" your personal structure, or is raw search good enough?
Would love to hear how others think about this intersection — or if you've deliberately kept AI tools separate from your knowledge work. Both perspectives are interesting to me.
GitHub if you are interested: https://github.com/iwe-org/iwe
- Are you using AI angentns (such as Claude Code) in your Zettelkasten9 votes
- Yes44.44%
- No55.56%
Howdy, Stranger!
Categories
- 3K All Categories
- 153 Research & Reading
- 709 The Zettelkasten Method
- 13 Knowledge Work
- 102 Writing
- 475 Software & Gadgets
- 161 Workflows
- 735 The Archive
- 16 Plug-In Showcase
- 89 Resolved Issues
- 225 Projects Logs and Journals
- 86 Project: Zettelkasten.de
- 53 Critique my Zettel
- 182 Random
- 377 Introduce Yourselves!
Comments
You're on the right track as far as I can tell: Progressive summarization makes books available to our human brains through excerpts and summaries in stages. Each stage "compacts context" in a way. LLMs work well in the opposite direction, assuming infinite, unbound, pre-digested knowledge but no clue about what's relevant -- then work from summaries to details as needed.
To make an agent use a/the test-driven development methodology, you don't need to copy-paste books about it into the context. You only tell it to
use red/green tdd, and that'll put it right on track.Eventually, you'll want to end up with
look at my zkand the LLM will then know where to look, how to orient itself, and get to the details.Structure notes are for both the human thinker and the agent to find their way
Author at Zettelkasten.de • https://christiantietze.de/
Nice. It worked on my Mac.
Querying my ZK with a command line tool is fun. But I can't think of a use case, where I'd actually need it.
Not yet. I'm still hoping for a local LLM with RAG. (Are we there yet?)
It feels useful. I wouldn't mind help with cleaning up structured data. :-)
But how reliable are agents? I don't want them to mess up my files.
There's value, because it allows for much more targeted requests. The structure encodes knowledge.
I'm reluctant, because I don't trust agents. I had too many bad experiences with hallucinating LLMs. If it takes more time to clean up behind an agent, than writing and running a script, I'll stick to scripts.
Not yet. I am currently and slowly developing the toolkit to make AI a collaborator for thinking, ideation and such.
Here are some of the current research lines:
In a way, I am currently trying to teach AI the mechanics of knowledge.
I am a Zettler
Do not use AI if you want to think
This is a long read but I think it's very relevant here -
https://on.substack.com/p/model-behavior-azeem-azhar-has-a?utm_source=post-email-title&publication_id=1&post_id=225808687&utm_campaign=email-post-title&isFreemail=true&r=59sg5v&triedRedirect=true&utm_medium=email
@KwunZortex, that test is the case I care about most: a newer note that replaces an older one. What makes the answer certain rather than a guess is the second note saying so explicitly, e.g. a
replaces:line naming the first. Then "what's the current plan?" can filter out anything replaced instead of weighing two dates, and if you remove the second note, the first is current again, which is the right answer. Answers only, no edits, is how I'd run it too.@harr, would you try it on a copy of two real notes where a decision changed?
This isn't answering the question at all, but is related. See my post from today here:
Kommunikationspartner
which discusses how complex one's Zettelkasten linking can be, employing more than one note-taking app, without invoking AI at all.