OLH

Oscar Lauge Hoffmann · Founder of lovguiden.dk · Copenhagen

AI agents that take over recurring work, and show their sources.

The technology behind Lovguiden, the Danish legal service used by more than 580,000 people in the past year, built around a company's own data and workflows.

oh@opkurser.dk
Lovguiden · a nightly runDone
  1. 01
    Collected
    Courts, parliament, 25 ministries and around 220 agencies
    OK
  2. 02
    Repaired
    One source changed its website. The agent patched and verified the fix.
    Agent
  3. 03
    Read
    Scanned PDFs turned into searchable text
    OK
  4. 04
    Structured
    Sections, paragraphs and cross-references linked
    OK
  5. 05
    Summarised
    Classified and summarised by local models
    Local
  6. 06
    Published
    To the website, to AI tools via MCP and to the API
    OK
Live112/112 jobs completed · 24h
51,820
Monthly visitors
400+
Companies & organisations
2,000+
Public sources, kept current
138K+
Verdicts & decisions
What Lovguiden's users say
I'm very impressed with Lovguiden. It's a tool that has been in demand for a long time. Limiting it to legislation, verdicts and decisions makes the AI search far more trustworthy than the chatbots we know.

Søren Engers

VAT Director, Baker Tilly

A product that creates overview and is intuitively simple to use is something I have missed for about 40 years. Lovguiden is the product that today comes closest to giving me that overview of tax legislation.

Ole Aagesen

Lecturer, CBS, and author

The database gives quick access to legislation, from bill to enactment, along with a large number of rulings and decisions. The chatbot quickly gives an overview of the relevant legislation.

Reza Ahmadian

Lawyer

Services

Systems that run by themselves.

The same technology that runs Lovguiden, built around a company's own data and workflows. Every system is designed to run without supervision and to show where its answers come from.

01

Agentic automation

Recurring work handed to AI agents that run on a schedule: collecting data, checking it, writing and reporting. Every run is logged, and when a source changes, the system diagnoses the fault and repairs it.

  • Scheduled agents and data pipelines
  • Monitoring, alerts and self-repair
  • Runs locally or in the cloud
Lovguiden's ~40 automated jobs
02

AI assistants on company data

Search and an AI assistant across internal documents, rules, contracts or case files. Answers come from that material only, and every reference is checked before anyone sees it.

  • Answers with verified sources
  • Local models when data can't leave the building
  • Search tuned to the domain
How Lovguiden AI stays accurate
03

Company data inside AI tools

MCP servers and APIs that bring internal data into Claude, ChatGPT, Copilot and custom agents, so AI tools work with what the business actually knows. AI assistants such as ChatGPT, Copilot, Gemini and Claude already send around 600 visitors a month to Lovguiden.

  • MCP servers with access control
  • Documented REST APIs
  • Usage-based billing for paid access
Lovguiden's MCP server and API
04

AI-run operations

An existing business rebuilt so the routine runs itself: website, bookings, invoicing and back office, plus agents that write content and campaigns every day.

  • Website, back office and payments
  • AI newsroom and campaigns
  • Migration alongside the old system
The opkurser.dk client case
Lovguiden · fully automated

Fully automated and running locally.

All of Lovguiden's data is collected, processed and updated by a purpose-built system that runs locally. When a public website changes and a data source stops working, an AI agent repairs it and verifies the fix. The figures below are based on the system's own measurements.

Live statusProjected from 30 days of runs · Nov 22
112/112
Jobs run · 24h
99.1 %
Success rate · 30 days
4,837,444
Items processed · 30 days
41
Active data sources
53
Jobs · 7 days
Last job finished
folketinget.ocr
Nov 5Nov 22
How it runs
01
Schedule

Around 40 jobs run on a fixed schedule, day and night.

02
Check

Connections, database and storage are checked before each run.

03
Run

Jobs run in parallel within set limits and recover after interruptions.

04
Monitor

Every run is logged, and jobs that stop returning data are flagged.

05
Repair

An AI agent diagnoses a broken data source and prepares a fix.

06
Verify

A fix is only applied after it has been tested against the live source.

How the data sources repair themselves
Process

From first conversation to a running system.

  1. 01

    Conversation

    The work that takes too long is described, followed by an honest assessment of whether AI and automation can take it over, and roughly how.

  2. 02

    Prototype

    A first version on real data, so the result can be seen working before anything larger is committed to.

  3. 03

    Build

    The full system, built in short iterations with regular demos, so progress can be followed all the way.

  4. 04

    Operate

    Operated and monitored as a service, or handed over with code and documentation to an in-house team.

Questions

What does it cost?

It depends on the scope. A concrete proposal follows the first conversation, and the first step is kept small.

Is it only for legal tech?

No. Lovguiden is legal, but the methods apply anywhere with many documents, many sources or repetitive work. opkurser.dk is a course business.

Can data stay in-house?

Yes. Lovguiden's data processing runs on local models, and the same setup can run on a company's own infrastructure, so sensitive data never has to leave it.

What happens when something breaks?

The systems are monitored and repair common faults on their own, such as a data source changing its format. Anything they can't fix is flagged.

Who owns what is built?

It is agreed up front. The full source code and documentation can be handed over.

Which languages?

Danish and English.

Portrait of Oscar Lauge Hoffmann
Oscar Lauge HoffmannCopenhagen, Denmark
Profile

Founder and engineer, based in Copenhagen.

Oscar Lauge Hoffmann founded Lovguiden in November 2023 and has developed and run it since. It is now used by hundreds of thousands of people a year, and its data operations are fully automated.

The work covers the whole product: data collection, search and AI, the interface and billing. The focus is on systems that run reliably without supervision and can show where their information comes from. Alongside Lovguiden, he builds the same kind of systems for other businesses.

01

Automation

Recurring work is automated, and the systems are built to detect and repair their own faults.

02

Runs locally

Data processing runs locally, which keeps costs predictable and the data under full control.

03

Accuracy

AI output is grounded in source material, and every reference can be checked.

04

End-to-end ownership

Products are taken from the first data source to the finished interface and the invoice.

Latest note · Nov 2, 2026Hybrid search in Postgres without pg_search

Contact

Get in touch.

For recurring work that takes up too much time, or data nobody has the hours to go through. A short description of the task is enough to start the conversation.

Send an emailoh@opkurser.dk

Danish or English

Three lines are enough
  1. 01
    The task
    The recurring work that takes too long.
  2. 02
    How it is handled today
    Who does it, and with which tools or sources.
  3. 03
    How often
    Daily, weekly, or every time a document arrives.

The email button opens a draft with these three prompts in place.