HNHacker News
TopNewBestAskShowJobs

deathmonger5000

109 karma · joined March 24, 2023

https://github.com/ferrislucas

https://ferrislucas.net/

ferris@mydayoff.net

submissionscomments
deathmonger5000··on Anthropic appears to be A/B testing reduced effort levels in Claude Code
I created Circus Chief to solve this (and other) problems. Use whatever providers you want with it.

https://github.com/ferrislucas/Circus-Chief

deathmonger5000··on Managing AI Coding Costs at Scale
If you’re into web based meta-harnesses you might like Circus Chief: https://github.com/ferrislucas/Circus-Chief

Similar idea re using the same UI across all models, but the agent can modify the harness config as well as start/schedule sessions, etc. The Kanban board feature can be used to orchestrate agent driven workflows, and the agent itself can modify the Kanban lanes. Basically the agent can do all the same things you use the UI for.

Example prompt: “schedule a session using Opus 5 with max thinking for every feature in the PRD on the canvas. For every session make the prompt instruct the agent to review end to end test coverage for the feature and create a report on the canvas for test gaps that you find. Schedule the sessions overnight tonight spread evenly throughout the night, and have each session set to retry upon token exhaustion.”

I think it’s more meta than other meta-harnesses, but I’m biased because it’s my pet project.

deathmonger5000··on ZCode – Harness for GLM-5.2
Circus Chief allows you to do this: https://github.com/ferrislucas/Circus-Chief

(Full disclosure: it’s my project)

deathmonger5000··on Herdr: Agent multiplexer that lives in your terminal
You might like Circus Chief. It’s a web based UI focused on mobile - local first. Supports Claude Code, Codex, and Gemini. Supports auto retries when you run out of tokens, scheduled tasks etc. It’s been great for me as I juggle a Codex, Claude Code, and z.ai subscription.

https://github.com/ferrislucas/Circus-Chief

Full disclosure: it’s my project

deathmonger5000··on Ask HN: What are tools you have made for yourself since the advent of AI?
I made Circus Chief:

https://github.com/ferrislucas/Circus-Chief

Circus Chief is a tool for managing coding agent sessions from a browser. It's specifically optimized for small screens. It supports Claude Code, OpenAI Codex, and Google Gemini CLI agents.

Features

Agents can operate Circus Chief itself. Agents can spawn sessions, schedule sessions, interact with the Kanban board — anything you can do in the UI, an agent can also do.

Schedule work ahead of time.

Automatically reschedule when you hit usage limits.

Configurable, chainable prompt templates.

User-defined commands - agents can run them and see the results, and so can you in the UI. Handy for local CI or routine workflow steps.

Worktree-per-session isolation, or elect to work on a specific branch.

Shared canvas - this is a place for shared artifacts that don't belong in the code. Useful for iterating on planning documents.

Bring your own provider. Use subscription auth for Anthropic, OpenAI, or Google, or point sessions at third-party providers with Anthropic- or OpenAI-compatible endpoints.

If you want to try it:

  npx circuschief
deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
I see what you're saying. Yes, what you described sounds like a much better approach in terms of being terminal agnostic. It would be awesome to have a tool like iterm-mcp that supports any terminal, any OS, etc. iterm-mcp is limited specifically to iTerm.
deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
It sounds like iterm-mcp isn’t a tool that would fit in your organization. I’m totally not trying to change that or sell you anything.

I’m curious what your thoughts are around Cursor, Windsurf, etc. Those are IDE’s that provide the model with limited access to the terminal. Where do you feel like those tools and their AI features - terminal access specifically, fall in an org like yours? Are they disallowed due to terminal access or are the limitations of those tools safe enough?

deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
I think you might mean use the tail command? See my other comments about not wanting to change the user’s workflow. I don’t want to get in between the user and their commands in any way. That’s what drove my design decisions.

Would you mind elaborating if I misunderstood what you meant?

deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
> I just can’t imagine giving AI any rights to actually run commands without oversight

We’re 100% on the same page here. No one should ask Claude (or any model) to do something using their terminal and then just walk away. I hope that’s clear from the safety section of what I posted (and in the project README).

Claude REALLY wants to help, and it will go on a journey to the end of the earth to accomplish your task. If you delegate tasks to this tool then you’re going to have to babysit it.

deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
I wonder how much of what iTerm knows about the current terminal state is exposed. I got it working "good enough for me" and moved on to other pieces of the puzzle. I'm sure what I did could be improved upon quite a bit. I bet you're right that there's additional juice to squeeze out of whatever iTerm exposes.
deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
> Why would you favor this approach over say, a command line tool that can pipe input into and out of a configurable AI backend, fork subprocesses [...]

I think what you're describing is something that's built to perform agent based tasks. iterm-mcp isn't intended to be that. It's intended to be a bridge from something like Claude Desktop to iTerm. The REPL use case is a key thing to understand here.

