helpers icon indicating copy to clipboard operation
helpers copied to clipboard

Experiment with Claude Code

Open gpsaggese opened this issue 5 months ago • 30 comments

We have done a quick demonstration of how to use Claude Code

https://app.fireflies.ai/view/Rename-ImClient-12628-PP::01JZJJZD1YB3JYMDSR6ZY5P2B3?ref=recap&track=01JZJJZD1YB3JYMDSR6ZY5P2B3&sg=nb&utm_content=view_recap_cta

The next steps for the AI task force is to:

  • [x] @gpsaggese create a Claude account for the team
  • [ ] read https://www.anthropic.com/engineering/claude-code-best-practices
  • [ ] team start contributing suggestions in this bug and then in a document
    • Explain what we wanted to do, how did it, and what were the problems and the solutions
    • E.g., what's an example prompt to look for code in the repo? (e.g., to avoid to reimplement the same function)
    • E.g., how to search the documentation?
    • E.g., how to get Claude to use our Docker container properly?
    • ...
  • [ ] Use Claude in parallel to our usual flow (hopefully with Cursor!) for a drag race human vs machine (we want to find ways for the machine to win)

gpsaggese avatar Jul 07 '25 23:07 gpsaggese

Account created. Pls let me know if you didn't get a notification

gpsaggese avatar Jul 08 '25 01:07 gpsaggese

0.02$ from me: what would really help is to provide an LLM (say Claude) access to our codebase. this will speed up the development. as far as I know, people (myself included) still use LLMs, but we cannot just feed the company's code with a lot of confidential info to an LLM using our personal accounts.

PomazkinG avatar Jul 09 '25 20:07 PomazkinG

Claude code runs locally and has access to the codebase, but since we have enterprise license, our code is protected and not used for training (we have already opt-ed out). Same thing for a license of Cursor.

Long story short, the company can pay for privacy and avoid the problems you have when you use your personal accounts, so that we can use LLMs everywhere and without worries.

We are starting to

  • roll it out to a subset of people
  • doing a survey to help people get on-boarded
  • preparing tutorials on how to use LLMs in effective ways

@PomazkinG WDYT it's the next step for you and your team?

gpsaggese avatar Jul 10 '25 16:07 gpsaggese

@gpsaggese sounds cool. then I would love to read a tutorial and share it with the team so that we start using the new tools.

PomazkinG avatar Jul 10 '25 17:07 PomazkinG

