AI product Open source
npcpy is a Python library for research and development with multimodal language models, agentic AI, and knowledge graphs. It provides primitives for defining personas, making direct language-model calls, creating tool-using agents and multi-agent teams, and building AI applications with local providers such as Ollama, llama.cpp, omlx, and LM Studio as well as cloud providers. Its NPC Context-Agent-Tool data layer is designed to enforce context and tool-use rules through software rather than prompts. The Agent class includes tools such as shell execution, Python, file editing, and web search, while ToolAgent supports custom tools; the examples include image generation, Hugging Face image-dataset retrieval, and diffusion-model fine-tuning. The library is distributed through PyPI.
1 use taken from transcripts — each links to the moment in the video.
A Python library providing building blocks for multimodal AI agents, language models, and knowledge graphs. Developers define tool-using personas, compose multi-agent teams, create prompt pipelines, generate media, evolve knowledge graphs, and use local or cloud model providers.
1 in the library.