Building an AGLC-to-Zotero Converter with Kimi K2: Why Specialisation Beats General AI for Legal Citations

If you’re an Australian law academic or student who manages research in citation management software like Zotero, you know the drill. You have a bibliography beautifully formatted according to the Australian Guide to Legal Citation (4th ed), but now you need to import those references into your Zotero library. Maybe you’re new to citation management software or didn’t think you needed it, but the next best journal for your article uses a different citation style

The problem? There is no easy way to get this information from a bibliography into your Zotero library. You end up manually copying case names, legislation titles, and journal articles field-by-field into your reference manager. It’s tedious, error-prone work that somehow feels beneath the dignity of modern legal research.*

I went searching for a better way. I found a handful of web apps promising to convert formatted citations into reference manager formats, like RIS. There’s even a decent one floating around on ChatGPT. But every single tool I tried shared the same fatal flaw: they were built for general citation styles—APA, MLA, Chicago—not for the precise, idiosyncratic world of the Australian Guide to Legal Citation. When I fed them an AGLC-formatted bibliography, they stumbled. Cases became journal articles. Legislation turned into journal articles. The output was a mess and would not be much better than manual entry.

That’s when I realised the problem wasn’t the AI; it was the training data. These tools were taught to recognise patterns in general citations, but AGLC4 CSL style in Zotero requires certain information to be added in specific fields for it to be rendered correctly. A citation like Donoghue v Stevenson [1932] AC 562 isn’t just a string of text—it’s a formula: [Case Name] [Year] [Volume] Law Report [First Page]. If your AI doesn’t understand that grammar, it can’t parse it correctly.

Teaching Kimi to Speak Legal Citation

This insight coincided with my first serious exploration of Kimi, specifically the K2 model with its new ‘OK Computer’ functionality. I’d dabbled before, but this was the first time I entrusted an entire project to Kimi’s ecosystem. My goal was straightforward: create a web app that could take an AGLC-formatted bibliography and convert it into a clean RIS file for seamless Zotero import.

The key difference? I didn’t just ask Kimi to ‘build a citation converter.’ I fed it AGLC4 samples—actual cases, legislation, journal articles, and books formatted precisely to render AGLC correct citations. This was my attempt at an exact field mapping that Zotero’s RIS format expects for legal references.

In effect, I taught Kimi the semantics of AGLC, not just the syntax. The OK Computer interface made this iterative training process surprisingly intuitive. I could paste AGLC samples, test outputs, refine instructions, and rebuild the application logic in a single, flowing conversation. The interface feels familiar—much like chatting with other LLM chatbots—but I noticed something refreshing: the free tier didn’t gasp for breath when my context window grew or when I hit what would have been rate limits elsewhere.

The Free Tier That Actually Lets You Build

Here’s where I need to give credit where it’s due. This entire project—the initial concept, the parsing logic, the web interface design, the debugging of edge cases, the deployment—was accomplished on Kimi’s Free Tier. All of it.

I could be mistaken but had I used ChatGPT’s free tier, I fear I would have hit message caps or context limits before achieving something production-ready. Claude’s free tier would have similarly throttled the rapid iteration cycles this kind of project demands. Kimi didn’t. I could maintain the full context of our conversation, refer back to previous decisions, and continue refining without that subtle pressure of ‘you’re running out of free requests.’

Is Kimi K2 a wholesale replacement for Claude or ChatGPT? It’s too early for me to make that call. For general writing tasks or creative brainstorming, the differences are probably marginal. But for this specific use case—building a nuanced, browser tool with some iterative training—the cost-performance ratio is genuinely impressive. When you’re paying nothing but getting the context window and patience to teach an AI a specialist skill, that’s pretty good value.

What the App Actually Does

The web app itself is simple by design. You paste your AGLC bibliography into the input field, click ‘Convert to RIS’. Then ‘copy to clipboard’ in the web app and in Zotero simply ‘import from clipboard’. Behind that simplicity is a parsing engine that’s learned the specific patterns of Australian legal citation:

  • Cases: It correctly identifies case names and maps year, reporter, starting page etc to the proper RIS field so Zotero renders them with AGLC precision.
  • Legislation: It recognises jurisdiction, year and legislation or bill name, formatting them exactly as the style guide demands.
  • Journal Articles: It handles author name formatting, journal title, and volume/issue.
  • Books: It parses author, title, publisher, and year into their respective fields, preserving the content for italicisation of publication titles.

The result is a RIS file that, when imported into Zotero with the AGLC CSL style installed, produces references that look like they were hand-crafted by a pedantic law librarian – well, almost.

A Work in Progress

This is a starting point, not a finished product. The current version handles the most common AGLC item types—cases, legislation, journal articles, and books. But AGLC4 is comprehensive, covering everything from treaties to Hansard to social media posts. I need your help to expand it.

Try it out. Convert your bibliographies. Import them into Zotero. If a particular citation type isn’t rendering correctly—or if you encounter an edge case I haven’t anticipated—send me the example. I’ll retrain the model, update the application, and push improvements live. This is how we build tools that actually serve the Australian legal research community: through collaboration and iteration.

