Better HN
topnewbestaskshowjobs
Log inSign up

imsh4yy

28 karma · joined Aug 18, 2022 (4y ago) · 25 submissions

Submissions

comment 2mo ago · link · parent

This is very cool! Will have a look.

2.

GetFullYear – An API that returns the current year(getfullyear.com ↗)

2 points · by imsh4yy · 10mo ago · discuss

comment 11mo ago · link · parent

Yep, came here expecting to read an interesting take on why SSE sucks or a better alternative, but this just reads like "skill issue." A term I very much dislike but seems appropriate here.

comment 12mo ago · link · parent

I've had early access to StepKit and this kind of sane, explicit API with pluggable backends feels like the right direction. Kudos to the team here!

comment 1y ago · link · parent

Thank you :)

comment 1y ago · link · parent

Haha, thank you! I just like to build stuff.

comment 1y ago · link · parent

Anyway I can learn more about this?

comment 1y ago · link · parent

Yes they are tools.

comment 1y ago · link · parent

You're right that this isn't the "autonomous agent" fantasy that keeps getting hyped.

The agentic part here is more modest but real. The primary agent does make runtime decisions about task decomposition based on the data and calls the subagents (tools) to do the actual work.

So yeah, it's closer to "intelligent workflow orchestration." That's probably a more honest description.

comment 1y ago · link · parent

I mean that depends on how you define the "input" for the tool. Some can be very deterministic like an enum, boolean, number, etc.

comment 1y ago · link · parent

Yes, temp is close to 0 for most models. For top k and top p, I've been using the default values set in OpenRouter.

comment 1y ago · link · parent

I assume you're talking about Claude Code, right? If so, I very much agree with this. A lot of this was actually inspired by how easy it was to do in Claude Code.

I first experimented with allowing the main agent have a "conversation" with sub-agents. For example, I created a database of messages between the main agent and the sub-agents, and allowed both append to it. This kinda worked for a few messages but kept getting stuck on mid-tier models, such as GPT-5 mini.

But from my understanding, their implementation is also similar to the stateless functions I described. (happy to be proven wrong). Sub agents don't communicate back much aside from the final result, and they don't have a conversation history.

The live updates you see are mostly the application layer updating the UI which initially confused me.

comment 1y ago · link · parent

So far I've been hardcoding these into the API calls.

comment 1y ago · link · parent

Not sure if I understand the question, but I'll do my best to answer.

I guess Agents/Agentic are too broad of a term. All of this is really an LLM that has a set of tools that may or may not be other LLMs. You don't really need a framework as long as you can make HTTP calls to openrouter or some other provider and handle tool calling.

I'm using the AI sdk as it plays very nicely with TypeScript and gives you a lot of interesting features like handling server-side/client-side tool calling and synchronization.

My current setup has a mix of tools, some of which are pure functions (i.e. database queries), some of which handle server-side mutations (i.e. scheduling a changelog), and some of which are supposed to run locally on the client (i.e. updating TipTap editor).

Again, hopefully this somewhat answers the question, but happy to provide more details if needed.

comment 1y ago · link · parent

I think I need to make this a bit more clear. I was mostly referring to caching the tools (sub-agents) if they are a pure function. But that may be a bit too speicific for the sake of this post.

i.e. you have a query that reads data that doesn't change often, so you can cache the result.

comment 1y ago · link · parent

So I have a main agent that is responsible for streering the overall flow, and then there are the sub-agents that, as I mentioned, are stateless functions that are called by the main agent.

Now these could be anything really: API calls, pure computation, or even LLM calls.

comment 1y ago · link · parent

Sure! So there are both read-only and write-only agents that I'm working on. Basically there's a main agent (main LLM) that is responsible for the overall flow (currently testing GPT-5 Mini for this) and then there are the sub-agents, like I mentioned, that are defined as tools.

Hopefully this isn't against the terms here, but I posted a screenshot here of how I'm trying to build this into the changelog editor to allow users to basically go:

https://x.com/ImSh4yy/status/1951012330487079342

1. What tickets did we recently close? 2. Nice, write a changelog entry for that. 3. Add me as author, tags, and title. 4. Schedule this changelog for monday morning.

Of course, this sounds very trivial on the surface, but it starts to get more complex when you think about how to do find and replace in the text, how to fetch tickets and analyze them, how to write the changelog entry, etc.

Hope this helps.

comment 1y ago · link · parent

Author of this post here.

For context, I'm a solo developer building UserJot. I've been recently looking deeper into integrating AI into the product but I've been wanting to go a lot deeper than just wrapping a single API call and calling it a day.

So this blog post is mostly my experience trying to reverse engineer other AI agents and experimenting with different approaches for a bit.

Happy to answer any questions.

comment 1y ago · link · parent

Gents, I'm the CEO of getfullyear.com

Happy to answer any questions regarding our service.

20.

Show HN: IssueMailer – Simple Text-Only Email Editor(issuemailer.com ↗)

15 points · by imsh4yy · 3y ago · discuss

comment 3y ago · link · parent

Having an event-driven infrastructure is a big missing piece in the serverless world and I'm glad to see you guys stepping in and filling this gap!

comment 3y ago · link · parent

I recently learned that Cloudflare offers free outgoing transactional emails through their partnership with MailChannels.

So I put together this simple proxy worker that anyone can deploy in just a few minutes and use it for sending transactional emails.

23.

Show HN: Send Free Transactional Emails via Cloudflare Workers(github.com ↗)

3 points · by imsh4yy · 3y ago · 1 comment

comment 4y ago · link · parent

Thank you Sergio :)

comment 4y ago · link · parent

Hey! LogSnag [0] founder here, more than happy to answer any questions regarding our service and offerings. xD

[0] https://logsnag.com