Skip to main content

Local AI research agent that generates structured research workspaces

Project description

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/

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

lensdev-0.1.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lensdev-0.1.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file lensdev-0.1.4.tar.gz.

File metadata

  • Download URL: lensdev-0.1.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for lensdev-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3be5f849bed55020d2ba5f6f9ffb4101ee7c2bdf1fedf45ffd552ed8a2677ca7
MD5 89d298d966016aeb5fac118dd7c5e673
BLAKE2b-256 ca21aacabf09520f6ee56ba258335d52948e5b521ceccb181a542df418741fe3

See more details on using hashes here.

File details

Details for the file lensdev-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: lensdev-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for lensdev-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0f0e6dace108c30a7e12de8d9f1e0dba346f8f806e1d10f1b7d2b4eda7c7c7a1
MD5 d06619f8d690e63bf6f0651303554acc
BLAKE2b-256 acada7ab6b1e8b78446bab90124722b36c2f263216c9173aaa935102c6bc1e2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page