These last weeks were busy on two fronts: we gave CWCloud a new look, from the website to the console, and we generalized the same agentic loop to CWCloud itself, CWClock, qwctl and edtctl, as well as to Uprodit and StrongFish, two platforms we host and for which we work as agentic AI consultants and developers. And since all of this can be triggered from our low-code serverless functions, this blogpost wraps it all up.
For the past few years, we've used clockify.me to generate the time reports some of our service invoices are based on. Clockify drastically changed its offering, and we ended up only relying on its CSV exports as the source for generating those invoices.
We looked for Open Source alternatives but none of them really convinced us: some were basically glorified pomodoro timers, others came with a stack whose footprint was too heavy for our taste. Among the best known, Kimai or Solidtime for instance are written in PHP, which means running Apache or php-fpm.
Between that disappointment and the fact that we didn't want to rewrite our entire billing pipeline, built around GitLab CI/CD cronjobs, in one go, we decided to build an application with the exact same export interface contract as Clockify, while also being able to reingest Clockify's own exports so we wouldn't lose years of history.
Then we went further and, staying fully Open Source, built everything Clockify was missing:
Better-scoped RBAC, separating people who can access financial data (daily rates, etc.) from those who only see time records
Export jobs that let you automate sending invoices or time sheets, with dynamic expressions (cron for scheduling, now()-1d for time ranges)
An agentic CLI with an embedded MCP server we can invoke from our low-code serverless functions through the CWAI API
A user-friendly mobile app
A calendar view compatible with Google Calendar and Microsoft Outlook
Daily or half-day time sheet entries for services that aren't billed by the hour
A decision matrix to configure which data fields are mandatory depending on the country
Etc.
And that's how cwclock.me1 came to be, built with:
This experience led us to question some principles we'd been convinced of for years, and that's what I wanted to share here.
Choosing a simple, market-consensual script language like PHP, Python, TypeScript or JavaScript to make hiring easier
That's clearly no longer where the real battle is. Between Kubernetes, Docker and pretty much every CNCF tool written in Go, plus every platform now written in Rust, models like Claude Opus & co. are extremely well trained to write clean, readable Go and Rust code.
Hiring difficulty for these languages just isn't the blocker it used to be. It's now better to favor technologies with a light footprint, backed by enough large-scale Open Source projects to guarantee their long-term viability, with plenty of source code available for LLMs optimized for code generation to train on.
There used to be plenty of arguments, mostly coming from highly specialized developers, in favor of separate repos with strict separation of concerns: a frontend dev only needs the OpenAPI spec, not the whole backend codebase they don't understand, and vice versa.
With vibe coding, it's exactly the opposite: the more context a model gets as input, the fewer tokens it burns reasoning through the task at hand, and the fewer back-and-forths you'll need with it. And frankly, there's no better spec than the code itself. So when a change impacts the API and all its clients (frontend, mobile, CLI, Terraform provider, Helm chart, etc.), it's much better to have everything in the same repo. After years of advocating for multi-repo, I'm personally reversing that opinion entirely.
For decades, most companies refused to follow the obvious common sense that "each technology has domains where it's more or less efficient," and told themselves "better to stick to a single programming language" instead, which gave us "all-Python" or "all-TypeScript" shops, even though we all know perfectly well those technologies aren't efficient for a large number of use cases.
React Native is a good example: reusing the same codebase between the web frontend and the mobile app. Look closely at this technology and you'll quickly see it demands a lot of maintenance.
Same story here, it's no longer really a valid argument. Try the experiment yourself and you'll notice Claude struggles a lot more to generate working React Native code on the first try, failing roughly one time out of two because of Node package incompatibilities with Kotlin, whereas with Flutter it's very efficient and almost never breaks. You might think having two separate codebases, React for web and Flutter for mobile, is a shame, but in reality it's quite the opposite: for agents, it only reinforces the context available to know exactly how to implement the same feature in yet another technology, like the CLI in Go, or why not another mobile app better optimized for iOS, written in Swift for instance.
When a codebase caused maintainability issues, you used to have to weigh the ROI of a full rewrite against the time sunk into keeping it on life support. More often than not, the conclusion was that it was better to keep stretching its lifespan somehow.
Nowadays, an old legacy codebase is the best possible context you can hand a model for a full rewrite, fixing along the way defects that have been known for years. It's the perfect time to finally tackle all those refactoring projects you'd written off as too costly.
At the latest DevoxxFR 2026 conference, I was talking with one of Copilot's developer advocates, who claimed that TypeScript is the only programming language that will be left standing, backed by arguments that make sense from an "old-school HR management" point of view. But I honestly think he's off the mark, for all the reasons laid out here.
With vibe coding, it's way better to pick technologies models are well trained on, not because they're massively adopted, but because there are quality Open Source projects that served as training material and that are more optimized and closer to their execution platform. Maintainability and running costs will also end up much cheaper for companies.
The value of "high-level" and "simple" scripting languages collapses entirely once you're able to interact with the machine directly in human language.
Moreover, we're not the only ones to have had this idea, by the way:
Today, building custom applications is becoming a commodity accessible to everyone. We don't know how long that will last, or what will eventually restrict access again (a drastic price increase from providers like Anthropic or OpenAI as they push for profitability, geopolitics, the end of capitalism, whatever). But our position is that we should make the most of it now to enrich Open Source, so we keep benefiting from it even if it all stops one day.
The qwctl is OpenSource but for the on premises instances of CWCloud, you need to have the Enterprise Edition (EE) to use the AI agent features. Please contact us for more information.
As explained in our previous blog post, we're still working on agentizing every pillars of the platform engineering to be able to interact with chat, serverless function or ticket webhook triggering prompts. And one of the pillars is observability.
As you might notice with several blogposts like this one we also are working closely with Quickwit since few years and we're contributing to their CLI aka qwctl and this CLI is built following the model of our own cwc CLI with MCP server and interactive agent embeded.
Here's a demo of using qwctl as MCP server and web agent:
In this blogpost, we'll see how to use qwctl as an external web agent compliant with CWAI API and as a gitlab webhook.
First, here's how the qwctl CLI can be started as a web agent:
$ qwctl ai web-agent
We can also specify the port and listen address:
$ qwctl ai web-agent -a0.0.0.0 -p8081-s http://localhost:8080/mcp
And then we can send http POST query like this to the web agent:
In the .env.qwctl you can set all the required environment variables for the qwctl CLI, such as the API key and the default model to use. You can refer to this documentation to get more details.
You can also call the agent in serverless function:
Gitlab webhook
first, we need to configure the qwctl with the following environment variables:
QWCTL_AGENT_NAME: the name of the agent which will be used as trigger (e.g: qwctl to be triggered by comments containing !qwctl in Gitlab issues)
QWCTL_GITLAB_TOKEN: a Gitlab token with the permission for pushing comments on issues
QWCTL_GITLAB_BASE_URL: the URL of the Gitlab instance (e.g: https://gitlab.cwcloud.tech)
Of course you can also use the CLI configure command like this:
$ qwctl configure set agent_name cwc-prod
$ qwctl configure set gitlab_token <your_gitlab_token>
$ qwctl configure set gitlab_base_url https://gitlab.cwcloud.tech
Then you have to configure the webhook in Gitlab like this:
As you can see we configured the /gitlab endpoint path and we set also an Authorization header set with our reverse proxy. However, the web agent is also supporting the gitlab webhook secret for authentication (it's optional but remind that you have to setup an authentication one way or another).
And finally here's what we got in the Gitlab issue's when we comment !qwctl:
Conclusion
This blogpost illustrate how we are viewing the platform engineering in 2026: agents following instructions on ticket system, CI/CD pipelines, serverless functions, etc.
For now our agents are only responding to instructions on ticket, chat or mobile app but the CLI also exposing MCP server will be re-used for more complex agents which will do more complex reasoning and troubleshooting analysis in the future.
Still focused on making CWCloud features quickly accessible from anywhere with our AI agents, we now provide a mobile application to interact with the CWAI API, which itself allows invoking our web agent as shown in this blog post.
The application is available in web mode on chat.cwcloud.tech and can also be downloaded for Android by clicking the "Download" button highlighted in red below:
warning
The mobile application is Open Source and available on our GitLab, but to consume the CWAI API you need the Enterprise Edition (EE). Please contact us for more information.
Then, you can log in with an API key and configure it by clicking the "Configure" or "Settings" button highlighted in red below:
On the mobile version, it is possible to scan the API key QR code directly to configure it automatically through the console, as follows:
Then:
Finally, you can chat with the different models and agents interfaced with CWCloud external adapters:
As you might notice, the mobile version is also implementing speech-to-text :
Conclusion: as we said in our previous blogpost, it still seems very important for the UX that the AI agents are printing repeatable and understandable CLI commands even more on mobile to be able to share screenshots with other people during incidents.
The cwc is OpenSource but for the on premises instances of CWCloud, you need to have the Enterprise Edition (EE) to use the AI agent features. Please contact us for more information.
In our previous blogpost, we explained how to use the cwc CLI as a web agent and how to use it in the CWAI features like the chat or the FaaS engine.
In this blogpost, we will see how to use the cwc CLI as a web agent as Gitlab webhook triggered by issue's comments and keywords.
So first, we need to configure the cwc with the following environment variables:
CWC_AGENT_NAME: the name of the agent which will be used as trigger (e.g: cwc-prod to be triggered by comments containing !cwc-prod in Gitlab issues)
CWC_GITLAB_TOKEN: a Gitlab token with the permission for pushing comments on issues
CWC_GITLAB_BASE_URL: the URL of the Gitlab instance (e.g: https://gitlab.cwcloud.tech)
Of course you can also use the CLI configure command like this:
$ cwc configure set agent_name cwc-prod
$ cwc configure set gitlab_token <your_gitlab_token>
$ cwc configure set gitlab_base_url https://gitlab.cwcloud.tech
Then you have to configure the webhook in Gitlab like this:
As you can see we configured the /gitlab endpoint path and we set also an Authorization header set with our reverse proxy. However, the web agent is also supporting the gitlab webhook secret for authentication (it's optional but remind that you have to setup an authentication one way or another).
And finally here's what we got in the Gitlab issue's when we comment !{agent name}:
warning
Again be caution with what you will prompt. In the coming release we will add a confimation mode in our agent.
In conclusion, users can work and intervene in production while staying in the central ticket board.
The cwc is OpenSource but for the on premises instances of CWCloud, you need to have the Enterprise Edition (EE) to use the AI agent features. Please contact us for more information.
In our previous blogpost, we introduced the CWCloud MCP server and agent. We explained how we implemented the MCP server and how to use it with an AI agent in cli mode.
In this blogpost, we will see how to use cwc as an external web agent compliant with CWAI API.
First, here's how the cwc CLI can be started as a web agent:
$ cwc ai web-agent
We can also specify the port and listen address:
$ cwc ai web-agent -a0.0.0.0 -p8081-s http://localhost:8080/mcp
And then we can send http POST query like this to the web agent:
In the .env.cwc you can set all the required environment variables for the cwc CLI, such as the API key and the default model to use. You can refer to this documentation to get more details.
You might ask why we're still discussing MCP1 in 2026 when a lot of people repeatedly mention it's no longer useful and that AI agents can easily use the CLI instead of maintaining MCP servers.
That's the main reason it took us so long to deliver an MCP server: we already maintain the cwc CLI2 and didn't want to duplicate the work by maintaining both a CLI and an MCP server.
Initially, we tried to package all CLI features in Go packages that could be included in the MCP server. However, we quickly realized it was too much work and would require maintaining both artifacts each time we added a new feature.
After a few attempts, we realized we could dynamically generate the MCP server with tool definitions directly from the CLI, which is implemented in Go and Cobra. This way, we could compute all tool definitions from the CLI documentation and generate the MCP server on the fly without maintaining two separate codebases.
Even better: developers can add subcommands and the MCP server will dynamically use them without any extra work.
And that's it, you just run this subcommand to start the MCP server:
$ cwc ai mcp
Starting cwc MCP server on http://127.0.0.1:8080/mcp
Of course, you can change the port and listen address like this:
$ cwc ai mcp -p8081-l0.0.0.0
Starting cwc MCP server on http://0.0.0.0:8081/mcp
And we have a tool list_mcp_dynamic_tools that is listing all the available tools on the server.
Now you might ask, "OK, fine, but why should I use the MCP server instead of directly using the CLI with an agent?". In our opinion, they're compatible and can work together. We believe providing MCP tools for your agents requires less effort than implementing a custom agent that calls the CLI and parses its output.
And of course we also provide a way to create agents that are able to call the MCP server with the cwc ai agent command:
$ cwc ai agent -p"your prompt"
The command works with OpenAI's gpt4omini by default but also supports any models from OpenAI, Anthropic, Google Gemini, Deepseek, Mistral or OpenRouter (which provides open-source models from Meta):
$ cwc ai agent -p"your prompt"--provider openrouter --model"meta-llama/llama-3.3-70b-instruct"
Here's a demo on how to use the MCP server with an agent to list the projects and instances and available MCP tools:
Notes:
You can prompt in other languages like French, as shown in the demo.
You must expose the MCP server in a separate terminal. This allows you to target a remote MCP server using the -s flag (we'll add authentication later):
cwc ai agent -p"list me the projects"-s"http://127.0.0.1:8081/mcp"
Don't forget that the CLI can also update or delete resources like instances, monitors, projects and anything else. So be careful with your prompts !
We also provide an interactive/REPL3 mode for the agent that allows execute multiple prompts in the same session (with -i or --interactive flag):
$ cwc ai agent -i
Using model: gpt-4o-mini (provider: openai)
Interactive mode enabled. Type your prompt and press Enter.
Type 'exit' or 'quit' to leave.
> get me the monitors
> list me all the available MCP tools
Demo:
Conclusion: we anticipate that AI agents are the future face of platform engineering. Therefore, it seems important to us in this context that they are embedded in your CLI and prefer to invoke repeatable and understandable commands (in order to have them confirmed by the human) rather than opaque MCP tools that would be directly associated with your API endpoints definition or SDK (which are most of the time not easily repeatable).
Moreover, having the MCP server and the Agent in the same binary but running in different processes allows us to provide simple execution agents that can work with the least powerful and cheapest models on the market such as gpt-4o-mini, mistral-small, gemini-1.5-flash, deepseek (the cheapest) or a self-hosted llama. Indeed, these agents don't need a lot of reasoning capability to interpret language and transform it into command line invocation by selecting the right MCP tool. However it also allows to invoke this same MCP server in more complex agents that work with more powerful models that would produce more advanced troubleshooting reasoning and workflows coupled with possibly other MCP servers for observability tools for example.
This blog post will help us illustrate a concrete use case for using CWCloud's FaaS1 engine — both to expose serverless functions as public webhooks, and to show how to interact with LLMs2.
Besides IT, I enjoy doing sports regularly, especially running and powerlifting. For some time now, I’ve been using an Apple Watch SE to collect metrics and track my progress, especially in terms of endurance and cardio.
For a "non-tech" user, the level of detail and data presentation during an exercise is very satisfying. Here's, for example, a breakdown of what happens during a run: GPS positions, heart rate, and zones throughout the workout...
The watch also provides tons of other data on sleep quality, resting heart rate, calories burned... but there’s always been one thing that frustrates me compared to other models I’ve used in the past, like Fitbit watches: no webservice nor API for developers. And yet, I’d really like to fetch those data in order to process it with LLMs using the CWCloud low-code FaaS engine.
However, no online API doesn’t necessarily mean it’s impossible to retrieve the data: we can see that many apps on the iPhone still manage to access the watch’s data, like Strava, MyFitnessPal...
Most of the time, these apps access data directly from the iPhone using Apple’s HealthKit framework and by requesting the proper permissions in Apple’s security settings.
Still, it requires quite a bit of effort for someone who’s not an iOS mobile developer to build and validate a Swift app just to send data to a webhook. So I looked to see if someone had already done that job — and someone had, with the Health Auto Export app.
The app has pretty bad reviews, but once you read the comments, it’s clear why: people didn’t understand what it’s for. It’s not about creating pretty statistical dashboards, but about exporting Apple health data in developer-friendly formats (CSV or JSON), and scheduling those exports to external connectors (REST/HTTP webhooks, MQTT files, Dropbox...).
In our case, that’s exactly what we needed. Here’s how to configure an HTTP webhook, for instance, to send the data to CWCloud in an automation that runs every minute:
Every minute, the CWCloud serverless function receives a JSON payload in the following format:
{
"data":{
"metrics":[
{
"units":"count\/min",
"data":[
{
"Min":79,
"date":"2025-06-30 23:17:40 +0200",
"Avg":79,
"Max":79,
"source":"Idriss’s Apple Watch"
},
{
"Min":66,
"Max":66,
"Avg":66,
"source":"Idriss’s Apple Watch",
"date":"2025-06-30 23:23:45 +0200"
},
{
"Max":66,
"date":"2025-06-30 23:26:52 +0200",
"source":"Idriss’s Apple Watch",
"Min":66,
"Avg":66
}
],
"name":"heart_rate"
}
]
}
}
In the automation, you'll notice I filtered only the heart_rate metric, because otherwise it would send many others — not just from the Apple Watch, but also from apps like MyFitnessPal, which tracks your macros (kcal, proteins, fats, carbs, calcium, etc.) from your diet. So there’s a lot of room for very interesting usecases here 😁.
That been said, this payload isn’t compatible with the interface contract of our serverless engine with the standard endpoints we’ve documented in several demos, where we expect function parameters in advance.
However, there is an endpoint /v1/faas/webhook/{function_id} (or /v1/faas/webhook/{function_id}/sync if you want to receive the function’s response directly in the HTTP response). In this case, your function just needs to be defined with a single raw_data argument like this:
Once that’s done, it becomes very easy to invoke the function by passing whatever body you want — which you can then parse directly in your code:
$ curl"https://api.cwcloud.tech/v1/faas/webhook/ecb10330-02bf-400b-b6a8-d98107324ac3/sync"-X POST -d'{"foo":"bar"}'2>/dev/null | jq .
As you’ve probably guessed, in the Health Auto Export app automation, it’s a URL like https://api.cwcloud.tech/v1/faas/webhook/{function_id} that you’ll need to define (no need for /sync at the end since you don’t care about waiting for the result).
Note: We also exposed the function as public so it could be called without authentication, but that’s not necessarily what you want. Don’t forget that you’re billed per token consumed — for example, if you use public LLMs — so you probably don’t want just anyone calling your webhook. You can totally keep the function private and add an X-User-Token header in the Health Auto Export app automation.
Now that we know how to create a webhook, here’s the Blockly3 code to extract the average heart rate, send it to the gpt4omini LLM. In this case, we asked the LLM to react with an emoji based on the value it receives, and send the result to Discord:
You can see that I'm passing the following sentence "You're reacting with an emoji only if the heart rate is too slow or to high" as a system prompt and the fetched heart rate metric as a user prompt.
Moreover, you should know that AI blocks require authentication to invoke the CWCloud AI API. If you want to keep this webhook open to anyone, you’ll need to create an API key following this tutorial, and inject it into an environment variable called AUTH_HEADER_VALUE like this:
In this case, anyone is able to invoke your webhook and your account will be billed for usage in the case you’re using public AI models. You can also choose to use your own LLM hosted on your own infrastructure instead — in which case it makes more sense to keep the webhook public 😇.
Also note: if the AUTH_HEADER_VALUE variable is set, it takes priority over user authentication when calling the webhook with an authenticated request.
You can also see in the screenshot above that a Discord webhook was defined in another environment variable DISCORD_WEBHOOK_URL so it can be used to send the LLM’s response into Discord. Here’s the result:
We can see that so far, everything’s going just fine with my heart 😅