MurphyA/hacker-news huggingface dataset:
AgentPulse: Open-source observability for AI agents(costs+debugging)
by nanduskaiser | 2026-02-03 16:43:49+00:00
Hey HN,

I built AgentPulse because I kept getting surprise bills from my AI agents and had no idea which calls were burning money.

The problem: You build an agent, it works great. Then you check your OpenAI bill: $400. Which agent? Which calls? No clue.

AgentPulse is lightweight observability for AI agents:

- Cost tracking per trace (supports GPT-4o, Claude, etc.)
- Full span tree showing every LLM call and tool use
- Auto-instrumentation for OpenAI/Anthropic (3 lines of code)
- Self-hostable with SQLite — your data stays local
- Framework-agnostic (works with LangChain, CrewAI, or plain Python)

Quick start:

from agentpulse import AgentPulse, trace

ap = AgentPulse(endpoint="http://localhost:3000")

@trace(name="my-agent")
def run():
# your agent code
pass

Try it instantly (no install): https://codespaces.new/nandusmasta/agentpulse

Or one-liner local install:

curl -fsSL https://raw.githubusercontent.com/nandusmasta/agentpulse/main/install.sh | bash

GitHub: https://github.com/nandusmasta/agentpulse
PyPI: pip install agentpulse-ai

It's MIT licensed and free forever. I'd love feedback on what's missing or broken.
by mothballed | 2026-02-03 16:43:55+00:00
The 3d-printed hybrid FGC-9 is readily and commonly made all over Europe[0]. Most notoriously exhibit by 'jstark' in Germany[1]. Ammo is no problem, as can be made with off the shelf components available in EU[2]. And fairly reliable, if not oversized, 9mm pistol, primarily printed except with an ECM machined barrel that is easily DIY'd by 3d printing a mandrel for the rifling electrode and a simple bolt. A really nice gun all things considered for people with no other options, that can be built quickly using simple instructions.

[0] https://en.wikipedia.org/wiki/FGC-9

[1] https://www.youtube.com/watch?v=ygxGrxCEOp0

[2] https://odysee.com/@TheGatalog-Guides_Tutorials:b/BWA-Ammo-V...
by happyopossum | 2026-02-03 16:44:04+00:00
This is an interesting idea, but the very first page I looked at was wrong (current weather in Alameda county shows as 72* - it's almost 30* below that here, and the daily high in the warmest areas is projected to be 65).

Next I looked at San Francisco, and oddly it listed a bunch of minor earthquakes in San Ramon - none of which are listed in Alameda county, which is actually next to (and parts of which actually felt) those tremors.
by kstrauser | 2026-02-03 16:44:17+00:00
I’d be careful with that. Much as I think we should regulate firearms, I despise how the Constitution’s interstate commerce clause has been horribly abused to cover intrastate ownership. See, by making your own gun, you didn’t import one from another state, so therefore the Feds should be involved because it involves interstate commerce now.

For example[0]:

> Filburn was penalized under the Act. He argued that the extra wheat that he had produced in violation of the law had been used for his own use and thus had no effect on interstate commerce, since it never had been on the market. In his view, this meant that he had not violated the law because the additional wheat was not subject to regulation under the Commerce Clause.

…

> The Court reasoned that Congress could regulate activity within a single state under the Commerce Clause, even if each individual activity had a trivial effect on interstate commerce, as long as the intrastate activity viewed in the aggregate would have a substantial effect on interstate commerce.

So don’t assume that just because it never crosses state lines that it escapes federal law, however utterly freaking ridiculous that may be.

0: https://www.oyez.org/cases/1940-1955/317us111
by KingMob | 2026-02-03 16:44:25+00:00
Their underlying point is that you're actually being very selective in which laws you want enforced.

For starters, I doubt you've brayed as loudly for the prosecution of business owners who employ illegal migrants, as you are for the migrants themselves. (You certainly didn't mention illegal biz owners in this comment chain.) Likewise, the crimes ICE commits already exceed the crimes of those they're hunting, but you haven't acknowledged that.

Which means you don't actually believe in the law as an impartial force of justice, despite what you might tell yourself. You believe in it as a tool of power, to be wielded strongly against those you dislike, and lightly or not at all, against those you favor.

