Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@avcodes/mi

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avcodes/mi

agentic coding in 30 loc. a loop, three tools, and an llm.

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
651
-65.39%
Maintainers
1
Weekly downloads
 
Created
Source

Splash image

agentic coding in 30 loc. a loop, three tools, and an llm.

features

  • bash, read and write tools
  • chat REPL by default
  • non-interactive mode with -p 'prompt' arg

install

# run directly
npx @avcodes/mi

# or install globally
npm i -g @avcodes/mi
mi

usage

# interactive repl
OPENAI_API_KEY=sk-... mi

# one-shot (run once, exit)
mi -p 'refactor auth.js to use bcrypt'

# local models via any openai-compatible api
MODEL=qwen3.5:4b OPENAI_BASE_URL=http://localhost:33821 mi

env

vardefaultwhat
OPENAI_API_KEYapi key
OPENAI_BASE_URLhttps://api.openai.comapi base url (ollama, lmstudio, litellm, etc)
MODELgpt-5.4model name
SYSTEM_PROMPTbuilt-in agent promptoverride the system prompt entirely

Keywords

ai

FAQs

Package last updated on 13 Apr 2026

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