Metadata-Version: 2.4
Name: nextop
Version: 0.4.0
Summary: Nextop Agentic Workers: build teams of AI workers as blocks, connect them with lines, and run them
Author: Sangho KIM (NexTopologix)
Author-email: ksh4642@nextopologix.com
License: PolyForm-Small-Business-1.0.0
Project-URL: Homepage, https://nextop.nextopologix.com
Keywords: agents,multi-agent,llm,workflow,orchestration
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: Other/Proprietary License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.md
Provides-Extra: images
Requires-Dist: Pillow>=10; extra == "images"
Provides-Extra: pdf
Requires-Dist: pypdfium2>=4; extra == "pdf"
Requires-Dist: pdfplumber>=0.11; extra == "pdf"
Provides-Extra: mcp
Requires-Dist: mcp<3,>=2.2; extra == "mcp"
Provides-Extra: claude
Requires-Dist: anthropic<2,>=0.111; extra == "claude"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-python
Dynamic: summary

# Nextop Agentic Workers

Build a team of AI workers as blocks, connect them with lines, and run the team.

Each worker is an LLM with an identity, a persona, a mission, tools and output terminals. A flow connects the
workers: reports go along report lines, and files go along share lines through file servers. Python function
blocks do the work that needs no LLM, split and gather blocks run a section in parallel copies, and switch and
dispatch blocks choose which paths run (a switch can loop back). A worker can work in steps that fill one result
report, with a checker that refuses an output until it is right and an optional LLM checker. A worker can also answer open
questions in a chat: its steps are picked per question by a conversation navigator you write, and its replies can be
checked before they are sent (reply checkers). A worker's tools and navigator read and write file servers with exactly
the worker's rights. A run can stop for human review and be resumed.
Every prompt, tool call and output is recorded, and a local studio lets you draw flows and look inside each
block of a run.

## Install

```
pip install nextop
```

Python 3.10 or newer. The command is `nextop`.

## Quick start

```
nextop new my_team --example     # a project folder with one example worker and flow
cd my_team                        # copy .env.example to .env and set your key
nextop studio                     # draw workers and flows on a local screen
nextop check                      # the flow check
nextop run --input input.json     # run the flow
```

Put API keys in the project's `.env`, never in code. `project.json` names the variable to read.

## What is in a project

```
project.json        name, language, defaults, LLM and embedding adapters
workers/<id>/       worker.json, persona.md, mission.md, steps/<id>.md, checks.py (assigned tasks),
                    navigator.py and reply_check.py (open questions)
functions/<name>.py function blocks (no LLM): start, end, split functions
tools/<name>.py     tools workers can call
flows/<name>.json   blocks, report lines and share lines
file_servers/<name>/file_server.json   file servers and share lines
file_servers/<name>/types/<type>/type.json   a file server's data types (type folders)
runs/               run records, written by nextop
```

`nextop new` also writes guides (AGENTS.md and a README per folder) for AI coding assistants.

## License

PolyForm Small Business License 1.0.0 (see LICENSE.md).

- Free to use, including at work, for companies with fewer than 100 people (employees and contractors) and less
  than USD 1,000,000 revenue (2019 dollars, adjusted for inflation) in the prior tax year.
- Larger companies need a commercial license.
- Commercial licenses, custom builds and finished teams: ksh4642@nextopologix.com

Getting started, a custom setup, maintenance, new features or training — we're glad to help: ksh4642@nextopologix.com

Copyright NexTopologix (Sangho KIM). https://nextop.nextopologix.com
