Rust programing language®
430 subscribers
14 photos
150 links
rust programing channel
Download Telegram
Introducing hatch - a capability-based sandbox for MCP

Github repo

Hatch is a capability-based sandbox for MCP (Model Context Protocol) servers on Linux and macOS. Each server runs under a signed TOML manifest that declares its network destinations, filesystem paths, subprocess permissions, and per-tool argument rules in a CEL subset, enforced by user/mount/pid/net namespaces + cgroups + iptables on Linux and sandbox-exec + PF on macOS, plus an SNI-filtering proxy and DNS allowlist for egress. The threat model is the contract: "what hatch does NOT protect against" sits right next to "what it does."

via DEV Community: rust (author: Irfan)
1
A tiny Rust CLI I made while learning the language

I'm still pretty new to Rust, and I find I learn best by building small things. So here's one: isdown — a little CLI that checks if services like GitHub, Slack, AWS, or Cloudflare are having issues.

$ isdown check github slack

GitHub: Up
Slack: Degraded
· Slow API (investigating)

It just queries each service's public status endpoint — no API keys or setup. You can also pass any URL, or add --json for scripting.

cargo install --path .

It's nothing groundbreaking, but it gave me a reason to actually use clap, reqwest, async, and a bit of macro magic for the provider registry. I learned a lot, and I'm sure there's plenty I got wrong.

Repo: https://github.com/dariush624/isdown

If you spot something that could be better, I'd genuinely love the feedback — issues and PRs are very welcome. 🙏

via DEV Community: rust (author: Dariush Moshiri)
Termim Is Becoming More Than Just “Better Terminal History”

A few weeks ago, I introduced Termim as a way to stop shell history from bleeding across projects.

The idea was simple:

You run a Docker command in one repo…

then later press (arrow-up key) somewhere completely different and get unrelated history back.

That friction always felt unnecessary.

Since then, Termim has evolved quite a bit — both technically and conceptually.

From “Project-Aware” to Directory-Aware

One thing I realized while building this:

“Project-aware” wasn’t precise enough.

A lot of work happens inside projects:

nested backend folders
monorepos
temporary workspaces
isolated environments

So Termim now scopes history to your actual directory context, not project root.

That means:

cleaner recall
less irrelevant history
less searching through noise
What Changed Recently
Binary-First Installers

Here's What Changed Recently

Binary-First Installers

Installers were rewritten for:

Bash
Zsh
Fish
PowerShell

Instead of forcing local builds, Termim now downloads the correct Rust binary automatically.

Also added:

SHA256 checksum verification
idempotent installs
instant activation on Windows
In-Memory Secret Redaction

In-Memory Secret Redaction

This became important pretty quickly.

Termim now scrubs sensitive data before history is written:

API keys
JWTs
passwords
tokens

The filtering happens in-memory, so secrets never touch disk history.

Still Zero-Daemon

One thing I wanted to preserve from day one:

No background services.

Termim stays lightweight:

no daemon
low latency
Rust-native execution
minimal overhead

The shell should still feel fast.

Cross-Shell Parity

Behavior is now consistent across:

Bash
Zsh
Fish
PowerShell

The core interaction model is:

→ your directory history
→ predicted next commands

One Unexpected Thing

The most useful feedback I got wasn’t praise.

It was people saying:
“I still don’t understand what this actually does.”
And honestly, they were right.

That feedback forced me to explain the product more concretely, which ended up improving the direction of the project itself.

The real value of Termim isn’t “AI workflow optimization.”

It’s much simpler:

keeping terminal history relevant to where you actually are.

Architecture & Internals

I also added a detailed ARCHITECTURE.md covering:

state management
locking
prediction flow
shell integration
execution model

For anyone interested in the internals.

GitHub: https://github.com/akhtarx/termim

Still early. Still refining.
But the direction feels much clearer now.

via DEV Community: rust (author: Md Mim Akhtar)
Introducing Octomind: an Open-Source AI Agent Runtime in Rust

Install agents, not frameworks.

Octomind is an open-source AI agent runtime written in Rust. One binary. 48+ pre-configured specialists. Real MCP host. No framework lock-in. Apache 2.0.

curl -fsSL https://octomind.run/install.sh | sh


Why we built it

After a year of shipping AI-native developer tools at Muvon, we kept hitting the same walls with existing agent stacks:

● Framework lock-in. Pick LangChain, you marry Python and a graph DSL. Pick Autogen, you marry Microsoft's mental model. Pick an SDK-only path, you re-invent everything that should be infrastructure.
● Brittle long sessions. Most agents fall off a cliff once the context window saturates. Real engineering tasks take hours.
● Single-vendor lock-in. "Just use Claude" is fine until the API has a bad day, your bill triples, or a model is deprecated.
● MCP as an afterthought. Servers added at startup, not runtime. No real host primitive.