For the first option, it looks like Claude Code sign-up via the Claude Pro subscription is temporarily paused. Not sure if we also have shared company workspace for option 2 as well (https://console.anthropic.com/dashboard) @gpsaggese

Note: I tried with a personal workspace for option 2 and it works.

# Run /logout to log out of the existing account
> claude
Claude Code can now be used with your Claude subscription or billed based on API usage through your Console account.

 Select login method:

 ❯ 1. Claude account with subscription
    Starting at $20/mo for Pro, $100/mo for Max - Best value, predictable pricing

   2. Anthropic Console account
    API usage billing
Image

heanhsok avatar Jul 11 '25 03:07 heanhsok

  1. @PomazkinG let me know how to get going

I'm taking some notes in //tutorials/programming_with_ai and https://docs.google.com/document/d/1oxhb5hGfRAI89HIWRaUeqZxOf8tAHTcEq5f7oBvjJp4/edit?tab=t.0#heading=h.3wdnj8vgpxls

  1. @heanhsok not sure I follow. I signed up for 5 licenses for Claude Code. Is it a temporary issue or should I get something different?

gpsaggese avatar Jul 14 '25 00:07 gpsaggese

  1. @heanhsok not sure I follow. I signed up for 5 licenses for Claude Code. Is it a temporary issue or should I get something different?

It looks like it is for Claude Pro suscription (which is the subscription to the regular Claude chat interface). Normally we can sign up for access to Claude Code (the CLI tool) with that (throught option 1 above). However, it's temporarily paused. Therefore, only the pay per usage API option (option 2) is available.

When we first launch Claude Code, it will ask us to choose between the two options https://github.com/causify-ai/helpers/issues/917#issuecomment-3060253752

heanhsok avatar Jul 14 '25 14:07 heanhsok

From https://www.anthropic.com/claude-code,

  • I believe we have pro for 5 users ($20 / mo / person)
  • we can do Max5 for each person ($100 / mo / person)
  • we can do API

I've added @heanhsok @tkpratardan @Shaunak01 to the API, ok?

gpsaggese avatar Jul 15 '25 01:07 gpsaggese

@gpsaggese I got the API invite but unable to use it yet. could you please help with?

  1. Add claude_code_user role to our user. I got the following errors

Account role 'user' does not meet requirements for scope 'org:create_api_key'. One of these roles is required: admin, claude_code_user, developer, owner

  1. For the regular Claude interface, is it possible to enable "search tool" so that "deep research" mode is enable as well?
Image

heanhsok avatar Jul 15 '25 14:07 heanhsok

Thanks GP for the help with the 2 points above.

@Shaunak01 @tkpratardan Feel free to try them out on your end. We should have the necessary setup/permission to get started now.

heanhsok avatar Jul 17 '25 15:07 heanhsok

FYI if anyone is interested, there's a short video course that provides comprehensive training on using Claude Code for software development tasks as well

https://anthropic.skilljar.com/claude-code-in-action/

heanhsok avatar Jul 17 '25 21:07 heanhsok

@gpsaggese is it possible to add a trusted person (aka @mongolianjesus) to the Claude Code API?

We would like to set up Claude Code (VSCode extension to begin with) and experiment with it. The 2 tasks for Claude that I have in mind are:

  • here is a function, write a unit test
  • here is a Python lib, write a doc explaining what is going on in the lib

In my view, having an LLM inside an IDE (not in a separate browser window) with access to the codebase is already a great improvement.

PomazkinG avatar Jul 31 '25 14:07 PomazkinG

@gpsaggese or generally speaking can we use our personal accounts to connect to the codebase? e.g., using https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code

PomazkinG avatar Aug 01 '25 12:08 PomazkinG

Go for it!

My take is:

  1. always use our API / accounts so that you don't pay and we have the privacy thing
  2. personally so far I prefer Cursor to VSCode (exactly the same UI but the super-autocomplete) and I use Claude with it.
    • I have not used the Claude Code integration, but I will
    • I am using Claude Code a lot too

In any case, anybody should use it. We have a large budget for accelerating the development and AI-ficy the team

gpsaggese avatar Aug 01 '25 13:08 gpsaggese

always use our API / accounts so that you don't pay and we have the privacy thing

SG

Go for it!

@gpsaggese then how do we get at least one account / API key for the team? I would like to ask for 1 account / API key for the team. @mongolianjesus will explore and later we on-board the entire team.

PomazkinG avatar Aug 01 '25 13:08 PomazkinG

You can ask @heanhsok. He is the admin of our Anthropic account.

We will give an API key per person (not team) so we can track the usage

  • We will set budgets later, but for now I'd start using and then figure it out.

We can work on "on-boarding" and best practices to get most value. I've been experimenting a lot. Some findings are

  1. https://docs.google.com/document/d/1UO7jOPI0M0SCE_ySQNc6YMqQJxBYiqFhH1IIMUTZgzk/edit?tab=t.3em6445qnjcc#heading=h.mek8mv44x5iw
  2. https://github.com/causify-ai/tutorials/tree/master/book.programming_with_ai

gpsaggese avatar Aug 01 '25 13:08 gpsaggese

SG. @mongolianjesus could you please talk to @heanhsok to get an API key? Once you have one, please feel free to set things up.

Options:

  1. If using VSCode -- install and use https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code
  2. Or feel free to also install Cursor and use it together with Claude code

In my view, we should try Cursor too, but I am fine with taking baby steps (i.e., installing the VSCode Claude Code extension first)

PomazkinG avatar Aug 01 '25 13:08 PomazkinG

also, @heanhsok I don't know the limitations but if that would be possible to issue an API key for me too, that would be great. lmk

PomazkinG avatar Aug 01 '25 13:08 PomazkinG

Sent an invite to your email @PomazkinG @mongolianjesus. You should be able to create an API key for Claude code that is linked to your account. Pls let me know if you can access and use Claude Code with it

heanhsok avatar Aug 01 '25 13:08 heanhsok

@heanhsok could you help with that?

Image

PomazkinG avatar Aug 01 '25 14:08 PomazkinG

IIUC, there are two types of permission we can give for devs

  1. “Claude Code” role can only create API keys intended for use with the Claude Code toolchain
  2. “Developer” role can create any kind of API key

The permission granted was for (1). When you start a Claude Code instance (either via the CLI or the VS Code extension), it prompts you to log in to your account and automatically provisions the required API key.

Could you pls try that? @PomazkinG

heanhsok avatar Aug 01 '25 14:08 heanhsok

@heanhsok a few questions:

  • if I want to work on a remote machine (i.e., our dev server). Do I understand correctly that I should install the VS Code extension on the remote machine?
  • when I am trying to log-in I have 2 options. Should I choose the 2nd one?
   1. Claude account with subscription
    Starting at $20/mo for Pro, $100/mo for Max - Best value, predictable pricing

   2. Anthropic Console account
    API usage billing

PomazkinG avatar Aug 01 '25 16:08 PomazkinG

@heanhsok @PomazkinG I have accepted the invitation and logged into the console. I currently have the same questions as outlined by @PomazkinG .

mongolianjesus avatar Aug 01 '25 16:08 mongolianjesus

if I want to work on a remote machine (i.e., our dev server). Do I understand correctly that I should install the VS Code extension on the remote machine?

  • We have been working on our local machines because our dev servers don't have the utility installed yet
  • We need to have the utilities installed before we can use them from our dev server. Do you think we can use Docker for that? @PomazkinG @gpsaggese
  • Otherwise, we might have to install them (e.g., Node and Claude Code CLI) directly on the server. However, those tools might need to be vetted for security vulnerabilities first. FYI @Shayawnn

when I am trying to log-in I have 2 options. Should I choose the 2nd one?

Yes option 2

heanhsok avatar Aug 01 '25 17:08 heanhsok

  • We have been working on our local machines because our dev servers don't have the utility installed yet
  • We need to have the utilities installed before we can use them from our dev server. Do you think we can use Docker for that? @PomazkinG @gpsaggese
  • Otherwise, we might have to install them (e.g., Node and Claude Code CLI) directly on the server. However, those tools might need to be vetted for security vulnerabilities first. FYI @Shayawnn

To get started right away, I'm thinking you can also begin with AI coding tools first

For brief context,

  • AI Coding = AI acting as an intelligent autocomplete and coding assistant, helping developers write, refactor, debug, plan, and understand code

    • Tools: GitHub Copilot or Cursor (these tools also us to switch between different LLMs)
    • These tools assist you, but don’t make independent decisions or run tasks autonomously
  • Agentic Coding = AI acting as an autonomous coding agent, capable of planning, executing tasks, running commands, testing, debugging, and iterating on solutions with less supervision

    • Tools: Claude Code, Google Gemini CLI, ChatGPT Codex, Cursor (Agent Mode)
    • These tools combine LLM reasoning with agent capabilities to take more initiative beyond suggestions
  • If we start with AI coding, we just need to install the extension/app from our local without requiring installation any our servers.

  • Agentic coding, on the other hand, requires additional installation and access to the CLI.

    • Therefore, we'll need to do some planning/evaluation on how we want to run them on servers and integrate them into our official workflows.
    • However, as an experiment, we can run them on our local machine

WDTY? @gpsaggese @PomazkinG @mongolianjesus

heanhsok avatar Aug 01 '25 18:08 heanhsok

@heanhsok SG

So currently I am not installing anything on our dev servers, but I have installed Claude Code locally. It cannot see our codebase, but I still can interact with it. Slightly better than using a separate browser window and hitting API limits.

While waiting for the installation on our servers, we can experiment with Cursor.

PomazkinG avatar Aug 01 '25 19:08 PomazkinG

but since we have enterprise license, our code is protected and not used for training (we have already opt-ed out). Same thing for a license of Cursor.

@gpsaggese Currently I am migrating to Cursor to document some of the ways the team (and myself) could use AI coding assistance. In the above quote you mention an enterprise license for Cursor, do we have one, and if we do, is it possible to connect?

mongolianjesus avatar Aug 07 '25 15:08 mongolianjesus

Overall, my favorite setup is Cursor (for IDE changes) + Claude Code (for backend of IDE and self-standing agent).

This is my set-up with Cursor.

  • get licenses for Cursor (the smallest one to use the UI)
  • use the Claude one inside Cursor (so we don't pay the markup from Cursor)

@heanhsok can you pls double check how to create enterprise licenses for this? Then we can enter the credit card and assign licenses.

Glad to see people excited about this. IMO it is mind blowing and gets a 5x speed up (if used correctly!)

gpsaggese avatar Aug 16 '25 23:08 gpsaggese

  • Cursor (team plan) (40$/user/month or 32$/user/month for yearly plan)
    • It allows us to enforce privacy mode org-wide
  • We can add our own API keys (from Claude) if we hit the limit provided by the plan and need extra chats and agents features

Ref:

  • Pricing: https://cursor.com/pricing
  • How to set it up: https://docs.cursor.com/en/account/teams/setup

FYI @gpsaggese

heanhsok avatar Aug 18 '25 14:08 heanhsok

@PomazkinG @mongolianjesus Just sent you invites for accounts in the Cursor team plan. Let us know if you can use them. Feel free to DM me if you have any access issues.

heanhsok avatar Aug 18 '25 19:08 heanhsok