OptiGen
AI-powered optimization modeling assistant built on LangGraph and Deep Agents. OptiGen guides users from problem formulation through schema design to executable solvers.
Quick Start (Usage First)
- Install from PyPI:
pip install optigen
- Set environment variables (either export them or create a
.envin the project root):# Required ANTHROPIC_API_KEY=your_anthropic_key # Get your key at: https://console.anthropic.com/settings/keys # Optional (enables web search tools) TAVILY_API_KEY=your_tavily_key # Optional (tracing) LANGSMITH_TRACING=true LANGSMITH_API_KEY=your_langsmith_key LANGSMITH_PROJECT=optigen
- Run the CLI:
optigen
Features
- Problem Formulation (problem_formulator): Clarifies objectives and constraints before any schema or code is produced.
- Schema & Dataset Design (schema_dataset_designer): Creates request/response JSON schemas and example scenarios to match the agreed objectives/constraints.
- Solver Generation & Execution (solver_coder): Proposes solver strategies, uses available Python deps, and registers runnable entrypoints aligned to the schemas.
- Quick Start Mode: Can auto-build initial models for common problem types (e.g., VRP, scheduling, inventory) with transparent assumptions.
- Tool-Aware Workflow: Uses search (Tavily, optional), code execution, and dependency awareness to keep solutions consistent across steps.
Development (contributing)
Development Installation
For contributing or modifying the source code:
- Clone the repo:
git clone https://github.com/OptigenIO/OptiGen-core.git cd OptiGen-core
- Install in editable mode:
pip install -e .
Development Commands
make test- Run unit testsmake lint- Run linters and type checkersmake format- Format codemake help- Show all make commands
Metadata
Release files for OptiGen 0.1.2
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 |
|---|---|---|---|---|
| optigen-0.1.2.tar.gz | 59.6 kB | With provenance | Details for optigen-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| optigen-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for optigen-0.1.2-py3-none-any.whl |
Total release size: 130.1 kB
Release files / optigen-0.1.2.tar.gz
| Download URL | optigen-0.1.2.tar.gz |
|---|---|
| Size | 59.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
853e9a78267a3a6b4f5374a6b17b7afd0c9344555ffbd644d7679d1b52281439
|
|
BLAKE2b-256 checksum How to use checksums |
da1ecd19c5bf4c55d706ec16ab7c71c3c6c15f963a18e4b7c7cec30e834e6a83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 4, 2026.
Transparency logRelease files / optigen-0.1.2-py3-none-any.whl
| Download URL | optigen-0.1.2-py3-none-any.whl |
|---|---|
| Size | 70.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
251fb7f5cfcde274241143ce8fa27804d9428727542130805417b09689876c0c
|
|
BLAKE2b-256 checksum How to use checksums |
23293e97a114e6a3c215784eded141828c6935f9c38ab74fe24920163245d53a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 4, 2026.
Transparency logSecurity for OptiGen 0.1.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for optigen-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 4, 2026.
Transparency logA 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.