Octomind is the runtime we wanted to use. Rust because we wanted atomic writes, type safety on the critical path, and one binary that ships without a Python venv.

What you get

● 48+ specialist agents across 12 domains — engineer, DevOps, security, lawyer, doctor, finance researcher, etc. Each is a YAML manifest, not a class hierarchy. You can write your own in 20 lines.
● MCP host with dynamic registration. Add or remove MCP servers at runtime, not just at startup. This unlocks workflows where one agent installs the tools the next agent will use.
● Multi-provider, zero lock-in. 13+ providers out of the box: OpenAI, Anthropic, Google, OpenRouter, Mistral, Ollama, vLLM, plus anything that speaks the OpenAI API. Switch with one config line.
● Adaptive compression for 4+ hour sessions. A compression scheduler that watches the token budget and rewrites earlier turns into structured summaries before they fall out of context. Sessions that used to die at hour two now run overnight.
● Hard spending caps. Per-session and per-request budgets that the runtime enforces, not a comment in your README.

A quick taste
# Run the engineer specialist on a fix
octomind run engineer "find the cause of the flaky e2e test in checkout"

# Mount an MCP server at runtime — no restart
octomind mcp add github --token=$GITHUB_TOKEN

# Swap the model on the next turn
octomind run engineer --model anthropic/claude-sonnet-4-6 "now propose the patch"


How it compares

Try it

● Docs: octomind.run/docs
● Repo: github.com/muvon/octomind
● Specialists catalog: octomind.run/tap

We'd love your feedback — issues, PRs, or just star the repo if you want to follow along. The roadmap, the docs, and every commit are in the open.

Octomind is built by Muvon Un Limited, the team behind Octocode (Rust semantic code indexer with GraphRAG) and Octobrain (persistent agent memory). We build infrastructure for AI-native developers.

via DEV Community: rust (author: Don Hardman)
https://en.liujiacai.net/2026/05/16/bun-rust-port/ great read

My Thoughts on Bun's Rust Rewrite | Jiacai Liu's personal website

Before we discuss Rewrite Bun in Rust, there's something that needs to be said, because no one is saying it. Bun stands where it does today because of Zig. Jarred chose Zig back then not because it was "cool," but because Zig enabled a small team to rapidly prototype a high-performance JS runtime without a GC, without a heavy runtime. Zig's low friction, direct memory manipulation, and straightforward C interop were the core reasons Bun could punch above its weight on performance with an extremely small team in its early days. The architecture, data structures, and low-level design of Bun that you see today – that was shaped by Zig.
en.liujiacai.net

via DEV Community: rust (author: david duymelinck)
👏1
Benefits of Professional Coursework Assistance
https://www.academicwriter.co.uk/termpaper-writing-service/

Improves coursework structure and organization
Helps students manage academic deadlines
Enhances research and referencing quality
Supports better academic writing standards
Reduces stress during heavy coursework periods
Provides guidance for complex assignments and topics
Get Professional Coursework Writing Assistance Today

Whether you need help with coursework research, case studies, reports, editing, or academic formatting, our professional coursework writing service is ready to provide reliable academic support tailored to your educational requirements.

via DEV Community: rust (author: Academic Writer Uk)
Our Term Paper Writing Services

Our professional term paper writing service is designed to provide reliable academic support for students across undergraduate and postgraduate levels. Whether you need help with topic selection, research, writing, editing, formatting, or complete term paper preparation, our experienced academic writers provide customized, well-researched solutions tailored to university requirements. Academic writing platforms commonly emphasize originality, subject expertise, and timely delivery as key features of term paper services. (dissertationonline.co.uk)

https://www.dissertationonline.co.uk/writing-services/term-paper/

Our Term Paper Writing Services
Custom Term Paper Writing

We create fully customized term papers based on your topic, academic level, instructions, and university guidelines.

Research-Based Term Papers

Our writers use credible academic sources, journals, and books to produce well-structured and evidence-based papers.

Analytical & Critical Writing

We help students develop strong arguments, critical evaluation, and structured academic discussion.

Editing & Proofreading

We improve grammar, structure, clarity, referencing, formatting, and overall academic quality.

Referencing & Formatting Support

We follow major citation styles including APA, Harvard, MLA, Chicago, and IEEE as required by universities.

Many academic writing providers commonly include research support, editing, proofreading, and citation assistance as part of their term paper services. (writers.com.pk)

via DEV Community: rust (author: Dissertation Online Uk)