You believe in power and order, not justice and fairness.
by cirrusfan | 2026-02-03 16:44:43+00:00
I find it really surprising that you’re fine with low end models for coding - I went through a lot of open-weights models, local and "local", and I consistently found the results underwhelming. The glm-4.7 was the smallest model I found to be somewhat reliable, but that’s a sizable 350b and stretches the definition of local-as-in-at-home.
by twogrouptheory | 2026-02-03 16:44:49+00:00
SEEKING WORK | REMOTE | EST time zone (UTC -5)

Full stack developer with decades of experience.

In my last contract I helped a UK startup to pivot to a new market.

I previously worked in e-learning industry and helped organisations achieve their goals.

Tech :

- Typescript / Node.js / React / React native / GraphQL

- Python (Django) / PHP (Laravel / Symfony)

- hands on the AWS console (ECS / lambda)

- and more (databases / CI / CD / devops / authentication).

CV : https://github.com/k3roulas/two-group-theory/raw/master/stat...

email : twogrouptheory [at] gmail [dot] com
by jascha_eng | 2026-02-03 16:44:49+00:00
You just don't know which parts of the doc are real and which are hallucinated. Maybe the prompter checked everything and the content is actually good, but sadly many don't and there is a lot of slop flying around.

So if you want others to read the output you'll have to de-slopify it, ideally make it shorter and remove the tells.

If I go by good faith these days and trust that someone didn't just upload llm hallucinated bullshit, I'd sadly just be reading slop all day and not learning anything or worse even get deceived by hallucinations and make wrong assumptions. It's just a waste of someones precious life time.

LLMs can read through slop all day, humans can not without getting extremely annoyed.
by a_better_world | 2026-02-03 16:45:20+00:00
and you might have to think about and be conscious of the many things...

like when would you need to take a picture, write an observation, record an interesting noise, wayfind with a gps?

How often do you need to do these things? Is this current trip likely to turn into one of these trips, or is it a grocery run (granted you might want photos on a grocery run).

Can you be specific about what made this horrible?
by hypeatei | 2026-02-03 16:45:24+00:00
Any state laws trying to restrict the 2nd amendment are always going to be useless. You're not going to stop someone who's determined at causing harm with firearms in a country where firearms outnumber people. All these little "bandaid" solutions do is allow for fishing expeditions by police and prosecutors.

On a related point, trying to implement more gun control after seeing how this federal government is deploying the three letter agencies is pretty fucking stupid.
by zbentley | 2026-02-03 16:45:28+00:00
Yes, because private companies aren’t subject to the PRA like federal agencies are.

FWIW, I’m not sure that TSA ID verification does indeed have a PRA claim in the way the article asserts, and I am very sure that the PRA is a dumb law that needs to be removed: https://www.eatingpolicy.com/p/why-the-paperwork-reduction-a...
by Bender | 2026-02-03 16:45:34+00:00
In my opinion I think the reason they raided the offices for CSAM would be there are laws on the books for CSAM and not for social manipulation. If people could be jailed for manipulation there would be no social media platforms, lobbyists, political campaign groups or advertisements.

On a related note given AI is just a tool and requires someone to tell it to make CSAM I think they will have to prove intent possibly by grabbing chat logs, emails and other internal communications.
by BadBadJellyBean | 2026-02-03 16:45:55+00:00
It is not cognitive dissonance to learn from others. The pluggable nature of Linux makes developer lifes harder. They have to write wrappers and abstractions to use base functionality. Having a unified api surface is very attractive.

Windows did something right because you can run very old binaries on a new system. Good luck doing that on Linux.

In the end for most people Linux is not an intellectual exercise in freedom but a tool to get work done and systemd is pretty good at that and is getting better.

And another important point: systemd is still lgpl licensed software. There is literally no legal way for someone to rug pull it. So if it works and brings a benefit it might be a good thing to start to depend on it. Just like we depend on the GNU tools.
by operator-name | 2026-02-03 16:46:19+00:00
I'm not sold at the idea - for most projects it makes sense that the author of the PR should ultimately have ownership in the code that they're submitting. It doesn't matter if that's AI generated, generated with the help of other humans or typed up by a monkey.

