Command-line tool for LLMs to quickly search and understand OpenAPI endpoints
Project description
LLM API Scope (apiscope)
A command-line tool designed for Large Language Models (LLMs) and developers to index, search, and query structured API documentation (e.g., OpenAPI specifications). It assists LLMs in obtaining API information quickly and accurately within automated workflows.
Installation
apiscope is a command-line tool, not a Python library. For isolated installation without affecting your system Python, we recommend using pipx:
# don't use pip
pipx install llm-api-scope
Command Usage
apiscope init
Initialize the project by creating a configuration file (apiscope.ini) and cache directory (.apiscope/cache/). It automatically adds .apiscope/ to your project's .gitignore.
apiscope list
List all configured API specifications by displaying the <name> = <source> pairs from the configuration file.
apiscope search <name> <keywords> [--force]
Search within a specific API specification (<name>) for endpoints matching the given keywords. Returns the total count and displays up to 10 matching <path>:<method> identifiers.
apiscope describe <name> <path:method> [--force]
Generate and output a concise Markdown guide for using the specified endpoint (<path:method>) from the API specification (<name>). The guide includes essential calling information such as parameters, request body, and response structure.
apiscope note
Manage reflective notes for agent reasoning and knowledge capture. This command provides a structured notebook system with six cognitive note types: Observation (OBS), Reasoning (REA), Action (ACT), Reflection (REF), Question (QUE), and Inspiration (INS).
Available subcommands:
auth: Establish and manage agent identity authentication through three philosophical dimensions (Name, Role, Story). Required before creating notes to ensure the agent has a defined sense of self.write: Create a new note with specified author and type (uses two-phase write mechanism)read: Display notes for a specific author with pagination and size limitsadd: Append annotations (REFERENCE, NOTE, or TIP) to existing notesstats: Analyze note-taking patterns, temporal concentration, and thinking segmentsreadme: Display comprehensive documentation about the note system
Notes are stored in .apiscope/notes/ with automatic organization by author and timestamp. The system supports pattern recognition for classical thinking sequences like Empirical Induction, Hypothetico-Deductive reasoning, and Experimental Science. For complete documentation, run apiscope note readme.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_api_scope-0.3.1.tar.gz.
File metadata
- Download URL: llm_api_scope-0.3.1.tar.gz
- Upload date:
- Size: 32.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ea7cc7e0ea5b472d2cee6ba7bf9af1c722bf514edd8ac83e878095e0f348ba9
|
|
| MD5 |
d864341fd37ec6e0c2166fa8de9649ce
|
|
| BLAKE2b-256 |
a5374a68452870cd1bb46b225afbce01d97c9d36b790cfc1c7b74657d92bb569
|
Provenance
The following attestation bundles were made for llm_api_scope-0.3.1.tar.gz:
Publisher:
publish.yml on D7x7z49/llm-api-scope
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_api_scope-0.3.1.tar.gz -
Subject digest:
8ea7cc7e0ea5b472d2cee6ba7bf9af1c722bf514edd8ac83e878095e0f348ba9 - Sigstore transparency entry: 1006411690
- Sigstore integration time:
-
Permalink:
D7x7z49/llm-api-scope@3ad27b735943474e8014005bc4e0fc6bd8320a24 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/D7x7z49
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3ad27b735943474e8014005bc4e0fc6bd8320a24 -
Trigger Event:
push
-
Statement type:
File details
Details for the file llm_api_scope-0.3.1-py3-none-any.whl.
File metadata
- Download URL: llm_api_scope-0.3.1-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c622b38fb0cf5336b3d5563361150e0bea05acd23e6d42e1b741c031ced7bc80
|
|
| MD5 |
255233d7f3a13086aaa0ab3371d7a3b7
|
|
| BLAKE2b-256 |
dd5a336d82aff556b72956567df9997930bbe668d0a92a6da693203795e1586f
|
Provenance
The following attestation bundles were made for llm_api_scope-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on D7x7z49/llm-api-scope
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_api_scope-0.3.1-py3-none-any.whl -
Subject digest:
c622b38fb0cf5336b3d5563361150e0bea05acd23e6d42e1b741c031ced7bc80 - Sigstore transparency entry: 1006411692
- Sigstore integration time:
-
Permalink:
D7x7z49/llm-api-scope@3ad27b735943474e8014005bc4e0fc6bd8320a24 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/D7x7z49
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3ad27b735943474e8014005bc4e0fc6bd8320a24 -
Trigger Event:
push
-
Statement type: