https://github.com/npi-ai/npi Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} npi-ai / npi Public * Notifications * Fork 3 * Star 55 * Tool use APIs platform for AI Agent www.npi.ai License View license 55 stars 3 forks Branches Tags Activity Star Notifications * Code * Issues 6 * Pull requests 1 * Actions * Projects 0 * Wiki * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights npi-ai/npi This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 216 Commits .github/workflows .github/ workflows assets assets cli cli config config docs docs examples examples npi npi proto proto sdk/python sdk/python .dockerignore .dockerignore .gitignore .gitignore Dockerfile Dockerfile LICENSE LICENSE Makefile Makefile README.md README.md poetry.lock poetry.lock pyproject.toml pyproject.toml View all files Repository files navigation * README * License NPI Warning NPi is currently under active development and the APIs are subject to change in the future release. It is recommended to use the command line tool to try it out. NPi is an open-source platform providing Tool-use APIs to empower AI agents with the ability to take action in virtual world! NPi Example: Highly recommended to check this first - See what you can build with NPi. Introducing NPi: Why we build NPi? NPi Documentation: How to use NPi? Join our community on Discord: Let's build NPi together ! Quickstart Installation Command Line Tool Download the binary from the following links. # For darwin/arm64 curl -O https://s.npi.ai/cli/latest/darwin/arm64/npi # For darwin/amd64 curl -O https://s.npi.ai/cli/latest/darwin/amd64/npi # For linux/arm64 curl -O https://s.npi.ai/cli/latest/linux/arm64/npi # For linux/amd64 curl -O https://s.npi.ai/cli/latest/linux/amd64/npi Then move it to /usr/local/bin or any other directory in your PATH: chmod +x npi sudo mv npi /usr/local/bin Verify the installation by running npi version. If you see the output similar to the following, you are all set: { "BuildDate": "2024-04-23_02:23:50-0700", "GitCommit": "934739f", "Platform": "darwin/arm64", "Version": "v0.0.1" } Setting Up NPi Server Tip If Docker is not yet installed on your system, refer to the Docker Installation Guide for setup instructions. Replace YOUR_OAI_KEY with your actual OpenAI API Key, then execute: docker run -d --name npi --pull always \ -p 9140:9140 \ -p 9141:9141 \ -e OPENAI_API_KEY=YOUR_OAI_KEY npiai/npi For macOS users, use this command instead: docker run -d --name npi --pull always \ -p 9140:9140 \ -p 9141:9141 \ -e OPENAI_API_KEY=YOUR_OAI_KEY npiai/npi-mac Confirm server connectivity by running npi connect test. If you receive a NPi Server is operational! message, the setup is successful. Otherwise, consult the logs with docker logs npi and report issues to NPi GitHub Repository. Try the GitHub App Authorize NPi to access your GitHub account Generate a new token via GitHub Tokens Page for NPi, you may need to grant the repo scope so that NPi can access repositories on behalf of you. (Read more about scopes) img.png Then, authorize NPi's access to your GitHub account with the following command: npi auth github --access-token YOUR_GITHUB_ACCESS_TOKEN Support the NPi Repository Easily star and fork the NPi Repository using: npi app github "Star, fork, and leave a supportive message in issue #27 of npi-ai/npi" Clean up 1. Stop and remove the NPi container: docker stop npi docker rm npi 2. Revoke your GitHub access token by revisiting: GitHub Tokens Page . Python SDK NPI Python SDK Multi-app Agent Examples 1. Calendar Negotiator 2. Twitter Crawler More: https://www.npi.ai/docs/examples Roadmap https://www.npi.ai/docs/roadmap License BSL v1.1 About Tool use APIs platform for AI Agent www.npi.ai Topics agent workflow artificial-intelligence openai browser-automation intergration autonomous-agent gpt-4 large-language-models llm prompt-engineering chatgpt autogpt Resources Readme License View license Activity Custom properties Stars 55 stars Watchers 4 watching Forks 3 forks Report repository Releases 1 First Release: NPi v0.0.1 Latest Apr 25, 2024 Packages 0 No packages published Contributors 3 * @idiotWu idiotWu Daofeng Wu * @wenfengwang wenfengwang wells * @unseenmars unseenmars Haoguang Cai Languages * Python 86.2% * Go 8.8% * Starlark 3.7% * Makefile 1.1% * Dockerfile 0.2% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.