A partner at a Dakar law firm looking for a standard clause in a 2019 contract, an opinion already drafted on a specific point of law, or a precedent cited in a file closed last year often loses a significant amount of time reopening binders or poorly named files. A private on-premise LLM answers these searches from the firm's own documents, with the exact source reference, without those files ever leaving the firm's servers. This is worth doing for a firm whose document base, template contracts, briefs, opinions, annotated case law, is already substantial, and whose duty of confidentiality to clients rules out sending any of it to an online service.
What Senegal's data protection law means for a law firm
Senegal governs the processing of personal data through Law No. 2008-12 of 25 January 2008, supplemented by implementing decree No. 2008-721 of 30 June 2008. The Commission de protection des données personnelles (CDP), the independent authority created by that law, receives prior declarations of processing. For a firm handling client files, correspondence and procedural documents, this law applies whenever personal information is processed, whether the assistant is local or not.
What a local deployment changes is the transfer question: Law 2008-12 only allows the transfer of personal data to a third country if that country offers a sufficient level of protection, with exceptions (consent, protection of life, public interest, contract, legal proceedings), and such a transfer must be preceded by notice to the CDP covering the parties, the file concerned, the types of data, the number of individuals and the frequency; countries that are members of AFAPDP are presumed to offer an adequate level. ECOWAS's Supplementary Act of 16 February 2010 on personal data protection also calls on each member state to adopt a national law and set up a supervisory authority, which Senegal has done. When the model runs on the firm's own servers in Dakar, files and queries are never sent to a recipient outside the country, which removes this transfer question for the assistant itself. It does not remove the duty to notify the CDP or the lawyer's duty of professional secrecy, both of which remain in force regardless. Consult the CDP and the firm's own legal counsel for anything specific to your situation. This is not legal advice.
How the project runs for a law firm
| Phase | Duration | What happens |
|---|---|---|
| Phase 1, audit and comparative testing | 2 to 3 weeks | Workshop with partners and the firm's IT lead to define priority use cases (contracts, briefs, case law); an evaluation set of 80 to 120 real questions validated by the firm, including trap questions; blind testing of three models under a commercial-use-friendly open licence; audit of the firm's infrastructure; recommendation report and hardware specification sheet |
| Hardware purchase | Timing depends on the firm's supplier | The firm buys the recommended hardware directly, not included in the engagement price |
| Phase 2, secure deployment | 3 to 4 weeks after hardware delivery | Installation of the retained model on an architecture isolated from the internet; controlled access by role (partner, associate, trainee); an assistant on internal documents with sourced answers; guardrails against invented content and an alert channel; staff training and handover to the IT lead |
The evaluation set built in phase 1, including the trap questions, remains the firm's property and is later used to judge any new model the firm wants to test.
Budget: the Senegal price and what hardware adds
For a firm based in Senegal, Kolonell's reference price is 1,500,000 FCFA from phase 1 and 2,500,000 FCFA from phase 2, hardware not included. That hardware is bought directly by the firm from its own supplier, against the specification sheet delivered at the end of phase 1: it is not part of this price. What moves the hardware cost is the size of the retained model, how many partners and associates will use it at the same time, the volume of contracts and files to index, the need for redundancy, and recurring operating costs such as electricity. The engagement itself is paid by phase, 50 percent on order and 50 percent on delivery, with no usage-based billing, unlike an online subscription charged per query or per user.
When a local LLM is not worth it for a firm
A small firm that handles few sensitive files, has no large document base to search, or has no one internally to take over operation after training, probably does not need this project. Likewise, for an occasional search into general legal doctrine or non-confidential foreign law, AI tools like ChatGPT often suffice, provided no client file material is ever typed into them.
FAQ
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
Does a local LLM exempt us from declaring our processing to the CDP?
No. A local deployment removes the question of transferring data outside Senegal, but the declarations required under Law 2008-12 and the lawyer's duty of professional secrecy remain in force regardless.
Is attorney-client privilege respected by this kind of assistant?
Local processing reduces the number of third parties who can access case file material, since nothing leaves the firm's servers, but it does not lift professional secrecy or the profession's rules on disclosing information, which continue to apply in full.
Does our client file content train an outside model?
No. The model installed on the firm's own servers sends no queries or documents to a third-party provider; any further training would only happen on anonymised data, under the firm's control, and after the necessary formalities.
Who stays responsible for decisions based on the assistant's answers?
The firm's partners and associates. The assistant prepares a sourced answer from internal documents, but no decision affecting a client or a case is handed to the model: the lawyer remains the sole decision-maker and signatory.
Can we stop the project after phase 1 if the report does not suit us?
Yes. Each phase starts on the first payment and the firm stays free to continue or stop at each step; the evaluation set, configurations and documents belong to the firm from phase 1 onward, with no lock-in.
Let's scope your project. If your firm is weighing a private on-premise LLM to search your contracts, briefs and internal case law, request a quote to scope phase 1 with your partners. You can also reach us on WhatsApp at +221 77 596 93 33.
Mohamed Bah
Fondateur, Kolonell
Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.