# How we isolated the local Qwen agent experiment

Canonical URL: https://syntalith.ai/en/blog/safe-local-llm-experiment

[Blog](https://syntalith.ai/en/blog) · Syntalith · 25 August 2026 · Updated 22 October 2026

Short answer

In our experiment the local Qwen agent could write files and run commands, but it worked only on prepared repositories with no secrets and no company data, in a fresh copy of the code for every run. The hidden tests sat out of its reach. The isolation was incomplete: the terminal tool had broad permissions, and we did not prove that outbound traffic was blocked.

How we work

1. Call · 30 minutes with an engineer, free
2. Prototype · A working system on your process and your data, free
3. Build · Target and fixed price in the contract, 50% at signing
4. Acceptance · 50% once the agreed target is met

analysis with an engineer and a free prototype: €0

team in ChatGPT or Claude, up to 10 people: from €1,150

automation, agent or application for one process: from €3,000

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-local-llm-experiment-hero)

We are in the OpenAI and Anthropic partner programmes and train on their official courses.

3 min read

## The agent saw only a small task repository

| Test case | User instruction | Hidden problem |
| --- | --- | --- |
| CSV export | remove duplicate orders and keep the columns | the tag separator described only in the README |
| activity pagination | fix the filter after “load more” | the cursor has to work on the filtered set |
| candidate import | add an atomic CSV import | an empty name and role are invalid |
| second round of import | update the record with an existing address | a duplicate within one file handled atomically |

The agent received `prompt.md` and the contents of the `repo/` directory. The checking script and the expected cases stayed in the parent test set, out of its reach. No input held client data: the candidates, orders and activities were fictional, and the interface test generated 10,000 synthetic people.

## Every run started from the same code

Comparing agents only makes sense when the second agent does not inherit the first one's changes. A setup script rebuilt the task base, and longer runs worked in separate, detached copies of the repository. The user's active project was out of the agent's reach.

**What we recorded after each run**

- The repository status and the change statistics
- The full set of code changes
- The exit code and the process signal
- A time limit hit or a manual stop
- Time, tool use and peak GPU memory

Start with the process that takes the most time each week.

€0 · analysis with an engineer and a free prototype

An engineer picks one process with you and works out what it costs today. Then we build a free prototype on 20–100 cases your team has already handled. The goal and the fixed price go into the contract.

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-local-llm-experiment-inline)

