New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

agentic-coder-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agentic-coder-cli

Professional-grade agentic coding CLI with intelligent context awareness and autonomous development capabilities

latest
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

Agentic Coder CLI

Professional-grade agentic coding CLI with intelligent context awareness and autonomous development capabilities.

Features

  • Autonomous Code Generation: Generate complete code components based on natural language descriptions
  • Intelligent Context Analysis: Understands your project structure, dependencies, and patterns
  • Code Execution & Testing: Execute commands, run tests, and validate implementations
  • Smart Refactoring: Apply refactoring patterns across your codebase
  • Real-time Assistance: Watch mode for continuous coding assistance
  • Multi-language Support: Works with JavaScript, TypeScript, Python, Ruby, Go, Rust, and more
  • AI-powered Fixes: Automatically fix linting, type, and test issues

Installation

npm install -g agentic-coder-cli

Configuration

Set your OpenAI API key:

export OPENAI_API_KEY=your_api_key_here

Or configure via CLI:

agentic config --set apiKey=your_api_key_here

Usage

Initialize in your project

agentic init

Execute a coding task

agentic code "Create a REST API endpoint for user authentication"

Analyze project structure

agentic analyze

Fix issues automatically

agentic fix --type all

Generate components

agentic generate component --name UserProfile --output src/components/

Watch mode for real-time assistance

agentic watch

Refactor code

agentic refactor "Convert callbacks to async/await" --scope "src/**/*.js"

Commands

  • init - Initialize agentic coder in current directory
  • code <task> - Execute a coding task autonomously
  • analyze [path] - Analyze project structure and context
  • fix [files...] - Automatically fix issues in specified files
  • generate <type> - Generate code components (component|api|test|docs)
  • watch - Watch for changes and provide real-time assistance
  • refactor <pattern> - Refactor code based on pattern
  • test [files...] - Generate and run tests for specified files
  • config - Configure agentic coder settings

Configuration File

Create .agentic.json in your project root:

{
  "model": "gpt-4",
  "temperature": 0.7,
  "maxTokens": 4000,
  "debug": false,
  "autoFix": true,
  "watchPatterns": ["**/*.{js,ts,jsx,tsx}"],
  "ignorePatterns": ["node_modules/**", ".git/**", "dist/**"],
  "customCommands": {
    "lint": "npm run lint",
    "test": "npm test"
  }
}

API Usage

import { AgenticCoder } from 'agentic-coder-cli';

const coder = new AgenticCoder({
  contextPath: '.',
  model: 'gpt-4',
  debug: true
});

// Execute a task
await coder.execute('Create a user authentication service');

// Analyze project
const analysis = await coder.analyzeProject(3);

// Fix issues
await coder.fixIssues(['src/index.js'], 'all');

License

MIT

Keywords

ai

FAQs

Package last updated on 10 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts