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.5.tar.gz (15.3 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.5-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lensdev-0.1.5.tar.gz
  • Upload date:
  • Size: 15.3 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.5.tar.gz
Algorithm Hash digest
SHA256 cffd2610610224ed35b441812ee3b31e712e3a7c8caf0e2307356884aa8c8feb
MD5 7bb0b9431ea151b5cfe11cfa6debd122
BLAKE2b-256 cd7b3a90b43a61e617ab2a07b90be129d4ac8f1b8311321d258def66e2e4fc04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lensdev-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 21.5 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8fc5d125fb5438b997bc456cc3599b436065a254dfea4c534bf5309776306177
MD5 b7ce86c6438d2817274040115babf386
BLAKE2b-256 a0abe7abff42c3e67b5e5aa6fa0996890837d713a5f07235367831d3c5ff8db8

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