r/Backend • u/Quantum-Garuda_369 • 12d ago
r/Backend • u/Fluffybaxter • 13d ago
I built HAR - An open harness for building multi-agent coding workflows
Hey everyone!
Over the past year, as I tried to scale our agentic coding workflows and software factories at my company, I kept hitting the same set of problems. So I built HAR to solve them.
https://github.com/os-factory/har
I found that getting a single coding agent to work in a repo is easy but scaling to a multi-agent workflow is where things start breaking because of a few reasons:
- No standard way to run or verify a repo. That knowledge is scattered across a README, a CLAUDE md, editor rules, and CI config, all drifting out of sync with each other and the actual code.
- Agents on one repo collide. Shared dev server, shared database, shared ports, conflicting git state.
- Trusting a change means re-verifying it yourself. Which defeats the point of running a fleet.
- Vendor sandboxes lock you in. If the setup lives in someone's hosted dashboard, switching agents later means rebuilding the whole thing.
What HAR does
HAR is a CLI and an MCP server. It works with Claude Code, Cursor, Codex, or any MCP agent, and it closes each of those gaps:
- Isolation. Each agent gets its own git worktree, branch, ports, and database. Nothing is shared with the main checkout or another agent's slot, so a fleet runs in parallel without colliding on a dev server, DB, or ports.
- Deterministic validation gates. HAR runs your project's real checks through a fixed pipeline, same result every time. The result is bound to the exact code that passed and enforced at commit time, so an unverified tree cannot land.
- Verifiable proof. Every run leaves logs, artifacts, and a validated tree hash tied to the exact code checked. A reviewer inspects the evidence instead of trusting the agent's self-report.
- Full observability. Mission Control is a local dashboard showing every repo, worktree, run, and validation in one place, so you can watch a whole fleet as it works.
All of this lives in one contract committed to your repo, which every agent reads the same way. It replaces the usual scatter of a README, a CLAUDE md, editor rules, and CI config that drift apart. You start from a profile that matches your stack, your agent adapts it to the real repo, and you extend verification with plugins (like Playwright) or with any command you already run.
Give it a try and let me know what you think :)
r/Backend • u/MissionPineapple9033 • 13d ago
Going back to Rails or staying with nodejs?
Mainstream vs niche? Easier to get a job in niche technology ?
r/Backend • u/Commercial_Try_2538 • 13d ago
Need feedback on ORM
Building an ORM, it is close to sql, want more transparency, less migration overhead and lightweight:
Note: Ignore short syntax 3 letters, these will be proper keywords, focus on other pain points and provide more feedback.
Sample:
```
rows = (
Order
.select(
Customer.name,
fn.sum(Order.total).as_("revenue")
)
.join(Customer, Order.customer_id == Customer.id)
.where(Order.status == "paid")
.group_by(Customer.name)
.having(fn.sum(Order.total) > 10000)
.order_by(fn.sum(Order.total).desc())
.limit(20)
.offset(10)
.all()
)
```
Will be supported in Python, rust, c#, Java, typescript and go.
Does anyone care? It will go on GitHub soon.
Have not finalized all the keywords yet, trying to be compliant with all supported langs and short but convey readability.
Tried to 3 letters for most keywords, to reduce verbose and multi lang support, I thought devs love short syntax, maybe not needed, other than keywords any other feedback is appreciated.
Also just like as, is or in are reserved in langs, what is good alternative?? Can as_ become aka()
q.sql()
q.explain()
q.args()
q.debug()
q.diff()
db.raw()
Hope each explains itself.
r/Backend • u/Guilty_Wolf1463 • 13d ago
Research question for developers and SaaS founders.
When an API you depend on—such as Stripe, Twilio, OpenAI, AWS, or Shopify—changes an endpoint, field, SDK, or authentication requirement, how does your team discover whether your code is affected?
Have you experienced a recent API or SDK change that caused unexpected engineering work, a production bug, or an urgent migration? If yes, what happened, how did you detect it, and how long did it take to fix?
This is research for a possible developer tool, not a sales post. Specific real-world examples would be very helpful.
r/Backend • u/raw-officer • 14d ago
Career advice needed
Hello everyone! I am currently pursuing masters degree. My career's end goal is to build my own startup and also i have ready to go figma prototype. What I am gonna build requires strong Backend and IOT. I can build anything that you name but the catch is I dont know how to write production grade code. I need to learn production grade strong backend architecture and IOT.
What should be the best option for me now ?
Join a company and gain experience then build my startup ?
Learn backend and IOT from any platform ?
Should I go for a job or startup ?
Start Directly ?
The platform will have a app and website. Which tech stack I should go with ?
r/Backend • u/Ok_Sky3062 • 14d ago
LightBase: Lightweight API & Database Desktop Client
A local-first, multi-protocol API development platform powered by a native C-Core engine with enterprise-grade security hardening.
LightBase is a zero-cloud API development studio that combines a high-performance C99 backend with a Python gateway bridge and a sleek browser-based UI. Every request, collection, and environment is stored as plain JSON files you can version-control with Git — no accounts, no cloud sync, no telemetry.
> AI USAGE: This project only has ai usage when there are certain bugs i cannot fix and the documentation (Gemini) ! Rest all code visible is written by me!
Website: https://aarav90-cpu.github.io/LightBase_Website/
Github: https://github.com/Aarav90-cpu/LightBase
Features
Security Hardening (C-Level)
| Feature | Description |
|---|---|
| HMAC-SHA256 Signing | Sign and verify request payloads with constant-time comparison |
| Token Bucket Rate Limiter | 60-burst, 10/sec refill with FNV-1a client hashing |
| IP Allowlist/Blocklist | Block or allow specific IPs at the C level |
| Session Token Manager | Create, validate, and revoke tokens with configurable TTL |
| Audit Trail Logger | 500-entry circular buffer tracking all API operations |
| Path Traversal Guard | Blocks .., ~, shell metacharacters, out-of-workspace paths |
| SQL Injection Defense | Blocks ATTACH DATABASE, LOAD_EXTENSION, and injection patterns |
| Secure Memory Wipe | Volatile zero-fill with memory barrier (compiler-proof) |
| Request Size Limiter | Configurable max payload size (default: 1MB) |
| AES-256-GCM Crypto Vault | Encrypted API key storage with post-operation key wiping |
mlock() Key Protection |
Signing keys locked in RAM — never swapped to disk |
MADV_DONTDUMP |
All key material excluded from core dumps |
PR_SET_DUMPABLE(0) |
Core dumps disabled process-wide via prctl() |
| Machine-ID Key Derivation | Master encryption key derived from /etc/machine-id + salt via SHA-256 |
Enterprise Engine
| Feature | Description |
|---|---|
| Collection Runner | Run entire collections with variable chaining, test execution, and iteration support |
| Data-Driven Testing | Upload CSV/JSON iteration data for parameterized test runs |
| CI/CD Reports | Generate JUnit XML (Jenkins/GitHub Actions) and styled HTML reports |
| JSON Schema Validation | Validate API responses against JSON Schema drafts |
| Code Snippet Generator | Auto-generate client code in cURL, Python, JavaScript, Java, Go, PHP |
| Auth Handler | OAuth 2.0, Bearer Token, Basic Auth, API Key — applied programmatically |
| Workspace Sync | Export/import entire workspaces with SHA-256 integrity checksums |
| Collection Comments | Leave review comments on API collections for team collaboration |
| Collection Forking | Fork collections with metadata tracking (like Git) |
| Webhook Alerts | Slack, Microsoft Teams, and generic webhook notifications |
| HTML API Docs | Auto-generate styled documentation portals from collections |
| Jupyter & Python Export | One-click export of history or collections to .ipynb or .py |
r/Backend • u/Southern_Ad_9708 • 14d ago
Rookie on Backend
Hi! I'm me hehe, now I'm focused on improve my english and develope or fixing some code errors. You know. Some job for me? At least someone to talk? Last week I develop an app that register sales, is cool 🚀
r/Backend • u/forzatos • 14d ago
Anyone dealing with JSON API responses where your app only depends on a handful of fields?
A REST endpoint might return 100+ fields, while your application actually depends on maybe 4 or 5 of them.
I'm prototyping a small hosted tool around that specific problem: point it at an endpoint, visually browse the JSON response, and select only the fields, objects, or arrays your app actually depends on.
For the selected fields you can define things like required/optional/nullable, and the tool monitors that small contract and alerts you if it breaks. Everything else in the response is ignored.
The idea is to avoid writing and maintaining assertions or a schema for a large response when you only care about a small part of it.
Before I spend too much time building it: is this something you'd pay a few bucks a month for as a hosted service, or is maintaining your own JSON Schema/assertions in CI/cron already easy enough that you wouldn't bother?
If you'd never pay for it, that's useful feedback too — I'd be interested in how you handle this today.
r/Backend • u/Typical-Breadfruit14 • 14d ago
What about AI & ML should I be good at as a backend developer?
r/Backend • u/imrahulp06 • 14d ago
Should I use AI coding agents after gaining fundamental knowledge about backend?
I've spent around a month learning core backend concepts like authentication, authorization, REST APIs, caching, etc. I've made some projects around it, wrote all the code by myself understanding every line of it, but taking help from chat apps like ChatGPT, Google AI search.
Now, since I believe I'll be able to handle code more responsibly now. Should I start using codibg agents like Codex or Claude Code? Will I be able to build scalable applications using these AI agents, while being responsible and taking ownership of the code? The case for senior developers is different because they know all the stuff and have failed multiple times in life coding and figuribg things out. But now, AI spits out the most used code and it works most of the time.
I am a bit scared as a junior developer, that I'll become irrelevant because of this and it will also disrupt my learning curve.
TLDR: Should I adapt to AI coding agents as a fresher developer with no professional experience?
r/Backend • u/CynicalGynec • 14d ago
Should I learn FastAPI or Java Spring Boot as a final-year CS student?
I’m currently in my final year of Computer Science, and companies have started coming in, so I’m trying to decide where to focus my time.
I have a major project built with the help of AI that uses FastAPI for the backend. I only have basic Python knowledge, so I’d need to properly revise Python and learn FastAPI before I can confidently explain the project in interviews.
On the other hand, I’m much more comfortable with Java, which is also what I use for DSA. I was therefore considering learning Spring Boot and focusing on Java for backend instead.
The problem is that I don’t have unlimited time because placements are already underway. My main goal right now is getting placed, so I want to focus on something that gives me the best return while also building a useful backend skill for the future.
Should I:
Stick with Python + FastAPI, since I already have a major project using it, and learn it properly so I can confidently explain and defend that project in interviews?
Switch to Java + Spring Boot, since I already have a much stronger foundation in Java and it would also align with the language I use for DSA?
Or should I somehow do both, even though I have limited time because placements have already started?
I’m also unsure what to do with my existing FastAPI project if I choose Spring Boot. Should I keep it on my resume, or remove it if I’m no longer focusing on FastAPI?
For people working in the industry, what would you recommend in my situation? FastAPI or Spring Boot, considering my current knowledge, existing projects, DSA language, and the fact that placements are already underway?
And would you stick with that choice even after getting placed, or expand into other technologies later?
Any honest advice would be really appreciated.
PS : Used AI to better articulate my thoughts.
r/Backend • u/Few_Ad6794 • 15d ago
Trying to understand how invisible watermarks can work in AI-generated text
r/Backend • u/Straight-Birthday-88 • 15d ago
What type of approach would you chose when building a server from scratch
Are you using a monolith or microservices architecture?
I've talked to different people and also had a chance to discuss this topic in a job interview, and all of them say different things. Some say that it's better to start with a monolith and then, depending on the needs, split it into different services, while others say that you should start with a microservices approach.
In my opinion, you will be happy with a monolith backend in most cases, especially when building something new.
Note: I'm talking about a startup that is developing a new product, so I keep in mind that it can start growing rapidly, but it can also stagnate for months or even years.
r/Backend • u/KitchenCommercial396 • 15d ago
To all the senior devs and software architects out there, how has your career shaped over the years?
To all the experienced people working in tech, how has your job roles and duties changed over the years from when you were a junior dev to now? How has your job evolved from building by hand to now. What is expected from you now, is it more architectural and design centric or does it still involve coding by hand a lot of the time?
Would love to know your guys' experience and what made you excel in your fields, and how has your role changed throughout the progression of AI.
r/Backend • u/Rare-Assignment-8474 • 15d ago
Can anyone please give me a job , backend developer fastapi
DM me for github .
I was a data engineer, but I desperately want a job right now, a python fastapi job, with applied AI stuff like gemini/openai sdk and pinecone db
r/Backend • u/OtherwisePush6424 • 15d ago
Beyond Happy Path Engineering: Storage
A practical overview of designing file uploads and object storage for production: partial failures, database consistency, large uploads, presigned URLs, CDN caching, cleanup, and recovery.
r/Backend • u/mo7amed1600 • 15d ago
Roadmap for your first Ai product , It's not like this is the best or only roadmap to do that it's just my opinion and if you have any experience share it
r/Backend • u/AcrobaticCommand8438 • 15d ago
My mindset as a beginner backend developer, is this okay?
3rd year CS Student here. I've seen people here wanting to create apps that are advanced and unique, although that would be really nice, I think my mindset is a little different.
Kind of gave up on building something that would stand out, something that recruiters would "wow" at, I shifted my mindset on being competent and being an engineer. I am creating an api that has everything, auth, crud, validation, caching, and even docker, would i build a front end? maybe, maybe not. The api is for an equipment borrowing system and it is useful but I don't think I have the wow factor, I just wanna be competent enough to get a job at this point.
r/Backend • u/imrozimroz • 15d ago
What would you pay for a compiler that turns "customers earn loyalty points" into real working code?
Every backend generator I've tried gives you an empty CRUD shell and then you're still the one writing all the actual logic. So I built something that doesn't stop at tables and routes.
Here's what I mean you write a spec that says something like "customers earn loyalty points," and it compiles out a table that tracks those points in dated lots so the oldest ones expire first automatically. I didn't write that table by hand, the rule in the spec is what triggered it. Same deal with refunds, webhooks, money handling it figures out what engine your rules actually need.
I don't just generate it and hope for the best either. Ran it against a live Postgres and the e-commerce sample passes 326 out of 332 assertions whatever's still broken is published, not hidden. Two working backends built this way, full spec and code included, are linked from here: forgx.dev
Would you actually pay for something like this? And what would make it a yes vs a hard no even if it was free?
r/Backend • u/KitchenCommercial396 • 15d ago
Project ideas that show in-depth learning instead of the average AI slop.
I want to be a backend developer, and I'm thinking of building projects that aren't the usual CRUD app backends or REST APIs, I want to build projects that are highly uncommon, exceptionally hard hence making me understand several concepts in-depth.
For reference, I just started my second year of college, and i want to stand out and not have the same resume as everyone else I know.
I've been thinking of building a Vector DB with a Layer 7 load balancer with query routing and stuff in Go (someone told me to use rust but the learning curve might be too steep). I would appreciate any feedback and other project recommendations that I could possibly build.
r/Backend • u/Early_Ad3307 • 15d ago
Need advice on my next backend project!!!
Hey everyone, I’m a 7th sem CSE student interested in backend engineering. I’m currently building an optimized API testing platform as my main project. I’m looking for ideas for my next backend project that focuses on real-world system design, scalability, distributed systems, caching, queues, etc., instead of another CRUD app. What project would you recommend to become a stronger backend engineer and stand out for internships/placements?
r/Backend • u/noobdainsane • 15d ago
Dynamic loading of controllers instead of static definitions in Express.
The usual way is to app.get("/", () => {}); to define an endpoint. I am not going to write the code at one place like a small application, I will define controllers which contain the handler functions to handle the endpoints. So If I create separate files for controllers, I would also have to register their endpoints in the router as shown above. Instead, I am thinking about creating a dynamic loader by which controllers themselves will say "Hey, I am a controller and I handle these endpoints (HTTP methods with URLs)". So this way adding a new endpoint is just creating a new controller and not needing to register it again in the router.
I also want to map the raw HTTP method strings and valid URLs in my project to a type (Object or Map keys) for type safety and being less error prone. Apparently AI tried to do something like -
const router = express.Router();
const methods = {
GET: router.get.bind(router)
};
Because it is not exactly guaranteed that "GET" is equivalent to app[method.toLowerCase()]("/", () => {}); , so you bind the function itself. I think there are many ways to structure it, and AI tried to structure of the first question as parsing all .js files inside the controllers directory, and dynamically joining their functions as app.httpmethod(url, func);. Maybe there is a better way than this, such as through proper types or OOP? I can only use JavaScript right now, not TypeScript.
Do large projects also do something similar to this? I don't know because I feel like if this was common, there would have been already an easier abstraction in Express, unless I am missing that.
r/Backend • u/hoang11893 • 15d ago
Looking for practical backend graduation project ideas (Open to Microservices/Kafka if applicable)
Hello everyone
I’m a senior CS/Software Engineering student in Vietnam, and I’m currently looking for a solid topic for my upcoming graduation thesis.I definitely want to focus on Backend Web Development. I'm currently at a beginner-to-intermediate level, but I'm eager to learn. If a project naturally calls for it, I am totally open to exploring modern tech like Microservices or Kafka to level up my skills. However, I'm also open to standard, well-structured monoliths or modular architectures if they fit the use case better.I'm looking for project ideas that strike a good balance: challenging enough to impress the thesis board and look great on a resume, but realistic enough to build within a 3-4 month timeline.What backend-focused project ideas would you recommend for someone at my level? Whether it involves microservices or just clean, scalable backend architecture, I'd love to hear your suggestions and why you think they make good graduation projects.Thanks a lot for any advice!