The era of general-purpose AI is exciting, but sometimes the real magic happens when you take a capable model and teach it to master something specific. For me, Kimi K2 proved to be the right tool at the right price point (free!) to solve a niche problem properly. Whether Kimi can displace the incumbents for everyday tasks remains to be seen, but for specialised projects like this? The results speak for themselves.

Let me know if you find this useful or if you discover a particular item type that isn’t rendering correctly. Send me an example, and I’ll update the application.

* The fine print: You will still need to create new footnote references using Zotero, which will help keep your dignity as modern legal researcher in check! I recommend keeping it as AGLC initially, just to ensure that all the content has rendered correctly before converting the citation style to Blue Book or whatever house style is required.

Review of Richard Susskind’s ‘Tomorrow’s Lawyers: An Introduction to Your Future’

I recently finished reading Richard Susskind’s revised edition of Tomorrow’s Lawyers. In the spirit of doing things differently, I thought I would share my argument map (developed using Rationale) which summarises the book’s main thesis.


As is evident from the argument map above, Susskind’s argument is straightforward and easily accessible. Having read some of Susskind’s other works, Toworrow’s Lawyers didn’t break any new ground. This is not a criticism as his main thesis bears repeating.


I would recommend the book for lawyers and law students who are turning their mind to the future of the legal profession for the first time. Those familiar with Susskind’s ‘wake up calls’ may find Tomorrow’s Lawyers a little repetitive.

An Old Perspective on the Challenge of AI-related Unemployment

The Situationist inspired graffiti ‘Never Work’. Laid during a 1968 protest in Paris.

Recent speculation has occurred about the potential for widespread unemployment as a result of artificial intelligence (‘AI’) replacing humans in the labour market.1 The concern is that as AI improves it will be to perform increasingly sophisticated tasks currently performed by humans at the same or lower cost. Advanced AI will also enable robots of the future to be more adaptive and capable.

The increasing proficiency and use of AI and AI-related technologies will affect most industries, including jobs not previously considered susceptible to automation. The legal industry is not immune. In fact, progress has already begun.2 In Australia, a legal services firm has already developed a ‘bot’ called Lexi to help generate legal documents, including a free Privacy Policy or Non-Disclosure Agreement.3

Understandably, large-scale displacement of human labour is viewed as an impending social crisis.4 Max Tegmark has dedicated a brief section in his recent book Life 3.0 on career advice for children, which involves asking the following three questions:

Does [the position] require interacting with people and using social intelligence? Does it involve creativity and coming up with clever solutions? Does it require working in an unpredictable environment?5

This kind of forethought is not unwarranted, especially in America where the introduction of new technologies since WWII has led to a decoupling of productivity and average real earnings6 and where employment is tied to benefits like health insurance.7 The potential numbers of people displaced from work because of AI could cause a dramatic social and cultural upheaval, not unlike that of the Industrial Revolution.

On the other hand, many people lament returning to work after their holidays, especially after an extended break from work. This presents an interesting disconnect between the life most of us live (employed) and the life we most want to live (on holidays). Erik Brynjolfsson, an economist at MIT, has coined the term ‘Digital Athens’ for an Athenian-type return to leisure that AI could bring.8 But, this time, instead of a life of leisure built on the backs of slaves, AI and AI-related technologies could do most of the work that currently occupies our lives.9 Giving us the time to pursue what really interests us.

There are some obvious challenges that must be overcome before the utopian vision of Digital Athens is realised. Most obviously, income and the distribution of AI-generated wealth. But rather than fearing the inevitable progress of AI or convincing ourselves that new jobs will replace the old ones (as occurred during the Industrial Revolution), our time would be better spent devising a scheme for the equitable distribution of AI-generated wealth.

The other challenge associated with AI-related unemployment is the potential loss of meaning that many of us derive from working.10 To address this, we may return to some old ideas.

I recently learned of a revolutionary, anti-capitalist group called the Situationists, that gained some prominence in Europe from 1957-72.11 According to Gray, the Situationists worldview can be summarised as

a mélange of nineteenth-century revolutionary theories and twentieth-century vanguardist art. They took many of their ideas from anarchism and Marxism, Surrealism and Dada. But their most audacious borrowings were from a late-medieval sodality of mystical anarchists, the Breathren of the Free Spirit.12

The Situationists dreamed of a world where people did not need to work.13 Where humans could live a fulfilled life pursuing their true desires.14 Such a world may be possible with AI and AI-related technologies of the future.

The Situationists believed that automation would make physical labour unnecessary. While traditional automation has certainly replaced some forms of physical labour, labour is still required because automation largely remains unable to deal with novel situations. Advanced AI and AI-related technologies promise to overcome this challenge through deep learning based on artificial neural networks. Could AI deliver a modified version of the Situationists utopia after all?

The Situationists predicted ‘Without scarcity or work, there would be no need for conflict’.15 Certainly, if AI-generated wealth could be effectively and equitably distributed then it would eliminate many forms of conflict. This may also require some revision of our individual and collective wants. The Brethren of the Free Spirit and the Situationists believed that

Humans are gods stranded in a world of darkness. Their labours are not the natural consequnce of their inordinate wants. They are the curse of a demiurge. All that needs to be done to free humanity from labour is to throw off this evil power.16

Maybe part of the antidote for ennui caused by AI-related unemployment is to connect with our true needs? This could lead to a more meaningful existence and a life well-lived, which is what we all want.