Retour à Insight

Company News

Part 2: Building Your First AI Assistant Without Coding

Digital Craft X Team
Part 2: Building Your First AI Assistant Without Coding

In Part 1, we explored AI, automation, and the benefits of running models locally. Now it is time to put that knowledge into practice. Most people use AI as a chatbot, but an assistant can do more: read documents, organize information, prepare reports, and follow preferred working methods. This part introduces LM Studio and OpenCode and explains how reusable instructions can guide an AI assistant through real professional tasks.

Understanding AI agents

A chatbot primarily responds to questions. An AI agent can use permitted tools to work toward an objective. For a weekly sales report, it could read a spreadsheet, calculate revenue using appropriate software, compare periods, draft a summary, prepare a report, and save a file. Results still need verification. AI models can misunderstand instructions, make calculation mistakes, or generate incorrect claims. The objective is to reduce repetitive work without sacrificing accuracy.

new pexels kindelmedia 8566562

The tools we will use

LM Studio lets you download and run compatible AI models on your computer. Its local server allows other applications to communicate with the selected model. Think of it as the engine. OpenCode is an open-source AI coding agent that supports different models, reusable instructions, specialized agents, and tool access. It is primarily designed for software development, but can be explored for broader workflows. Think of it as an environment that helps the engine perform actions. OpenCode is more technical than a typical chatbot. Setup may involve a terminal or configuration files, so expect some troubleshooting even if you do not write software professionally.

article2 2

Setting up your local AI assistant

  • Step 1 — Install LM Studio from its official website. Choose a model that fits your computer’s memory and supports tool calling if you intend to use it with an agent.
  • Step 2 — Test the model first. Ask it to summarize a document, classify sample emails, or extract fields from text. For example: “Extract the supplier name, invoice number, date, and total. Write Unknown for missing information.” Check the output carefully.
  • Step 3 — Install OpenCode following its official documentation. It supports different AI providers, including compatible locally served models.
  • Step 4 — Enable the LM Studio local server and configure OpenCode to use the model it serves. Test on a disposable sample folder with a request such as: “Read this text file and create a summary in a new Markdown document.” Avoid granting unrestricted access to business files.
article2 3

The secret ingredient: AI skills

You do not need to train a model from scratch to make it useful for your profession. Often you need clear instructions, examples, and access to the right information. An AI skill is a reusable set of instructions that explains how an assistant should perform a task. Think of it as a training manual for a new employee. You would not simply say “Prepare the financial report.” You would explain which files to use, which calculations to perform, which format to follow, and which mistakes to avoid. AI assistants need similar guidance. Skills guide an existing model; they do not modify its underlying trained weights.

new pexels gabby k 9487617

Creating your first AI skill

Imagine preparing monthly expense reports from spreadsheets. A useful skill specifies: Objective —prepare a monthly expense report. Input — a spreadsheet of transactions. Instructions — identify date, category, description, and amount; categorize transactions; calculate totals using reliable functions; flag inconsistencies; and prepare a summary. Expected output — a report with totals, category breakdowns, and items requiring review. Rules — never invent financial data, never overwrite originals, flag uncertain categories, and request approval before external sharing. OpenCode supports reusable skills through dedicated SKILL.md files. You can create them manually or ask an AI assistant to help draft them.

pexels bylukemiller 19316774 (1)

Let AI help you create AI skills

A useful trick is to ask a capable chatbot such as ChatGPT or Claude to structure your workflow. Describe your experience, current process, tools, expected result, and common errors. Ask it to distinguish steps requiring AI from steps better handled by ordinary software. For example: “I prepare monthly expense reports from spreadsheets and PDF invoices. Design a reliable workflow using a local model. Specify extraction, categorization, calculations, validation, error handling, and expected outputs. Turn it into reusable agent instructions.” If research is available, ask the chatbot to consult official documentation. Review and test the proposed skill rather than assuming its first draft is correct.

new pexels kindelmedia 7651803

Testing with invoice processing

First, collect PDF or image invoices in a designated folder. Second, use document processing and OCR (Optical Character Recognition) where needed to obtain readable text. Third, let AI help identify supplier, invoice number, date, amount, and tax fields. Fourth, use conventional software to check duplicate numbers, missing fields, and calculations. Fifth, save validated information to a spreadsheet and generate a summary. The accountant reviews uncertain entries before approving the report. Notice that AI does not have to perform every step. It helps interpret documents; deterministic software handles exact calculations and validation.

pexels n voitkevich 7172856 (1)

Improving your skill over time

Start with five documents whose correct results you already know. Run the workflow and compare its outputs against those verified examples. Perhaps it confuses invoice dates with payment deadlines or handles tax incorrectly. Improve the instructions and test again. Expand to more varied documents only when the workflow performs reliably. Measure accuracy, time saved, and time spent correcting mistakes. Automation is not efficient if review and repairs take longer than the original task.

pexels d goug 211350543 33043371 (2)

Conclusion: Your expertise is the foundation

The most valuable part of an AI assistant is not necessarily the model. It is the professional knowledge guiding it. Your experience tells the system what matters, what steps to follow, and what success looks like. In Part 3, we will explore how multiple specialized agents can collaborate, how to structure those workflows, and when the added complexity is worthwhile.