> A computer can never be held accountable, therefore a computer must never make a management decision. - IBM Training Manual, 1979

Splitting out AI into it's own entity invites a word of issues, AI cannot take ownership of the bugs it writes or the responsibility for the code to be good. That lies up to the human "co-author", if you want to use that phrase.
by kogasa240p | 2026-02-03 16:46:26+00:00
> The New York definitions sweep in not just FDM and resin printers, but also CNC mills and “any machine capable of making three-dimensional modifications to an object from a digital design file using subtractive manufacturing.”

...what? This some of the stupidest, most out of touch garbage I've ever read and clearly made by uneducated lawmakers being out of their depth.
by wizzwizz4 | 2026-02-03 16:46:40+00:00
What's "blocking technology", then? I'm repeating an argument from the article, which itself is an argument older than the microprocessor:

> But the answer to misuse isn’t surveillance built into the tool itself. We don’t require table saws to scan wood for weapon shapes. We don’t require lathes to phone home before turning metal. We prosecute people who make illegal things, not people who own tools.
by glkindlmann | 2026-02-03 16:46:46+00:00
I love the Vernier scales! But I honestly hadn't known about the sense in which slide rules have a Venier scale until your comment, which led me to [1]. In another class on laser-cutting I had students make a kerf-meter, which became more accurate with a Vernier scale.

[1] https://dram.page/p/slide-rule-vernier/
by man8alexd | 2026-02-03 16:47:50+00:00
Location: Tbilisi, Georgia (UTC+4)
Remote: yes (working exclusively remotely for the past 20 years)

Willing to relocate: yes

Technologies: AWS, Kubernetes, Nomad, Docker, podman, Hashicorp Consul, Vault, Packer, Terraform, Ansible, Chef, Puppet, Grafana, Loki, Prometheus, ELK stack, Jenkins, GitHub Actions, Flux, GitLab, Postfix, HAProxy, MySQL, MariaDB, PostgreSQL, Ruby, Python, bash, C

Résumé/CV: https://alexeydemidov.com/cv

Email: in the resume

GitHub: https://github.com/AlexeyDemidov

LinkedIn: https://www.linkedin.com/in/alekseydemidov/

ServerFault: https://serverfault.com/users/23022/alexd

Have been working with Linux and FreeBSD for over two decades. Run an ISP engineering team for a decade, now building and maintaining cloud infras.
by avaer | 2026-02-03 16:47:53+00:00
It's not about instructions, it's about discoverability and data.

Yeah, WWW is really just text but that doesn't mean you don't need HTTP + HTML and a browser/search engine. Skills is just that, but for agent capabilities.

