npcpy
Basic Information
npcpy is a Python framework and developer toolkit for building and deploying LLM-driven agents, multi-agent teams, and NLP pipelines. The library provides an NPC abstraction for creating persona-driven agents, a Team abstraction for orchestrating multiple NPCs under a coordinator forenpc, and Jinx templates for composing multi-step workflows that mix natural language prompts with executable Python steps. It is designed to handle text, images, and video generation, to integrate external data sources such as CSVs, PDFs and images into agent responses, and to enable tool calling and structured output extraction. The project includes client functions to call LLMs directly, utilities for streaming responses, and optional local/enterprise inference integrations through liteLLM-compatible providers like Ollama, OpenAI, Anthropic, Gemini and others.