Lens
Lens is a local AI research agent that takes a query, performs structured research, and stores results in a persistent workspace.
Installation
pip install lensdev
Usage
Run a research task:
lens research -q "how do vector databases work"
Workspace System
Every run generates a workspace:
workspace/<session_id>/
Example:
workspace/session_20260604_143210/
Structure:
report.md(Main research report)sources.json(Combined raw data from all collectors)meta.json(Session metadata: query, timestamp, version)raw/(Individual collector results)
CLI Commands
Run research:
lens research -q "query"
Output:
Lens.
────────────────────────────────────────────────────────────────────────────────
Research
your query
Collecting Sources
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% (7/7)
Research complete.
Workspace saved at: workspace/session_20260604_143210/
List sessions:
lens list
Output:
Session ID
session_20260604_143210
session_20260604_104908
Resume session:
lens resume <session_id>
Output:
Resuming session: session_20260604_143210
Query: how do vector databases work
Path: /path/to/workspace/session_20260604_143210
Re-generating reports...
Reports re-generated.
Output Behavior
After completion:
Research complete.
Workspace saved at: workspace/<session_id>/
Philosophy
Lens turns research into structured, persistent workspaces instead of temporary terminal output.
GitHub: https://github.com/developer8sarthak/lens-research
PyPI: https://pypi.org/project/lensdev/
Documentation: https://lensdev.pages.dev/
Metadata
Release files for lensdev 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lensdev-0.1.5.tar.gz | 15.3 kB | Without provenance | Details for lensdev-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lensdev-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for lensdev-0.1.5-py3-none-any.whl |
Total release size: 36.9 kB
Release files / lensdev-0.1.5.tar.gz
| Download URL | lensdev-0.1.5.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cffd2610610224ed35b441812ee3b31e712e3a7c8caf0e2307356884aa8c8feb
|
|
BLAKE2b-256 checksum How to use checksums |
cd7b3a90b43a61e617ab2a07b90be129d4ac8f1b8311321d258def66e2e4fc04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / lensdev-0.1.5-py3-none-any.whl
| Download URL | lensdev-0.1.5-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fc5d125fb5438b997bc456cc3599b436065a254dfea4c534bf5309776306177
|
|
BLAKE2b-256 checksum How to use checksums |
a0abe7abff42c3e67b5e5aa6fa0996890837d713a5f07235367831d3c5ff8db8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Security for lensdev 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.