What you're describing is great if you want to delegate "install python on my system" for example, but it doesn't support the REPL use case where you want to work with the REPL through something like Claude Desktop.

The other key use case iterm-mcp addresses is asking questions about what's sitting in the terminal right now. For example, you ran `brew install ffmpeg` and something didn't work: you can ask Claude using iterm-mcp.

> This tool seems like it locks you into iTerm2.

This tool is intended for use with iTerm2. It's not that it "locks you into iTerm2" - iterm-mcp is something that you would choose to use if you already use iTerm2.

deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
Hi, thanks for your comment! I haven't explored that approach. Can you say more? Will using the approach that you suggested support interactive CLI utilities like a REPL? Those are use cases that I definitely want to support with this project.
deathmonger5000··on Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2
Hi, thanks for the comment! wcgw looks really cool - nice job with it!

> I wonder if there's really a need for separate write to terminal and read output functions? I was hoping that write command itself would execute and return the output of the command, saving back and forth latency.

I traded back and forth latency for lower token use. I didn't want to return gobs of output from `brew install ffmpeg` when the model really only needs to see the last line of output in order to know what to do next.

> The way I solved it is by setting a special PS1 prompt. So as soon as I get that prompt I know the task is done. I wonder if a similar thing can be done in your mcp?

What you suggested with changing the prompt is a good idea, but it breaks down in certain scenarios - particularly if the user is using a REPL. Part of my goal for this is to not have to modify the shell prompt or introduce visual indicators for the AI because I don't want the user to have to work around the AI. I want the AI to help as requested as if it's sitting at your keyboard. I don't want to introduce any friction or really any unwanted change to the user's workflow at all.

It's important to me that this work with REPL's and other interactive CLI utilities. If that weren't a design concern then I'd definitely explore the approach that you suggested.

deathmonger5000··on Show HN: Draw.Audio – A musical sketchpad using the Web Audio API
Really nice work! Thanks for sharing this. Odd time signatures would be a nice addition. Thanks again!
deathmonger5000··on Show HN: Agent.exe, a cross-platform app to let 3.5 Sonnet control your machine
Can you point out where telemetry or other spying can be found in this codebase?
deathmonger5000··on Ask HN: What are you working on (August 2024)?
I’m working on a tool called Together Gift It. Together Gift It makes managing group gift events like Christmas easier. I’m making it because my family was sending an insane amount of group texts during the holidays, and it was getting ridiculous. My favorite one was when someone included the gift recipient in the group text about what gift we were getting for the recipient.

Together Gift It solves the problem just the way you’d think: with AI.

Just kidding. It solves the problem by keeping everything in one place. No more group texts! You can have private or shared gift lists, and there are some AI features like gift idea collaboration and product search. But the AI stuff is still a work in progress.

I’m grateful for any constructive feedback.

https://www.togethergiftit.com/

deathmonger5000··on Language models on the command line
I created a CLI tool called Promptr which is an open source developer tool that allows the user to modify their codebase using plain language. The tool sends the user’s query as well as the relevant source code to an LLM. The changes from the LLM are applied directly to the user’s filesystem eliminating the need for copy pasting. Promptr is implemented in Javascript, and it incorporates liquidjs templating so users can build a library of reusable prompt templates for common tasks and contexts.

You can find out more here: https://github.com/ferrislucas/promptr

deathmonger5000··on Ask HN: What is the most useless project you have worked on?
I created a tool called Together Gift It because my family was sending an insane amount of gift related group texts during the holidays. My favorite one was when someone included the gift recipient in the group text about what gift we were getting for the person.

Together Gift It solves the problem the way you’d think: with AI. Just kidding. It solves the problem by keeping everything in one place. No more group texts. There are wish lists and everything you’d want around that type of thing. There is also AI.

https://www.togethergiftit.com/

