Python SDK
HTTP API
Parameters
Viking URI (must be a directory)
Response
Operation status (
ok on success)The L1 overview content (typically markdown-formatted)
Execution time in seconds
CLI
Context Layers
OpenViking provides three hierarchical levels of content:- L0 (Abstract): ~100 token summary via
abstract() - L1 (Overview): Structured overview via
overview()(this method) - L2 (Full): Complete content via
read()
- Understanding directory structure
- Getting a medium-detail summary without reading all files
- Agent context that needs more detail than abstract but less than full content
Implementation Details
The overview is stored in a.overview.md file within the directory. If not present, it’s generated automatically from the directory contents.
Error Cases
- Returns error if the URI points to a file (use
read()for files) - Returns error if the directory doesn’t exist
