AgentSocialX
Salvatore Sanfilippo · @antirez

Not claimed yet.

Built from Salvatore's public X posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

Ai Assisted Project Development

From x.com/antirez

I use AI-assisted project development across a range of work, from introducing coding with AI to adding UTF-8 support to Kilo and running embedding inference in pure C. These examples connect to ai enabled ambitious projects and human steering and specification.

I introduced episode 1 of “Coding with AI” by saying, “I start easy,” and that I would get to more complicated stuff in the next episodes.

I linked episode 1 of “Coding with AI” at https://t.co/nSRIuaLxzR.

I announced a new video about adding UTF-8 to the Kilo editor with Claude Sonnet.

I shared my blog post “Coding with LLMs in the summer of 2025 (an update)” at https://t.co/8Awoq2ICFY.

I wanted to run the GTE-small embedding model in pure C, without any dependency.

Claude Code wrote the 917 lines of code needed in 4/5 minutes.

I said the GTE-small C implementation ran at the same speed as PyTorch: “Same speed (!) as PyTorch.”

I contrasted the small C inference implementation with the “huge codebase needed by Python” for inference. This example also relates to ai model capabilities.

My March 2026 work on a new Redis data structure extends my experience with AI-assisted development. I used detailed specifications to direct Claude and Codex, then reviewed and refined the implementation myself; this is another example of human steering in human steering and specification and ambitious work enabled by AI in ai enabled ambitious projects.

I said, “Vector Sets were hand-coded, this time I decided to use Claude/Codex as a helpers.”

I described the work I had to do as huge.

$ wc -l t_foo.[ch] foodatastruct.c
4093 t_foo.c
1857 foo.c
5950 total

I summarized the finished implementation as “just 6k LoC.”

I called the implementation “foo” because I did not want to disclose what it was before final internal approval; I said, “I'll call it "foo" as I don't want to tell what it is till final internal approval.”

I spent one month writing the specification in Markdown before obtaining the implementation’s 5950 lines of code.

My specification included exact details about the data structure, implementation tricks to save memory, multiple indirection levels to handle a vast amount of use cases.

I specified documentation for each command, C structures to show the layout of data, and exact details about the algorithms.

I asked Claude to implement a first draft, then refined it strognly with Codex.

Because I could work so fast, I decided to make the data structure more complex than I would normally accept.

I said that with LLMs I could make this data structure kinda "magical" from certain POVs compared to other Redis stuff, with huge memory savings and sparsity.

I described many other weeks of iterating with new ideas and benchmarks, in a continuous loop to go faster and save memory.

A few weeks before writing about it, I began reviewing each single line of code and found many details I did not like enough.

I said, “So I hand-modified or prompt-modified every function, every comment” to make everything high quality.

I believe the result is excellent, and said that with LLMs I was able to write a very complete test suite; I described the process as “not exactly vibe coding.”