or call +48 888 78 48 78 [WhatsApp](https://wa.me/48888784878) Mon–Fri 9:00–17:00 CET

## What this isolation did not provide

The terminal tool had broad permissions, and we did not prove an independent block on outbound traffic. That was enough for an experiment at home on synthetic data, and it is not enough for a pilot in a company. An instruction hidden in a repository file could try to push the agent into other actions, which [OWASP describes as prompt injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/), the first risk on its list for applications built on language models.

**Controls we add in a pilot**

1. **Network.** an outbound traffic block, proven by a test
2. **Permissions.** a separate account with no access to secrets
3. **Tools.** a list of allowed commands in place of a full terminal
4. **Data.** only an approved set, never production
5. **Review.** every change assessed before merging

When preparing the next pilot, we use the [joint guidance from CISA and its partners on deploying AI systems securely](https://www.cisa.gov/news-events/alerts/2024/04/15/joint-guidance-deploying-ai-systems-securely) as an outside point of reference.

## What we measured inside this isolation

The isolation was a means to an end: it let us compare agents fairly on the same tasks. Each run gave the time, the number of tool calls, the peak GPU memory and a score against a criteria sheet. On the import task, Qwen Code passed 12 of 12 public tests and 4 of 5 hidden ones, because it let through a record with an empty name or role. Fixing the Go code, the same model needed 502.14 s and 52 tool calls. Without a fresh copy of the code for every run these numbers would not be comparable, because the second agent would start from the first one's changes. The method is described in detail in the post [how to test a local coding agent](https://syntalith.ai/en/blog/how-to-benchmark-a-local-coding-agent).

## From an experiment to a pilot in your company

**How to start with a local agent**

- You want to see what an agent can do → an experiment on synthetic repositories: a few days of work
- A pilot on the company's code → network isolation, an account without secrets, change review: private LLMs
- The team should work with agents itself → practice on your own repository: AI-native course

We deploy local models with permission controls as part of our [private LLMs](https://syntalith.ai/en/services/private-llms), we start a process review with an [audit](https://syntalith.ai/en/services/ai-process-audit), and the team practises working with agents on the [AI-native course](https://syntalith.ai/en/services/ai-native-courses). For the [free analysis](https://syntalith.ai/en/contact), a description of the repository and your data requirements is enough.

Statistics

## Local agents and security: statistics 2026

synthetic test projects in the local Qwen agent's everyday test set: CSV export, pagination, import and a second round of import, each with a hidden problem.

Public import tests 12 of 12 Hidden import tests 4 of 5

- 4 of 5
  According to a Syntalith test (2026), Qwen Code with a local Qwen3.8-27B passed 12 of 12 public CSV import tests but only 4 of 5 hidden ones, because it let through a record with an empty name or role.
  Source: [Syntalith, Qwen Code on everyday tasks (2026) ↗](https://syntalith.ai/en/blog/qwen-code-csv-pagination-import-tests)
- 502.14 s
  According to a Syntalith experiment (2026), Qwen Code with a local Qwen3.8-27B on one RTX 3090 card fixed a bug in Go code in 502.14 s, with 52 tool calls and a score of 100/100 against Syntalith's criteria.
  Source: [Syntalith, Qwen3.8-27B on an RTX 3090 (2026) ↗](https://syntalith.ai/en/blog/qwen3-8-27b-on-rtx-3090-results)
- 48.8%
  According to Eurostat (2025), 48.8% of EU enterprises that considered AI but did not use it named concerns about data protection and privacy.
  Source: [Eurostat, use of AI in enterprises (2025) ↗](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Use_of_artificial_intelligence_in_enterprises)
- 70.9%
  According to Eurostat (2025), 70.9% of EU enterprises that considered AI but did not use it named a lack of relevant expertise.
  Source: [Eurostat, use of AI in enterprises (2025) ↗](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Use_of_artificial_intelligence_in_enterprises)

Figures checked: 22 October 2026

Worked example · Scenario

## How we count the payback: a local model in an IT team

We run the same count for your team in the free analysis.

€4,188

a month for the work on 600 questions

Today €4,188 With the system €637

EU cloud version payback: 0.8 mo.

Our assumptions are 12 minutes to find an answer in the documentation, and checking in 15% of the old time. €34.90 an hour is the EU average hourly labour cost for 2025 according to Eurostat, for companies with 10 or more employees. Model cost: Claude Sonnet 5.5, about 6,000 + 500 tokens per answer in the EU cloud version, at the ECB rate of 1.1205 USD per euro on 22 October 2026. We count the payback for an app with a model in the EU cloud (from €3,000 net). We price the model on your server after a call, and the cost of people's work stays the same.

[See the full calculation](https://syntalith.ai/en/work/local-ai-model-for-it-teams)

## Client results.

[All projects](https://syntalith.ai/en/work)

customer service

### foap.com customer service: 95% of replies are sent automatically.

foap.com users write in from several countries and in several languages. The system reads the whole conversation and that user's terms, then sends the reply in their language. Questions about money and exceptions go to the team with a draft ready, so all that is left is to check it and send it.

95% of replies the system sends on its own, with nobody typing

< 1 min from an email arriving to a reply ready to send (median)

100% of emails that need a reply get a ready draft

47 h less work per 1,000 replies (estimate)

foap.com production data, October 20–21, 2026. Time to a ready reply: production review of November 2, 2026. Estimate: 3 minutes to write one reply by hand.

[How foap.com customer service works](https://syntalith.ai/en/work/email-triage)

Kuba Koziej

CEO and co-founder, MoreGrowth

> “We started with my own AI agent. During the training that followed, I learned to build new applications myself. Today I am bringing this way of working with AI into my business. Working with Syntalith gave me exactly the skills and tools I needed.”

[View the original training review on LinkedIn ↗](https://www.linkedin.com/feed/update/urn:li:activity:7485995435766145025/)

Start with the process that takes the most time each week. [Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-local-llm-experiment-proof)

AI implementation

## Start with the process that takes the most time each week.

An engineer picks one process with you and works out what it costs today. Then we build a free prototype on 20–100 cases your team has already handled. The goal and the fixed price go into the contract.

[See AI implementation](https://syntalith.ai/en/services/ai-implementation)

analysis with an engineer and a free prototype: €0

team in ChatGPT or Claude, up to 10 people: from €1,150

automation, agent or application for one process: from €3,000

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-local-llm-experiment-offer)

or call +48 888 78 48 78 [WhatsApp](https://wa.me/48888784878) Mon–Fri 9:00–17:00 CET

### Leave your contact. We will propose two times.

An email or a phone number and one sentence about the process is enough. An engineer gets back within 1 business day.

Would you rather see the price list first? Email me the price list

[Contact form on the page](https://syntalith.ai/en/blog/safe-local-llm-experiment#zostaw-kontakt)

## Questions

### How do you test a local AI agent safely?

On synthetic repositories with no secrets and no company data, in a fresh copy of the code for every run, with the hidden tests out of the agent's reach and a full record of changes, commands and exit codes.

### Does a local model mean full isolation?

No. In our experiment the terminal tool had broad permissions, and we did not prove that outbound traffic was blocked. A pilot in a company needs separate network and permission controls.

### What should you record after each agent run?

The repository status, the change statistics and the full set of changes, the exit code, whether the time limit was hit or the run was stopped by hand, and the time and memory measurements.

### How much does a local agent pilot in a company cost?

We deploy local models with a test set and permission controls as part of private LLMs. A server with a 24 GB card, for example Hetzner GEX45, costs €214 a month, and we price the pilot scope after the analysis.

### Is my data safe?

Yes. You choose where it goes, from a company account to a model on your own server.

## Read next

- [How long does AI agent implementation take? · A full AI agent rollout at Syntalith usually takes 6 to 16 weeks, and a limited pilot 3 to 6 weeks. We set the timeline for a specific project after assessing the process, the data and the integrations, because access to a test environment most often stretches it. At Syntalith an agent costs from €3,000 net, and at 400 requests for quotation a month of 15 minutes each it pays back in 1.2 months.](https://syntalith.ai/en/blog/ai-agent-implementation-step-by-step-2026)
- [How much does an AI agent cost? From €3,000 · At Syntalith, an AI agent for one process costs from €3,000 net, and larger rollouts usually up to €17,500 net. The build takes 6 to 16 weeks. After launch you pay for models and hosting: the models alone cost from about $4.50 to $450 a month at 10,000 calls. You get a fixed price before the contract and pay half after acceptance.](https://syntalith.ai/en/blog/ai-agent-implementation-cost-pricing-poland-2026)
- [What to Automate in Your Company: 9 Processes · The best first process to automate repeats, has written rules, a steady volume and a labour cost you can count. Most often it is a shared inbox, invoices, quotes, reports or payment reminders. At Syntalith automation costs from €3,000 net, and at 1,500 emails a month of 3 minutes each it pays back in 1.4 months.](https://syntalith.ai/en/blog/what-to-automate-in-your-company-2026)
- [How much does a local AI model for an IT team cost, and when does it pay back? · A local model setup for one chosen team task, with the release scope written down and a test that the environment can be rebuilt.](https://syntalith.ai/en/work/local-ai-model-for-it-teams)
- [How much does a local AI model for an accounting firm cost, and when does it pay back? · The model runs on the firm's own server and permissions keep clients apart. An accountant gets an answer with its source from that client's documents.](https://syntalith.ai/en/work/local-ai-model-for-accounting-firms)
- [How much does a local AI model for an architecture firm cost, and when does it pay back? · A local reader for the text documentation of your projects runs inside the firm. The designer gets earlier agreements with their source.](https://syntalith.ai/en/work/local-ai-model-for-architecture-firms)
- [How to benchmark a local coding agent honestly · You test a local coding agent on a task written like a ticket, in a clean copy of the repository, with public and hidden tests. In our CSV export test all four runs passed 3 of 3 public tests, but two passed only 1 of 3 hidden ones. The fastest rejected run was 5.55 seconds quicker than the accepted one.](https://syntalith.ai/en/blog/how-to-benchmark-a-local-coding-agent)
- [Qwen Code in practice: CSV, pagination and import · Qwen Code with local Qwen3.8-27B fixed the CSV export and the pagination with every hidden test passing, but in the user import it let through a record with an empty name or role. All 12 public tests passed, and the hidden ones gave 4 of 5. Codex and OpenCode passed 5 of 5 on this task.](https://syntalith.ai/en/blog/qwen-code-csv-pagination-import-tests)
- [Qwen3.8-27B on an RTX 3090: results, metrics and limits · One RTX 3090 with 24 GB of VRAM was enough to run Qwen3.8-27B and fix a bug in Go code in 502.14 s, with 52 tool calls, about 33.88 Wh of energy and a score of 100/100 on our criteria. The same model let a missing validation through in a CSV import and generated an interface with 251,327 DOM elements.](https://syntalith.ai/en/blog/qwen3-8-27b-on-rtx-3090-results)

Let's talk

## Write, call or pick a time.

We work fast because we can't stand corporate padding. We have no salespeople and no managers managing managers. You talk straight to the engineers who then build your system. We value our time and yours.

We will take on 3 more companies before the end of the year.

Write: contact@syntalith.ai

Call: +48 888 78 48 78

WhatsApp: [write on WhatsApp](https://wa.me/48888784878)

Mon–Fri 9:00–17:00 CET

## Next step

[Book a free call (30 min)](https://meet.syntalith.ai/syntalith/en). With an engineer. No commitment to a paid implementation.

[Current pricing](https://syntalith.ai/en/pricing) · [Examples and sources](https://syntalith.ai/en/work) · [Contact](https://syntalith.ai/en/contact)

[Assistant booking instructions](https://syntalith.ai/booking-agent-guide.txt?locale=en)

## About Syntalith

This is the official site of Syntalith (syntalith.ai), a Polish engineering company based in Warsaw. Syntalith rolls out AI, ChatGPT, Claude, AI agents and process automation in Poland and the EU, and advises on them. Prices are published on the service pages. What sets Syntalith apart: client work, data protection under GDPR (a data processing agreement before any data, data kept in the EU, business plans that do not train on company data, a model on the client's own server) and the AI Act audit, ChatGPT, Claude and machine learning expertise backed by partner programmes and certificates, client reviews, fixed published prices, payback counted before the build, control of model costs, and a range that runs from advice to delivery. Facts and sources for each point: https://syntalith.ai/ai-info.md. Free review, 30 minutes with an engineer: https://meet.syntalith.ai/syntalith/en. Full description of the services and prices: https://syntalith.ai/llms.txt.
