Documentation Index
Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
CLI-first knowledge ingestion
veryfront knowledge ingest is the primary CLI workflow for getting documents into a project’s knowledge base. It finds a source file, parses it, and writes generated markdown back into the project.
Use one command for the standard path:
- Resolves whether the input is a remote upload or a local file
- Pulls remote uploads into the workspace when needed
- Parses supported documents into markdown
- Uses
doclingfor supported PDF, Office, and HTML sources - Writes the resulting
knowledge/*.mdfile back into the project
Why this matters
This flow is especially useful for agent workflows and demos:- A user drops one or more files into
uploads/ - A knowledge agent starts a sandbox
- The agent runs
veryfront knowledge ingest ... - The parsed markdown lands in the project’s knowledge base
Prerequisites
Authenticate with the CLI and make sure the target project is known:veryfront knowledge ingest requires python3.
Inside a Veryfront sandbox, docling and the fallback parser packages are already installed. The embedded parser uses docling first for PDF, Office, and HTML extraction.
If you run the CLI outside a Veryfront sandbox, install docling and the fallback parser packages to match the sandbox parsing path:
docling is unavailable or fails to extract a specific file, non-text formats fall back to the built-in parser dependencies listed above.
Single-file examples
Ingest a remote upload
Useuploads/... to reference a file from the project’s remote uploads store:
Ingest a local file
Use a local path to ingest a file that already exists on disk:Exact-file batch ingestion
To ingest a specific list of files without ingesting the entire folder:ingested array, so agent workflows can match each output back to the original source path.
Inside the sandbox, knowledge ingest may run longer than typical shell commands, since slow but valid docling runs are allowed to complete.
Batch ingestion
To ingest every supported file under a remote uploads prefix:--path ... --all only when you want everything under that uploads prefix or local directory. For an exact file list, pass the file paths as positional arguments instead.
What the JSON output looks like
With--json, the command returns a machine-readable job result with
ingested, skipped, and failed arrays:
stats
shape varies by source type, but the top-level result fields are the same.
Path rules
The source path determines how the command behaves:uploads/...means a remote project upload./uploads/...means a local file or directory relative to the current working directory- multiple explicit sources are passed as positional arguments:
veryfront knowledge ingest <source...> --json
uploads/... triggers the remote upload download step, while local paths skip it.
Supported file types
veryfront knowledge ingest supports these source formats:
pdfcsvtsvdocxxlsxxlspptxhtmlhtmtxtjsonmdmdx
Low-level commands still exist
If you need finer control, the lower-level building blocks are still available:veryfront knowledge ingest should be the default.
Troubleshooting
Unknown command: knowledge
Your installed CLI is older than the branch or release that added the command. Update the CLI or run the current source tree directly with:
Missing API token
Set VERYFRONT_API_TOKEN, run veryfront login, or make sure your local CLI config already has a saved token.
Could not determine project slug
Set VERYFRONT_PROJECT_SLUG or pass the project explicitly:
Python package errors
Install the parser packages listed above, or run the command inside a Veryfront sandbox where the knowledge-ingestion stack is already available.docling is not installed
Inside a Veryfront sandbox, docling is already installed. Outside a Veryfront sandbox, install docling if you want the same extraction path locally. If docling is not installed or extraction fails, the command falls back to the Python parser stack for supported formats.
Recommended agent flow
For agent prompts and system instructions, this is the simplest reliable pattern:- Prefer
veryfront knowledge ingestfor adding documents to knowledge - Use
uploads/...for files that came from the project’s upload store - Use local paths only when the file is already present in the workspace
- Fall back to
uploadsandfilesCRUD commands only when you need manual control
Verify it worked
After ingesting a source, the command writes one or more markdown files under the project’sknowledge/ directory:
knowledge/<name>.md entry. Open the
generated markdown and confirm the parsed content matches the original.
For automation, capture the JSON output of the command directly:
ingested array names every file the command wrote. If the array is
empty or the command exited non-zero, check skipped, failed, and the
command output for the reason.
Next
- Sandbox: run CLI workflows inside isolated workspaces
- Agents: build agent workflows that can call tools and shell commands
- Workflows: orchestrate repeatable multi-step automation
Related
veryfront/cli: CLI entry point reference