Long term you're right though, agents will fetch this all themselves. And at some point they will not be our agents at all.
by BanazirGalbasi | 2026-02-03 16:47:54+00:00
If I recall correctly, this is state-dependent. Some states just say you can't sell it, some require you to serialize anything you make even if you won't sell (the process of serialization isn't specified), and some ban self-made firearms completely. If you cross state lines with something you've made, you need to make sure you're following laws in both states just to be safe.
by MostlyStable | 2026-02-03 16:47:57+00:00
Back in college I was flying home immediately after the end of the semester for a family reunion. Flew there, attended, then flew back. On the flight back, I got stopped for additional search by TSA. Immediately, I remembered that I had left my lab dissection kit in my backpack which included a razor blade and long, pointed, pick-like tool. But it turns out that neither of those are what got me stopped....I had also forgotten a half full bottle of gatorade. They were however happy to confiscate my dissection kit as well, after I had (stupidly) informed them of it.
by bluescrn | 2026-02-03 16:48:03+00:00
> Why would I bother with an unreliable 3D printed zip gun and 3D printing when I can go and get a real working gun off the street for a few hundred?

Even in countries with strict gun control, like the UK, the most serious criminals can get hold of guns. And if lesser criminals 3D printed a gun, they'd struggle to get hold of ammo for it. So they stick to knives.
by alecco | 2026-02-03 16:48:04+00:00
I like to hate on Sam Altman, but this a low effort hit piece. OpenAI has a brilliant team lead by one of the best in the field [1]. The ones who left are all but one not technical people and happened months ago. And the one who left wanted to focus scarce compute on RL, which is a good gamble but not necessarily the right move.

Just yesterday from an internal email "Jakub moreso than Ilya has been making the research breakthroughs that are driving things forward, to the point that Sam promoted Jakub, and put him charge of the major model research directions." https://x.com/trajektoriePL/status/2018242446577086589

[1] https://en.wikipedia.org/wiki/Jakub_Pachocki
by scratchyone | 2026-02-03 16:48:15+00:00
I can't directly attest to that (never bought an illegal gun) but from my understanding, yes, people have no challenge obtaining illegal guns.

However, you really don't even need to do that. You could just drive across the NY border to a state with looser gun laws, buy one there, shave off the serial number, and bring it back to NY. You could also just steal a gun from one of the many Americans who already own one.

You can also legally buy an unfinished lower receiver in many states (the part of a gun that is typically serialized). Since it's technically unfinished, it doesn't require a serial number. Then you drill a few holes into it and assemble it with off the shelf, also un-serialized gun parts.
by AnthonyMouse | 2026-02-03 16:48:42+00:00
> As you've seen, over, and over, and over again, this is their own internal rule they've changed it before and they can just change it again with a simple majority, the so-called "nuclear option".

It's called the "nuclear option" because actually using it is mutually-assured destruction. They're not so stupid that they can't foresee ever being in the minority again when changing a rule where that consideration is the blatantly obvious cost.

Somehow the Democrats were that stupid and did it for judicial nominations and both parties can see how that came back to bite them.

> Which means that so long as Republicans have enough votes and apparently still believe loyalty to one corrupt rotting bag of shit is their purpose in life he can't be impeached.

The real purpose of impeachment is for when there is widespread consensus that someone so pressingly needs to be removed from office that it can't wait until the next election. It's for when they're so bad even their own side won't stand for it, not for when you hate the other party's President and catch a slight majority in the midterms.

But if you retake the legislature then maybe consider adding some new restraints on executive power to those hefty must-pass omnibus bills. It might be worth doing something about the problem in general instead of just that one specific jerk?
by arielcostas | 2026-02-03 16:48:46+00:00
It's not about it being hard, it's about delegating. Many companies are a bit less sensitive to pricing and would rather pay monthly for someone else to keep their database up, rather than spending engineering hours on setting up a database, tuning it, updating it, checking its backups, monitoring it and making it scale if needed.

Sure, any regular SME can just install Postgres or MySQL without even setting much up except with `mysql_secure_install`, a user with a password and an 'app' database. But you may end up with 10-20 database installs you need to back up, patch and so on every once in a while. And companies value that.
by bccdee | 2026-02-03 16:48:59+00:00
All the examples in that article are very exotic.

for i, p := 0, (*int)(nil); p == nil; fmt.Println(p == &i) {
p = &i
}

Be honest, how many times have you actually seen code which depended on the address of a variable declared in a 3-clause for-loop remaining stable across loop iterations? Nobody does this. It's extremely weird and un-idiomaic. Heck, 3-clause for-loops are somewhat uncommon in and of themselves. Conversely, everyone who writes Go has experienced unintuitive capture issues with for-range loops.

Are you actually aware of any breakages this change has caused?
by hoarseAAPL | 2026-02-03 16:49:45+00:00
SCOTUS has ruled before that 2A does not afford freedom to own any kind of weapon. There are limits on explosives for example.

They tend to lean on whether it is reasonable that the Founders might have had access to such a weapon with their technology. Machine gun is just a rifle with automatic rechamber. Not an unreasonable upgrade for 1700s technology. Maybe, I dunno; political people don't have to actually care about the details.

There are limits. And if cases like this made it there they might rule that no Founder was smelting the materials. That they would have had to collaborate, in some "market dictates options" ruling to limit hermits going in a rampage. Also everyone a weapons assembly line in their home is anti-corporate capitalism.

"George Washington understood the value of civic life and sound economics! He would not have tolerated such insular selfishness! He did not make his own weapons! He engaged in trade!"

Not saying it's realistic but politics is not never controlled by people living in reality. Making shit up seems as reasonable as anything.
by m_nalikowski | 2026-02-03 16:50:00+00:00
Marek here from bunny.net. We’re not saying SQLite is universally better than Postgres. The trade-off we’re optimizing for is cost model and operational simplicity.

Even as a managed service, Postgres DBaaS still tends to push users into capacity planning, instance tiers, and paying for idle headroom. Using a SQLite-compatible engine lets us offer a truly usage-based model with affordable read replication and minimal idle costs.
by kstrauser | 2026-02-03 16:50:04+00:00
Eh. I accidentally did that. We were on a trip to visit family and a relative took my kids to a shooting range. One of them didn’t completely empty their pockets afterward and we realized that when the TSA agent asked why we had a bullet in our carryon. My blood kinda froze, then the same agent asked if I’d like him to discard it for me. I said I’d appreciate that very much and he did so. He went on to say that, being near the headquarters of Bass Pro, that this happens all the time. I used it as a teachable moment to explain to my kids that this might be their one-time free pass and to never, ever, do that again.
by mindslight | 2026-02-03 16:50:05+00:00
> Corporations / manufacturers have no incentive to make these systems more accessible

That's the exact point of actual right to repair legislation.

> Even if they did, more complex -> more expensive to repair.

No, this is not true as a general rule. For example if problems can be diagnosed easier (or even ahead of failure) with digital controls, this brings down the cost of maintenance. Or if the software grows in complexity while the hardware shrinks in complexity, this can still be a win as individual bits of a digital controller aren't likely to break down.

But on this topic we aren't actually talking about manufacturers being able to resume production of the previous non-digital engines. This would require actually repealing the Clean Air Act, and probably even mandating that manufacturers remove such systems from their current designs.

Rather the only thing this declaration seemingly does is remove one excuse manufacturers have to lock down their system with digital restrictions, with the goal of allowing customers to "disable" those extra controls "temporarily" - not really an actual win for any of the repairability or cost issues you bring up.

This is the same fundamental dynamic I've observed in all of the destructionist policies - the large-print performatively throws a bone to those suffering, but the actual details don't even try to unwind the poor dynamic, never mind attempting constructive solutions (in this case, straightforward right to repair legislation).
by justin66 | 2026-02-03 16:50:19+00:00
The base of the bullet is lead (with jacketed pistol rounds, that's often true even if it's a "full metal jacket" and some brands are trying to draw a distinction there with "total metal jacket" branding) and it's exposed to the explosion when the round fires. There's some vaporized lead, most if it will move downrange and some of it won't. Airborne lead is potentially more of a problem at an indoor range.

Copper, polymer-coated, or total metal jacket rounds will also result in less lead on the firearm, I'd think, and less on the user's hands. One old guy I know who had lead poisoning at one time believes the real risk is getting the lead on one's hands and then handling a cigarette.
by ryandrake | 2026-02-03 16:50:52+00:00
I want all my tools to dumbly operate on whatever I'm working on. Imagine if lathes were required to try to guess whether you're reboring a rifle barrel and stopped themselves from running. Or if a bandsaw had to detect whether what you are cutting was gun shaped. Totally ridiculous. [EDIT: Looks like these examples were already brought up in the article, since they're obvious]
by zbentley | 2026-02-03 16:50:59+00:00
I meannnnnn…

Pedantically, the “stolen valor” metaphor absolutely doesn’t fit here; you’re just griping about the “sudo brand” being used in another project’s title (which … citation needed, and so what? Is “doas” not committing theft but “sudo-improved” is?)

More generally, that’s an easy case to make against any software you don’t like: “it’s just reimplementing $whatever and trying to pretend to be the original therefore it’s unethical”. Some rewrites are good, and a huge benefit of the act of rewriting is that you do have a clear blueprint and understanding of the requirements (hell, Linux was a rewrite). Should the original creators of a thing be the only people who can ethically rewrite it? Where’s the line here?
by saubeidl | 2026-02-03 16:51:30+00:00
I should have clarified. My goal in learning Mandarin is only conversational fluency, not literacy.

I don't bother with the Hanzi past being able to recognize them. I want to be able to talk to people and, if I have to, use a pinyin keyboard to write basic sentences.

So only 1 & 4 are really relevant, 2 is what Anki is designed to do.