Live data from Hacker News

Claude Code SDK

docs.anthropic.com

81–90 of 201 posts

Re: Claude Code SDK

#81
post #7

Earlier quoted context omitted.

Maybe I'm holding it wrong, but I can easily spend $20+ using Claude Code for 2 hours. I've stopped using it because it was too expensive for my personal projects.

I briefly commented on how I approach cost control before, if useful. https://news.ycombinator.com/item?id=43737060

But that doesn't really explain things. You're making an active effort to reduce your costs. Anthropic engineers get unlimited API usage for free.

I was listening to this podcast yesterday and I also did a double take when I heard the $6 per day number.

Re: Claude Code SDK

#82
Claude Code could already be used in non-interactive mode, and by extension it could be integrated into other apps in the same manner as any other UNIX command line utility.

This SDK currently supports only command line usage. Isn't that just what we already had?

I don't understand what's actually new here. What am I missing?

Re: Claude Code SDK

#83
post #15

Earlier quoted context omitted.

> The "golden" end state of coding agents is that you give it a Feature Request (EG Jira ticket), and it gives you a PR to review and give feedback on. I see your point but in the other hand how depressing to be left only with the most soul crushing part of software entering - the Jira ticket.

I personally find figuring out what the product should be is the fun part. There still a need for architecting a plan, but the actual act of writing code isn't what gives me personal joy, it's the building of something new. I understand the craft of code itself is what some people love though!

Thing is, LLMs are already better than people at the "architecting a plan" and "figuring out what the product should be" in details that go beyond high-level vibes. They do that even better than raw coding.

In fact, that's the main reason I like developing quick prototypes and small projects with LLMs. I use them less to write code for me, and more to cut through the bullshit "research" phase of figuring out what code to write, which libraries to pick, what steps and auxiliary work I'm missing in my concept, etc.

Re: Claude Code SDK

#84
Claude Code is my favorite way to use LLMs for coding.

However I feel what we really need is to have an open source version of it where you can pass any model and also you can compare different models answers.

(Aider and other alternatives really doesn't feel as good to use as Claude Code)

I know this is not what anthropic would want to do as it removes their moat, but as a consumer I just want the best model and not be tied to an ecosystem. (Which I imagine is the largest fear of LLM model providers)

Re: Claude Code SDK

#85
post #8

The way Claude Code is going is exactly what I want out of a agentic coding tool with this "unix toolish" philosophy. I've been using Claude code since the initial public preview release, and have seen the direction over time. The "golden" end state of coding agents is that you give it a Feature Request (EG Jira ticket), and it gives you a PR to review and give feedback on. Cursor, windsurf, etc, are dead ends in tha…

(please pardon the self-promotion) This is exactly what my product https://cheepcode.com does (connects to your Linear/Jira/etc and submits PRs to GitHub) - I agree that’s the golden state, and that’s why I’m rushing to get out of private beta as fast as I can* :) It’s a bootstrapped operation right now which limits my speed a bit but this is the vision I’ve been working towards for the past few months.

*I have a few more safety/scalability changes to make but expecting public launch in a few weeks!

Re: Claude Code SDK

#86

Aider has had support for Python and shell scripting [0] for a long time. I made a screencast [1] recently that included ad-hoc bash scripting aider as part of the effort to add support for 130 new programming languages. It may give a flavor for how powerful this approach can be. [0] https://aider.chat/docs/scripting.html [1] https://aider.chat/docs/recordings/tree-sitter-language-pack...

Freaking love Aider. MCPs are supported soon as well. Testing a development branch. Then you can actually develop end to end using PR, tickets etc using models you trust.

Re: Claude Code SDK

#87

Claude has been left in the dust by Gemini with its million token session and ability to upload a zip file of my entire code base.

and then get the honor of copy and pasting all of the changes afterward?

I'm using this https://github.com/coffeegrind123/gemini-code to use Claude Code with Gemini and it's working perfectly

Re: Claude Code SDK

#88
post #3

more context from the claude code team: http://latent.space/p/claude-code you can skim the transcript but some personal highlights: - anthropic employees, with unlimited claude, average to $6/day of usage - headless claude code as a "linux" utility that you use everywhere in CI is pretty compelling - claude code as a user extensible platform - future roadmap of claude code: sandboxing, branching, planning - sonnet 3.…

I’ve really enjoyed the recent latent space podcasts. I don’t think there is any person†/podcast (or perhaps other content) approaching your general output while maintaining the high SNR. I am continually amazed at the volume and value of public work you’re producing over the last (half?) decade while still growing various businesses. I hope others can find similar productivity gradients. I know you roughly share wha…

thanks man, this was nice to read :) idk if it helps but my principles (tm) are here http://learninpublic.org/

i do feel like SNR * quantity could be higher, but its still a challenge to even keep it where it is today. my work life balance/stress levels aren't the best and everyone expects everything from me.

Re: Claude Code SDK

#89

Earlier quoted context omitted.

Is this a me thing, or a millenial thing? I hate using voice for anything. I hate getting voice messages, I hate creating them. I get cold sweats just thinking about having to direct 10 AI Agents via voice. Just give me a keyboard and a bunch of screens, thanks.

Voicemail universally sucks. However, when you're having a synchronous conversation with actual people, do you prefer to do everything via IM, or would you prefer a phone call?

I almost never prefer a phone call, I'd rather go all the way to video/in-person or stick with text. I also prefer to push anything important that isn't extremely small out of instant messaging and to email.

Brainstorming/whiteboarding, 1:1s or performance feedback, team socialization, working through something very difficult (e.g. pair debugging): in-person or video

Incidents, asking for quick help/pointers, small quick questions, social groups, intra-team updates: IM

Bigger design documents and their feedback, trickier questions or debugging that isn't urgent, sharing cool/interesting things, inter-team updates: Email

Re: Claude Code SDK

#90
post #24

Hasn't this been invented already in multiple shapes and forms..? I wrote my own version clai[1] over a year ago which does exactly this, only that it has tools support + is multi vendor. [1]: https://github.com/baalimago/clai

Looks quite similar to my https://llm.datasette.io tool as well. Honestly though, CLI tools for accessing LLMs (including piping content in and out of them) is such a clearly good idea I'm glad to see more tools implementing the pattern.

It's very surprising that it has taken this long to see a first-party CLI like this.
Post reply on HN