nikiv.dev (@nikivdev) header
nikiv.dev (@nikivdev) profile picture
Joined May 2013
Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)Photo by nikiv.dev (@nikivdev)
my new dev flow for more complex things is i have codex write spec claude review it codex review what claude wrote, optimize spec get review fast (will optimize this with tooling, wip) then i have cli `spec exec <.md path>` and it writes optimized prompt and executes it
3
1
17
4,045
soon `spec review <.md path>` will open review tool with inline comments basically github light will be under unhash.sh/<hash> all inline all reactive ai will be able to fetch optimized review feedback with context fast to iterate on spec
1
1
5
2,191
Truly life changing day @tekezo is genuinely top 3 humans I admire the most who changed my life Since this post, I wrote PR to Karabiner with the change to cut latency and remove shell to use sockets I thought I would have to support a fork but no, tekezo literally merged it
Started replacing keyboard maestro with my own macro engine in c++ and it's crazy how doing this moved my most common op to open apps from 500ms in KM to 200ms in my own engine I am now evaluating forking karabiner elements to avoid even more overhead on engine calls
2
1
16
2,488
Started replacing keyboard maestro with my own macro engine in c++ and it's crazy how doing this moved my most common op to open apps from 500ms in KM to 200ms in my own engine I am now evaluating forking karabiner elements to avoid even more overhead on engine calls
2
1
10
3,595
another crazy thing as I started playing with my workflow engine and karabiner more deeply is that ai actually did some crazy change which actually improved latency on typing with layered keys 10+ years of typing with layered keys and never occurred to me to make this change
1
3
435
my `f commit` system that uses agent to review a diff before it commits and pushes it now also ends commit with a hash that encodes ai chats it took to create the commit + lessons/skills that would help to be encoded to not repeat same mistakes + todos with improvements tracked
1
1
4
770
the hash is encrypted with private key so only the author can see the content there + author's agents only there is rust cli `unhash` that works with the hashes the hash can be `review request` and this can route to app (i forked vscode to exp with this)
1
1
185
super cool that this works this creates agent/program `kill` at global scope with enough structure, this will create first a procedural program from this and do llm in failure cases failure cases get encoded into literal code with time i forked fish shell to do this
1
2
487
fish shell basically has all IO efficiently traced I also trace at language level and I am building system that will supply intents/messages from chats automatically to these systems i.e. you can imagine system that feeds context as you read it in browser
1
134
I now have infra to create agents with tracing (for automatic improvement) from prompts agents can be applied to a project so they are shared across team the spec for agents will be based of zed.dev/acp
1
2
541
I wonder how hard it would be to write a transpiler from .ts to .mbt (to get native builds) if you enforce a certain rule set perhaps youtube.com/watch?v=wYddFSTH… this stream and project is top such great design
1
188
experimenting with better dev process usually dev process is either web server like `bun dev` or some tasks/commands on loop until their work I have now tui that first starts the dev processes and shows logs but also acts as a chat for logs + more
1
507
also on side experimenting with building a framework way it works is it assumes certain structure so web/ is used for website target (wrap around tanstack start) then expo/ for native electron/ for desktop idea is that .rise is its own jsx like language
1
163
soon will get agent making machine `hive agent` will move the context over and enter agent maker mode where as i write prompt for a `task` either a program or agent will be created and persisted to json and all shells will have that at global scope to run
1
1
330
it will on output show a json like this most likely + the sidebar can be used to show progress as the agent is being built and evaluated editing agents will jump to existing sessions instead to improve on existing agents (with all the context)
1
250
coolest thing here is that everything gets persisted to file system so making RAG over it instantly is easy too its browser with note taker builtin where notes are mapped to unique websites or PDFs this can be collab too if you add identitity IRL discord chat for every paper
1
2
352
selection -> notes is actually not the final form UI what it will be is you do selection and as right thing is outliner it will stream not an explanation but a note (with surrounding context) and option for user to add more stuff best thing is notes are mapped to urls/loc
1
1
78
first steps at trying to improve agents this will be automated once I hook up sessions to be reactive so agents relevant to work being worked on get optimized with time based on new context this is my own build of fish shell that has IO traced will put in containers too
1
302
also this will be cool did this as i am doing collab with person that is hitting some annoying issues with github so getting my changes will be just `f changes apply <diff-hash>` it will have agent builtin to auto fix merging this way checking changes out is easy
1
94
little design consideration for each of the agents is that each agent starts it life locally persisting its state to jazz on mac close it will continue on container and finish the work it started always each of deps come with optimized agent context for how to use dep
1
3
232
and the other thing is that each of the agents will preserve the history of all invocations of the agent there will be `context-optimize` agent that will keep history of working Q/A just as examples of queries that were ran with success result fine tune via context
1
71
idea for a github alternative maybe when you do a commit, it will similar to nix hash get attached to commits (hosts enforces that hash is present there and its validated) this hash contains diff + ai agent threads (author deemed for public share) + more context like message
1
175
the other neat thing is that with this you can easily have agent traverse the history from the commit to get more optimized context to solve the issue you can even share dialogues in team chat for more context or IRL transcriptions too from video or some pen device
1
155
ok got a self recursive loop going literally have the infra in place to actually create agents on the fly now and persist them only now it will be persisted to a config an agent is a prompt with a job on right is new glm model on mlx to match agents in fuzzy way
I think I cracked the best dx for agents/software on demand there can be CLI wise at least its called hive and its using @moonbitlang and cerebras model so things are fast works like `hive <anything you want>` (agent/program gets made on demand and gets persisted)
1
442
so the goal of the mlx model is both to match but also act as a router so hive is bound to `e` for me so when I do `e claude open last session` it should route to agent `claude` `open last session` and do it fast if no match, then it routes to agent creator
1
86
neat agent that will given a query find all relevant files in repo and let you fuzzy search to jump to it needed as i wanted to quickly find the effect ai package inside the monorepo without going through search
1
1
231
so good wrapping over functionality with aliases in same sessions is so nice
157
replacing openai 20b on mlx with this
Introducing GLM-4.7-Flash: Your local coding and agentic assistant. Setting a new standard for the 30B class, GLM-4.7-Flash balances high performance with efficiency, making it the perfect lightweight deployment option. Beyond coding, it is also recommended for creative writing, translation, long-context tasks, and roleplay. Weights: huggingface.co/zai-org/GLM-4… API: docs.z.ai/guides/overview/pr… - GLM-4.7-Flash: Free (1 concurrency) - GLM-4.7-FlashX: High-Speed and Affordable
1
4
495
may not look like much but this is so so nice never touching `.env` again flow has internal secret manager and now gen is connected to see the envs plus manage it but the best part is that I can in english language drop bunch of stuff and ai will figure out what env to add
1
1
216
I am constantly amazed by how great models already are I now fully automated deployments, provision and now working on scaling agents got myself an orchestrator thats based of restate.dev and some more fancy things and jazz ofc oh and containers
1
1
90
new fav CLI zed-open - (alone, opens current folder in zed) zed-open <query> - open most relevant file based on query (prefer files from root) (file name search) zed-open code <query> - open file in zed from a code query its nice for jumping to files, w and we are wrappers
1
1
204
also also i now have a fancy system of agents that write to a spec (still wip) but another nice cli is `fishy` it takes a query and modifies fish config and reloads config i.e. can write `fishy map zed-open to w` and it will know to create the fish fn and reload quite nice
1
1
104
got myself a lovable only working on top of real code and components prompt component into existence, tweak it with code, press keybind, snapshot it into shadcn like thing to add it to codebase fast this with fancy context panel where UI comps are reusable pieces of context
1
1
233
so in Blocks here, you literally just define with what UI components you want AI to work with this could be company design system etc perhaps you can set guidelines within which AI should craft the UI I mostly love how easy it is to go from AI gen to real code
1
1
107
not sure how skills work internally but the way I made my agent work for me right now is if user query has certain words like `zed` it will preload into context `zed-help` wrapper to know what it can do to make a better program/shell-script on demand works well
2
266
each of those `-help` is actually a cli i make on demand with moonbit because creating such clis is super easy even if all it does is wraps around existing functionality this way i can keep the interface more focused for the agent
1
129