Skip to content

Instantly share code, notes, and snippets.

View R11manish's full-sized avatar

Manish Rawat R11manish

View GitHub Profile
{
"keys": [
{
"kty": "RSA",
"kid": "iBOWs17zjgC5SN_bpEDubBrbOxPNafodrJEWmtyynk4",
"use": "sig",
"alg": "RS256",
"e": "AQAB",
"n": "5kN1yKdo4lEiC-qxsrFX1ELJH985dLn5NntKABcQaMfsHBsiyyjTiK_h_nsbU6SWTHro7j3-n47v5-YeBezbqqEHmo81MYYJ3_Xt3PEEI_fxaye2Us632jTtDfGsvvHQBPWstPLpUuA8WM8KWiTlKahSIA88_Gv7zjBJSp_5VPNtOcq-ZgSsu5H2QCYp9oZmx6DRrxlwhHO7ANsE_Ij4b4yLPlJADd5bdwKpoP6fC67DMibNSVw_oWEwqzgKaSWmspo34qJcwUuioYVKSW92F4dLycXNSF_9pAJw8RTIg6cXof4y5KvOH_tSoAgSN0c2LhFpMsEu4dnqPmipwIkcYQ"
}
@R11manish
R11manish / coding-agent.py
Created March 19, 2025 06:04 — forked from Madhav-MKNC/coding-agent.py
All the code you need to create a powerful agent that can create and edit any file on your computer using the new text_editor tool in the Anthropic API.
import anthropic
import os
import sys
from termcolor import colored
from dotenv import load_dotenv
class ClaudeAgent:
def __init__(self, api_key=None, model="claude-3-7-sonnet-20250219", max_tokens=4000):
"""Initialize the Claude agent with API key and model."""
@R11manish
R11manish / coding-agent.py
Created March 19, 2025 06:04 — forked from Madhav-MKNC/coding-agent.py
All the code you need to create a powerful agent that can create and edit any file on your computer using the new text_editor tool in the Anthropic API.
import anthropic
import os
import sys
from termcolor import colored
from dotenv import load_dotenv
class ClaudeAgent:
def __init__(self, api_key=None, model="claude-3-7-sonnet-20250219", max_tokens=4000):
"""Initialize the Claude agent with API key and model."""