NPC-Forge README

README проекта с github.com/gioblu/NPC-Forge. Одним файлом markdown: README.md.

NPC-Forge Discord

NPC-Forge

NPC-Forge is a neuro-symbolic AI agent framework that combines the capabilities of LLMs with the safety, efficiency and predictability of deterministic algorithms to deliver safe and efficient workflows. It runs on the CPU without necessarily relying on machine learning or LLMs.

Why NPC-Forge?

Many problems you encounter can be solved without machine-learning or LLMs. NPC-Forge gives you the tools to solve those problems more efficiently:

NPC-Forge CLI

Administer, install, and run your NPCs with the following terminal commands:

npc-forge list           # Lists the installed NPCs
npc-forge test           # Run NPC-Forge test suite
npc-forge serve          # Starts OpenAi/Copilot compatible API server
npc-forge stop           # Stops server
npc-forge reboot         # Reboots server
npc-forge watch          # Starts server and watch logs in real-time
npc-forge create         # Creates new NPC using the example profile
npc-forge install <path> # Installs a new NPC
npc-forge dataset <npc>  # Dataset package management

Additional information can be found in the NPC-Forge CLI documentation.

TERMy-24k terminal assistant

TERMy-24k is a Turing-complete, neuro-symbolic AI terminal assistant. It includes a deterministic engine used to answer known inputs in less than 50 milliseconds, and uses ollama as a probabilistic engine to answer unknown inputs.

TERMy-24k provides context to both deterministic and probabilistic engines and acts as a harness and a router:

It implements a "neuro helps symbolic" architecture in the "learning‑for‑reasoning" family.

Quick start to redemption

Reclaim control on your workflow in less than sixty seconds:

# Clone the forge from the cloud
git clone https://github.com/gioblu/NPC-Forge.git

# Step into the forge and install it
cd NPC-Forge && chmod +x setup.sh && ./setup.sh

# Install TERMy
npc-forge install npcs/termy

# Chat with TERMy
termy how are you

Consider that this experimental release of npc-forge works only on Linux and WSL.

[!WARNING] This is the second experimental release of NPC-Forge distributed "AS IS" without any warranty, use it at your own risk.

Documentation

Datasets

Contributing to the forge

I am developing NPC-Forge with the conviction that democratic and sustainable use of Artificial Intelligence can be achieved with neuro-symbolic designs driven by curated and tested datasets crafted by the community; if you can, help me out.

Or are you just going to sit there waiting for the water to reach the boiling point?

The following list contains the contributors; with their support, expertise, kindness and talent NPC-Forge and TERMy are getting better by the day: Fred Larsen, Kevin Mathis, Cristiano Pizzarelli, David Starkweather, SyN-droMe, AnonymousMonkeyNo12, Tony Cardillo

License

Licensed under the AGPL-3.0, feel free to contact me directly for commercial licensing options. Let's see if your corporate checkbook can purchase an exemption.

NPC-Forge (gioblu/NPC-Forge)

Ищем в базе…

Что это такое?NPC-Forge — это опенсорсный нейросимвольный фреймворк для создания диалоговых агентов с выраженным характером, поддержкой многоходового контекста, анализа тональности и вызова инструментов. Его агенты работают на процессоре без машинного обучения и LLM.
Это фреймворк, на котором я буду что-то строить, или готовый ассистент, который можно просто запустить?Это фреймворк: вы создаёте NPC и управляете ими через NPC-Forge CLI, описывая их датасеты в формате NDF 0.0. В комплекте также есть готовый ассистент TERMy, встроенный прямо в фреймворк.
Как быстрее всего его попробовать?Установите его на Linux или WSL и следуйте инструкциям быстрого старта — по словам авторов из README, это займёт меньше минуты. Всё управление идёт через терминальные команды NPC-Forge CLI. Затем просто наберите 'termy' и свой запрос.
Он работает на macOS или Windows?Нативно нет: текущий экспериментальный релиз работает только на Linux и WSL и распространяется как есть, без каких-либо гарантий. А поскольку агенты детерминированы, они не могут галлюцинировать — но и умеют ровно то, что покрыто их датасетом.
Можно ли бесплатно использовать его в коммерческих целях?Проект распространяется по лицензии AGPL-3.0, поэтому для опенсорсных проектов он бесплатен; для коммерческого лицензирования автор просит связаться с ним напрямую.
Почему автор сделал детерминированных агентов вместо того, чтобы использовать LLM?Он считает, что многие задачи эффективнее решаются без машинного обучения, и что устойчивое и доступное применение ИИ достигается за счёт детерминированных решений, основанных на курируемых датасетах, проверенных сообществом, а не на надежде, что модель поведёт себя как надо.
Чем это отличается от NLP.js?Согласно README, NPC-Forge гораздо лучше справляется с опечатками, грубыми выражениями, междометиями и перестановкой слов, чем NLP.js, и при этом отвечает за миллисекунды прямо на процессоре.
Насколько проект зрелый?Проект пока на ранней стадии: текущий релиз прямо помечен как экспериментальный и поставляется без гарантий, но уже есть документация по CLI, API, FlintParser, FlintNPC, спецификациям NDF и TCS, а также список активных контрибьюторов.
Какие есть похожие проекты?rasa, OpenIntelligentUI, turnstone, CopilotKit, aichat, tambo, agentscope, Baize
Автор
gioblu
Размер
56.7 MB
Звёзды
275
Возраст
4 мес
Коммиты · 90 дней