Npcpy icon

Npcpy

Createdcagostino

Provides an agent-based framework with command-line tools for integrating AI models into daily workflows.

About

Npcpy is a Python library and set of command-line tools designed to integrate AI models, agents, and agent systems into your workflow. It offers a variety of interfaces including an extensible Python library for getting LLM responses, a bash-replacement shell (npcsh) for processing bash or natural language, a replacement shell for interpreters like Python, R, Node, and Julia (guac) with a pomodoro-like approach to interactive coding, and more. Npcpy facilitates the development of NLP and agent-based applications, enabling developers and researchers to explore and test different models, providers, and personas.

Key Features

  • Extensible Python library for LLM interactions
  • Bash-replacement shell (npcsh) for natural language and bash commands
  • Interpreter shell (guac) with a pomodoro-like approach
  • Integration with local and enterprise LLM providers (Ollama, LMStudio, OpenAI, Anthropic, Gemini, Deepseek)
  • Agent data layer for setting up and serving agent teams
  • 582 GitHub stars

Use Cases

  • Developing NLP-based applications
  • Creating and testing agent-based systems
  • Automating tasks with natural language commands
Craft Better Prompts with AnyPrompt