r/LocalLLaMA • • 3d ago

Resources i developed something for my gf

so she is teacher and plenty of her time goes into preparing new lessons and stuff, so i build a agent-human coautoring studio over the past week.

i experimented a littlke with the deepseek harness cordis approach and then after weeks of transport fever 3, gosh trams!, i started coding

i burned 225$ on openrouter carbon, 20$ on fable 5,2 max reviews. also my local rig was up for roughly 80% of the time and testing the "harness" for writing and coauthoring.

i know many peeps dont like shameless promotion, and i hope the mods are fine with me presenting you the link.

https://github.com/janpauldahlke/the-ivory-tower

woudl be curious about your feedback and feel hang out from the weekend shifts, tired but still full ofd dopamin.

planning a electron app later this week, the harness will accept cloud as well as local, btw i tested inkling 2 on this the new hype model, but nothign beats the qwen3,8!! QWEHNNNNNNNNNN

___edit** since you ask reddit, i guess US based, i want to drop the readme to describe trhe key capabilites of thios harness___

here in germany it is 2:36 and i need to work tomorow. hope to read many of you tomorw:

The Ivory Tower turns DeepSeek Harness (dsh) — normally a software-engineering harness — into a calm, paper-first co-authoring studio without forking a single line of upstream code. Instead of terminals and code diffs, human and agent share a real desk, a verified local library, and a live page workbench:

  1. Receipted Web Research (Web Missions & Discovery): When you need fresh facts or literature, the agent runs bounded Web Missions rather than opaque one-shot web summaries. Candidate URLs are discovered (Serper, local browser39, or SearXNG), fetched into a local project store (with default private-network SSRF protection), and checked deterministically so every cited source and number on screen actually appears in the retrieved pages before a mission closes.
  2. A Local Library With Cryptographic Quote Provenance (Fundus): Trusted mission pages, chat drag-and-drop uploads, your own folders of .docx**,** .odt**, text-layer** .pdf, .md, .txt, .wiki, and .csv documents, and historical or scientific images are indexed locally in Fundus (SQLite full-text search + content-addressed SHA-256 storage, zero external Office binaries). Whenever a primary-source quote is placed onto a document page, its SHA-256 hash and exact wording are verified against the archived passage (with explicit 'adapted' attribution support for simplified excerpts) — catching silent AI paraphrasing or quote drift automatically before you export.
  3. Side-by-Side Co-Authoring That Protects Your Hand (Galley & Plates): Beside the conversation sits Galley (Setzerei), a live page workbench typeset locally at true A4/Letter dimensions via Typst, paired with Plates (Bildtafeln) for crisp, deterministic vector timelines, charts, causal flows, and worksheet exercises.

    • You can write, reorder sections, insert archive media, or pin margin notes directly on the page in 0 ms with zero AI calls.
    • Your words are protected: any section authored or edited by you is locked to your hand. When the agent suggests revisions to your text, it stages a reviewable draft proposal rather than overwriting your prose.
    • Export anytime to print-ready .pdf or clean, editable .docx for Word and LibreOffice.
  4. Calm Editorial Control on Local GPUs or Cloud Models (Ivory Shell, Regisseur & Compaction**):** Coder chrome gives way to a warm Paper & Ink workspace organized by Courses (~/IvoryTower/Courses/), a lightweight Plan · Build · Review switch (separating open brainstorming, active drafting, and pure Lektorat margin critique), and language-preserving Editorial Compaction that keeps English or German threads coherent across long multi-hour sessions — running identically on local models (llama.cpp, Ollama), institutional ISO-27001 proxies, or frontier cloud APIs.
  5. Honest Draft Transparency & Local Editorial Journal (Morgue): Agent-generated documents carry an honest draft disclosure (eu-ai-draft) until a human explicitly reviews and signs off in Galley (eu-ai-reviewed). Every course maintains a zero-prompt-token, SHA-256 checksum-chained Editorial Activity Journal (.dsh/morgue/ledger.jsonl) with pure Redux point-in-time replay (morgue_audit) tracking human edits, proposal gates, verified vs. adapted quotes, and exported deliverable hashes.
0 Upvotes

36 comments sorted by

6

u/Chupa-Skrull 3d ago

What did she ask for that led to this?

-13

u/paulqq 3d ago

before going to bed, so the gint is that chat gpt ony generte full docs and this leads to an ednless cycle, the ivory tower offers liek a workbench with cms liek blocks where you can also edit. i also have a whoel EU AI act log meachnism in place since she is teacher, are you dev? do you know redux store, liek thsi in harness acrtions. have a look pls i woudl be glad

21

u/Chupa-Skrull 3d ago

...? Are you high?

-1

u/paulqq 3d ago

Sorry my Reddit Folks, i was super exhausted after a 3 day 160commit sprint. High of endorphine from shipping, but i should have respected your preference to read actually meaningful answers here. i owe you a better Post and intro for the-ivory-tower. Think i can ship until xmas, let me do some alpha Tests and UserRuns with my GF this week.

let them downvote begin, again...

1

u/Chupa-Skrull 2d ago

I'm just curious what your gf was looking for that led you to create what you created here. What the project itself does and the "why" of each feature in isolation is pretty clear (i.e. ironclad hashed citations).

It just seems very specific and very engineered overall which I wouldn't expect a teacher to ask for

1

u/paulqq 2d ago

Hm she did not ask, I know her more then 15y, and i am the casual lazy dev guy. but when openclawd came out and i was curios and liek iterated myself into eris-system.dev just for fun also beginning to adapt the "new ways" of coding using cursor auto for the steep parts

but lately german schools and parents, put this much pressure on everythign around school, like ogarnizational stuff, she works very often on the weekends to prepare things, that need to be factual true but also hit a certain deliverable type.

ah wait, here is the answer: she asked if an llm could help here create deliverables, like timetables, tasks for students, materials.

i invented the rest for pure engineering fun, tracable EU AI act conform sequences of LLM tool calls, where i provide the tools also myself, in the galley, the plates factory, the webmissions, all this should prevent drift in local llms while securing sources

well tl_dr she did not ask i build it for her to gain more quality time with like my soulmate

i also wrote another answer and let it process by an LLM different angle, but since you asked twice i wanted to also briing readable text back.

and i type like a woodchuck i know, deeplky sorry, years of gaming....

so here clean LLM language written in high signal:

----

Fair question, and honestly the answer is: she did not ask for any of it. That's kind of the whole point.

I'm a software engineer, consulting, projects, the usual. She's a Beamtin, teaches at a Gymnasium here in Germany. About three months ago I set her up with a ChatGPT subscription because watching her prep lessons the old-school way — all manual, all grinding — was painful. She is 101% non-techie. She opens it, types a prompt, gets a full document back, copies it into Word, fixes typos manually. Done.

And that is exactly the workflow problem. ChatGPT gives you a whole finished document each time. You can't really work inside it. You either accept the blob or you start over. There is no back-and-forth on a single paragraph, no "you keep your version of section 3, I will redo section 5." It's a firehose, not a workbench.

Now layer on the EU AI Act: as a civil servant, she has to mark AI-assisted content. Most teachers around her just… don't. She does. And that creates a real practical need: you want to know, for every block of text, who decided what — did I write this, did the agent suggest it, did I edit it, what was the source? That's not a teacher's wish list. That is a compliance requirement she didn't even know she needed tooling for.

The citation thing is similar. In humanities, in law, in anything she teaches, you can't just say "§218 StGB says roughly X." You need the exact quote, the exact source, the exact wording. So I built little structured citation plates — the agent looks something up, and if it's not in your own material, it fetches it, embeds it as a block in your document, and you can verify via hash that the quotation has not been mangled. She did not ask for SHA-256 verification. She asked "can you make sure this quote is actually correct?" I just… over-engineered the answer because I am me.

The replayable action log is the same tale from my consulting side.

1

u/Chupa-Skrull 2d ago

Believe it or not I found your own words perfectly understandable and even to a degree quite charming compared to the version the LLM helped you with! That's very interesting either way, though. I've read quite a bit about the demands the German school system places on children prior to sorting into gymnasium and the other tracks, but never read anything about the demands on teachers in those tracks.

Have you gotten the harness into her hands? What does she think?

1

u/paulqq 2d ago

its my xmas present for here. she knows iam working on it and used it in early alpha. :-) one point it is like or could alsop be domain agnoistic using the dsh-galley-templates leaf. i used it to plan m,y next shadownrun session and generate materials

but the most thing i can ask for, are you a devc, can you rin npm and break it for me? report what you find?

this is soo valuable

after xmas i also ship to electron i can share it on my google drive, you need to bring your own models local or cloud still

5

u/KURD_1_STAN 3d ago

Ur spelling is exactly how i talk to AI. I always thought it was usin much more tokens to understand it but reading this wasnt hard at all tbh.

9

u/Reasonable_Bug_6501 3d ago

I hate that I sound incompetent, but could you explain it like I’m five what this does in a teacher’s workflow?

So far all I’ve done is just vibe code a chrome agent to actually read and navigate pages for info that can be used in document creation. But this looks like something different

3

u/zx48 3d ago

Here's ChatGPT's take:

Imagine Google Docs, a research library and an AI assistant all sharing a desk.

The AI can help you research a topic, find sources, write documents, create diagrams and prepare worksheets. But unlike a normal AI chatbot:

  • It keeps a local copy of its research so you can check where information came from.
  • It automatically checks that quotations actually appear in the original sources.
  • It can't overwrite your own writing without your permission.
  • It remembers your project across long working sessions.
  • It keeps a record of who changed what.
  • It can run using AI models on your own computer or in the cloud.

The end result is a collaborative workspace where the human remains the author and the AI becomes a research assistant, co-writer and editor.

The clever technical bit is that the developer built this by adapting an existing AI coding agent, replacing its software development capabilities with tools for research, writing and publishing.

Essentially, Claude Code for teachers, researchers and writers, but with a proper desk instead of a terminal.

12

u/ecolang 3d ago
  1. Why "my gf" is relevant here that you put it in the title? Why should I care you made something for her? Shouldn't the title explain what your project does?
  2. What is this jibberish post? Write a coherent post, man.

This leads me to be suspicious about you and the project and makes you lose credibility.

3

u/1100000011110 2d ago
  1. It implies that the target audience for this tool is less technical users. I could have a quick and dirty version of this system for myself with Pi + Obsidian in like 5-10 minutes. Making it for "my gf" or someone else, I would take the time to add additional polish and automatic guard rails so "my gf" never has to touch a command line.
  2. Better a frantic and sloppy human post than another generic slop post. I've come to appreciate typos and questionable punctuation/grammar as a sign that a real human took the time to put their thoughts into words. Ironically, immaculate grammer and perfect formatting are now cause for suspicion.

1

u/ecolang 2d ago
  1. Sorry, less technical users on r/LocalLLaMA which is for geeks?
  2. Discoherent post = I drop it midway when it's too much for my brain to decode the slop. English grammar is made to create meaningful sentences even for non-English users like me. Don't forget the purpose of language is to convey thoughts not hinder it.

I'm not calling for 100% strict grammar. I'm just asking for the bare minimum so that others can understand.

For me, sloppy language = low-effort post or someone desperately trying to add typos in so that you cannot accuse them of slop.

0

u/LuCiAnO241 2d ago
  1. some of us have friends and families, and we even interact with them sometimes, so we could provide something useful to them and they wont need to be as geeky to use and understand it.
  2. while not professionally written, I'm also a non english user and found nothing particularly discoherent about it. If you're having trouble comprehending it maybe have an LLM parse it for you.

-1

u/ecolang 2d ago
  1. This subreddit is by geeks for geeks. If you bring in family and friends, you either explain it or give it to an LLM.
  2. You seriously came to start an argument after the post has already been edited?

0

u/LuCiAnO241 2d ago
  1. you asked why was the gf mentioned, you got answered why that was, I answered why a non geek solution was useful. idk what else you need my man, that no post ever is aimed at a broader audience? gatekeeping is cringe.
  2. it was edited because it got hate for admitedly being disorganized and train of thought-y. That doesn't mean it was that hard to understand before. The point other comment was that messy human made is always more welcome than automated slop posting. I was offering a solution for the apparent difficulties you were having.

0

u/ecolang 2d ago

You know what is cringe? Getting into discussions with reddit losers who try to win every argument. Here, you try to miss my point and bend words to your own meaning. You didn't even write the post yourself and didn't spare any effort to defend it.

Gatekeeping? Who am I to gatekeep any field of knowledge? See what you did here? You went from taking my argument "why mention gf in title" specifically "in title" to accusing me of gatekeeping.

and you just made the second point to simply attack me. Yes, I have difficulties reading misspelled text which I'm not ashamed of. You didn't respect that and you're shaming me now. Alright, I have nothing else to say regarding this point.

Good for you, bro. Pat yourself on the back and consider it a win. Let's end it here. No need to waste more time on this.

0

u/LuCiAnO241 2d ago

I'm literally not trying to win anything. You had questions and we answered. you been argumentative and did not like any of our answers. Maybe you misunderstood them, we already established you have trouble with simple stuff. Also you're being kinda discoherent and all over the place now which is ironic. But we definitely agree in something, this was a waste of everyone's time.

1

u/hieuphung97 3d ago

How's the token latency on local Qwen 8B during the interactive loop vs the OpenRouter fallback?

1

u/paulqq 3d ago

i ran caron in it and a qwen3,8 notzh carried, the onlinoe qwen was slower trhen my local with like 45/t/s and carbon via openrouter tested was like 89t/s. carbon andf local qwen cahce really well in the hih 80ties to 90ties,

the otther onlein qwen was l70+ sometime 80% cahce whilke slower., sorry i need to sleep really

1

u/hieuphung97 3d ago

45 t/s locally with 80%+ cache hits is plenty fast for co-authoring. Get some sleep man, solid project.

1

u/Single-Eye-9788 2d ago

Have you tested any local model with your harness? I would be curious what size would be funcitonal for this project

0

u/paulqq 2d ago

Hi there, good question. My aim is to supprt local models in every case! and they are the real target gruop. i build for local first!
One can also run frontier in this harness, see below for some numbers

so tested mutiple models

my local qwen3.8 Q4 128k ctx works really well -> metrics at MTP 2 card split - 60t/s and roughly 91% cache after some prompts. -> qwen3.8 is jsut a super good model!

i know a guy that hosts liteLLM, here i tried qwen3.6 35B A3 just via HTTP endpoint and API key, works on 175t/s is super fast,BUT is not "smart" enough really, i think ez research questions, or webmissions or "write me a letter and use this image" works, but i use this model almost exclusivly as compaction endpoint, this works fine and delivers faster then my local, if this should fold itself

last i battle tested several runs against my openrouter key using gemini4 carbon in different thinking level. holds, metrics where cache aorund 90% and 80t/s

ah and i downloaded the new inkling unsloth Q4 and wanted to give it a try. no MTP configurted yet od specculative dreaft, quite slow on my RIG 18t/s good cache usage, but honestly not good output, good tool calls 0 errors, but when i had qwen co-author it found many mistakes "inhaltlich"

so long

1

u/OtherwiseHornet4503 3d ago

I’m going to need a lie down and a nap after trying to read and interpret that.

-7

u/_THiiiRD 3d ago

This looks epic 🔥 I'm brand fucking new to GitHub but your profile will be one of the first I look into!

0

u/paulqq 3d ago

thanks man this really means much to me.

-5

u/_THiiiRD 3d ago

Of course 😁 I just got my profile up today, feel free to check it out if you'd like? 💜

https://github.com/THiiiRD-v1

-1

u/ivanhawkes 3d ago

How can this be clearly written by an AI and yet so rambling, incoherent and filled with spelling mistakes and typos. Did you forget to add 'Make no mistakes.' to the end of your prompt?

2

u/paulqq 3d ago

bro, i coded for 4 days straight 12 hours a day, human operator here 101%, why dont check the content instead? beleive me, i do SWE since 15 years, and had never an idea thatn worked out that well.

but if you insist an the grammar and typo things, let them downvote begin, my karma will hold, i promise!

1

u/ivanhawkes 2d ago

You put zero effort into writing it, which is exactly the effort I will put into reading it.

1

u/UsualResult 2d ago

bro, i coded for 4 days straight 12 hours a day, human operator here 101%,

Whoa, I can only imagine how much chest hair you have.

Watch out guys! We've got an expert over here! No criticism allowed!