npi
Basic Information
NPi is an open-source platform that provides tool-use APIs to enable AI agents to operate and interact with software tools and applications. The repository supplies a Python library and examples for defining programmatic tools that can be exposed to language models, letting models request actions in a structured function-calling format. It demonstrates how to create tools as Python classes with annotated functions, automatically generate tool schemas, and integrate with LLM chat completions so agents can select and invoke tools. The project includes a command-line workflow recommendation, documentation, example projects, and an online playground for trying NPi. The codebase is under active development, distributed under the Apache 2.0 license, and is intended for developers building agent tool integrations rather than end-user chat interfaces.