deathmonger5000··on Ask HN: What is the current (Apr. 2024) gold standard of running an LLM locally?
Sorry wrong thread :(
deathmonger5000··on Ask HN: What is the current (Apr. 2024) gold standard of running an LLM locally?
I created a tool called Together Gift It because my family was sending an insane amount of gift related group texts during the holidays. My favorite one was when someone included the gift recipient in the group text about what gift we were getting for the person.

Together Gift It solves the problem the way you’d think: with AI. Just kidding. It solves the problem by keeping everything in one place. No more group texts. There are wish lists and everything you’d want around that type of thing. There is also AI.

https://www.togethergiftit.com/

deathmonger5000··on Ask HN: What are some actual use cases of AI Agents right now?
Here's the fork of Open Interpreter that I was experimenting with: https://github.com/ferrislucas/open-interpreter/pull/1/files

The system prompt that adds the Promptr CLI tool is here: https://github.com/ferrislucas/open-interpreter/pull/1/files...

deathmonger5000··on Ask HN: What are some actual use cases of AI Agents right now?
OI fixed the factories and config by attempting to run the tests. The test run would fail because there's no test suite configured, so OI inspected the Gemfile using `cat`. Then it used Promptr with a prompt like "add the rspec gem to Gemfile". Then OI tries again and again - addressing each error as encountered until the test suite was up and running.

In the case of generating unit tests using Promptr, I have an "include" file that I include from every prompt. The "include" file is specific to the project that I'm using Promptr in. It says something like "This is a rails 7 app that serves as an API for an SPA front end. Use rspec for tests. etc. etc."

Somewhere in that "include" file there is a summary of the main entities of the codebase, so that every request has a general understanding of the main concepts that the codebase is dealing with. In the case of the rspec tests that it generated, I included the relevant files in the prompt by including the path to the files in the prompt I give to Promptr.

For example, if a test is for the Book model then I mention book.rb in the prompt. Perhaps Book uses some services in app/services - if that's relevant for the task then I'll include a glob of files using a command line argument - something like `promptr -p prompt.liquid app/services/book*.rb` where prompt.liquid has my prompt mentioning book.rb

You have to know what to include in the prompts and don't be shy about stuffing it full of files. It works until it doesn't, but I've been surprised at well it works in a lot of cases.

deathmonger5000··on Ask HN: What are some actual use cases of AI Agents right now?
I think I have the prompts still, but not on my work machine. I'll look tonight and edit this comment with whatever I can find.

I actually forked OI and baked in a prompt that was something like "Promptr is a CLI etc. etc., give Promptr conceptual instructions to make codebase and configuration changes". I think I put this in the system message that OI uses on every request to the OpenAI API.

Once I had OI using Promptr then I worked on a prompt for OI that was something like "create a test suite for the rails in ~/rails-app - use rspec, use this or that dependency, etc.".

Thanks for your interest! I'll try to add more details later.

deathmonger5000··on Ask HN: What are some actual use cases of AI Agents right now?
I taught https://github.com/KillianLucas/open-interpreter how to use https://github.com/ferrislucas/promptr

Then I asked it to add a test suite to a rails side project. It created missing factories, corrected a broken test database configuration, and wrote tests for the classes and controllers that I asked it to.

I didn't have to get involved with mundane details. I did have to intervene here and there, but not much. The tests aren't the best in the world, but IMO they're adding value by at least covering the happy path. They're not as good as an experienced person would write.

I did spend a non-trivial amount of time fiddling with the prompts I used to teach OI about Promptr as well as the prompts I used to get it to successfully create the test suite.

The total cost was around $11 using GPT4 turbo.

I think in this case it was a fun experiment. I think in the future, this type of tooling will be ubiquitous.

deathmonger5000··on Ask HN: What apps have you created for your own use?
I made a CLI tool called Promptr that allows you to make changes to a codebase via plain English instructions:

https://github.com/ferrislucas/promptr

There’s a templating system (liquidjs) included which is useful if you have a library of prompts that you want to reference often.

You can think of it as a junior engineer that needs explicit instructions.

Here are a few example PR’s implemented by Promptr - see the commits for the prompt that was used to produce the code:

https://github.com/ferrislucas/promptr/pull/38

https://github.com/ferrislucas/promptr/pull/41

deathmonger5000··on Major outages across ChatGPT and API
I made a CLI tool called Promptr that takes care of this for you if you're interested: https://github.com/ferrislucas/promptr

You just prompt it directly or with a file, and it applies the changes to your file system. There's also a templating system that allows you to reference other files from your prompt file if you want to have a shared prompt file that contains project conventions etc.

deathmonger5000··on ReactAgent: LLM Agent for React Coding
This is exactly the use that Promptr is intended for https://github.com/ferrislucas/promptr

* full disclosure: I’m the author of Promptr

deathmonger5000··on Ask HN: How do you use AI to get things done faster?
I’ve been experimenting with pairing a tool I wrote called Promptr [1] with another tool called Open Interpreter [2].

I start with a prompt that teaches Open Interpreter how to use Promptr, and then I discuss what I’m trying to accomplish. It’s certainly not perfect, but there’s definitely something good that happens when you can iterate using dialog with a robot that can modify your file system and execute commands locally.

[1] Promptr: https://github.com/ferrislucas/promptr

[2] Open Interpreter: https://github.com/KillianLucas/open-interpreter

deathmonger5000··on Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase
This is super cool!
deathmonger5000··on Tips for programmers to stay ahead of generative AI
I wrote a great tool for this: https://github.com/ferrislucas/promptr

It’s great for making changes to existing code because it automatically includes the relevant files for context.

Page 1 of 2Next →