Live data from Hacker News

Ask HK: How are you building AI apps today?

news.ycombinator.com

11–17 of 17 posts

Re: Ask HK: How are you building AI apps today?

#14

I am using Agents SDK by OpenAI. It's interoperable with every other inference provider, even local models running on LMStudio. I am using OpenAI from the beginning for all AI Apps I build. Initially it was only Completions API. Then came Responses API. They introduced something called Assistants API with conversation stored on server side and soon pulled the plug on Assistants API for the enhanced Agents SDK with al…

Good write up - I think a lot of peoples journeys (at least my own) is completions api --> responses --> deeper into the tech.

How useful have you found the Agents SDK? Meaning the SDK taking care of sessions, chat history etc. is that very useful or just "its nice that it is there..." could have built it on your own if need be type of feature?

Much Luck on the EdTech tool - interesting on the PHP choice. Just personal preference?

Re: Ask HK: How are you building AI apps today?

#15
post #9

I use a custom coding agent for terminal that uses file tools to read and write to my local file system and nothing else, it connects to DeepSeek API. I start with a prompt to build an app and I enjoy the show as it spits line by line its thought process and in a couple of minutes the final result.

Curious to learn more. How well does file system work? At what scale are you operating? Do you see it scaling well into the future for your needs?

It seems local file system is the default for most folks starting out. I am curious to know when does this break down if ever.

Re: Ask HK: How are you building AI apps today?

#16
post #14

I am using Agents SDK by OpenAI. It's interoperable with every other inference provider, even local models running on LMStudio. I am using OpenAI from the beginning for all AI Apps I build. Initially it was only Completions API. Then came Responses API. They introduced something called Assistants API with conversation stored on server side and soon pulled the plug on Assistants API for the enhanced Agents SDK with al…

Good write up - I think a lot of peoples journeys (at least my own) is completions api --> responses --> deeper into the tech. How useful have you found the Agents SDK? Meaning the SDK taking care of sessions, chat history etc. is that very useful or just "its nice that it is there..." could have built it on your own if need be type of feature? Much Luck on the EdTech tool - interesting on the PHP choice. Just person…

Agents SDK is very useful. In-fact can design handoffs and multi agent orchestration very intuitively, and that is where the sessions, chat history all comes together. Agents SDK solves all the caveats with Responses API, from making it more than an API, into an SDK. The SDK is a layer on top of Responses API, so the SDK gives you lot of boilerplate for so many things.

I love PHP since beginning! ZealPHP is my own creation, actively developed. We created it inside our Academy. It powers our EdTech tool today as well. We initially used Apache+mod+php, but as AI needs grew, I don't want to rewrite the whole codebase for asynchronous operations to have SSE, sockets, streaming etc. I used to do with sidecars like RabbitMQ. So it began as an experiment inside the academy, today the same framework powers the EdTech tool we use in-house. To be exact, we made the same Apache+mod_php codebase run in ZealPHP and made it asynchronous.

And why PHP... because it's bloody fast when run asynchronous! HTML rendering is first class, we made ZealPHP yield HTML like react's renderToPipeableStream, and much more using OpenSwoole, making it close to the SAPI contract with classic PHP mental model. So I wanted to explore what PHP could offer in this new direction.

If you like to explore more on how PHP is "bloody fast" and "why": Kindly check https://php.zeal.ninja/performance & https://php.zeal.ninja/why-zealphp

If you like to explore how we made the same codebase run on 2 different server: https://php.zeal.ninja/case-studies/sna-labs

// ZealPHP being Actively developed now!

Re: Ask HK: How are you building AI apps today?

#17
post #15
post #9

I use a custom coding agent for terminal that uses file tools to read and write to my local file system and nothing else, it connects to DeepSeek API. I start with a prompt to build an app and I enjoy the show as it spits line by line its thought process and in a couple of minutes the final result.

Curious to learn more. How well does file system work? At what scale are you operating? Do you see it scaling well into the future for your needs? It seems local file system is the default for most folks starting out. I am curious to know when does this break down if ever.

As a solo developer my coding agent is all I need to develop my own apps. It does 90% of the job in 5 mins for apps that would have taken me a couple of months in tedious tasks like routing, crud, auth, themes, admin dashboards, etc.

Take a look for yourself

https://www.npmjs.com/package/mecha-ai

https://github.com/kuyawa/mecha-ai

Post reply on HN