sigmanticai 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sigmanticai-0.1.0/.gitignore +29 -0
- sigmanticai-0.1.0/LICENSE +29 -0
- sigmanticai-0.1.0/PKG-INFO +111 -0
- sigmanticai-0.1.0/README.md +83 -0
- sigmanticai-0.1.0/pyproject.toml +52 -0
- sigmanticai-0.1.0/sigmanticai/__init__.py +10 -0
- sigmanticai-0.1.0/sigmanticai/__main__.py +6 -0
- sigmanticai-0.1.0/sigmanticai/auth/__init__.py +23 -0
- sigmanticai-0.1.0/sigmanticai/auth/browser_login.py +385 -0
- sigmanticai-0.1.0/sigmanticai/auth/client.py +149 -0
- sigmanticai-0.1.0/sigmanticai/auth/credentials.py +50 -0
- sigmanticai-0.1.0/sigmanticai/cli.py +792 -0
- sigmanticai-0.1.0/sigmanticai/client.py +223 -0
- sigmanticai-0.1.0/sigmanticai/config.py +28 -0
- sigmanticai-0.1.0/sigmanticai/display.py +451 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.egg-info/
|
|
6
|
+
*.egg
|
|
7
|
+
dist/
|
|
8
|
+
build/
|
|
9
|
+
*.whl
|
|
10
|
+
|
|
11
|
+
# Virtual environments
|
|
12
|
+
.venv/
|
|
13
|
+
venv/
|
|
14
|
+
env/
|
|
15
|
+
|
|
16
|
+
# IDE
|
|
17
|
+
.idea/
|
|
18
|
+
.vscode/
|
|
19
|
+
*.swp
|
|
20
|
+
*.swo
|
|
21
|
+
*~
|
|
22
|
+
|
|
23
|
+
# OS
|
|
24
|
+
.DS_Store
|
|
25
|
+
Thumbs.db
|
|
26
|
+
|
|
27
|
+
# Credentials (never commit)
|
|
28
|
+
.sigmanticai/
|
|
29
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Copyright (c) 2025-2026 SigmanticAI, Inc. All rights reserved.
|
|
2
|
+
|
|
3
|
+
PROPRIETARY SOFTWARE LICENSE
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files (the "Software") are the
|
|
6
|
+
proprietary and confidential property of SigmanticAI, Inc.
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted to any person who has obtained a copy of this
|
|
9
|
+
Software through an authorized distribution channel (e.g., PyPI) to use the
|
|
10
|
+
Software solely for the purpose of interacting with the SigmanticAI service,
|
|
11
|
+
subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
1. The Software may not be modified, reverse-engineered, decompiled, or
|
|
14
|
+
disassembled.
|
|
15
|
+
|
|
16
|
+
2. The Software may not be redistributed, sublicensed, or sold, in whole or
|
|
17
|
+
in part, without the prior written consent of SigmanticAI, Inc.
|
|
18
|
+
|
|
19
|
+
3. The above copyright notice and this permission notice shall be included
|
|
20
|
+
in all copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
25
|
+
SIGMANTICAI, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
26
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
|
27
|
+
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
29
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sigmanticai
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: SigmanticAI — AI-powered hardware verification from the command line
|
|
5
|
+
Project-URL: Homepage, https://sigmanticai.com
|
|
6
|
+
Project-URL: Documentation, https://docs.sigmanticai.com
|
|
7
|
+
Project-URL: Repository, https://github.com/RohilKhar/SigmanticAICLI
|
|
8
|
+
Project-URL: Issues, https://github.com/RohilKhar/SigmanticAICLI/issues
|
|
9
|
+
Author-email: SigmanticAI <team@sigmanticai.com>
|
|
10
|
+
License: Proprietary
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: AI,EDA,SystemVerilog,UVM,hardware,testbench,verification
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
|
|
24
|
+
Requires-Python: >=3.10
|
|
25
|
+
Requires-Dist: rich>=13.0
|
|
26
|
+
Requires-Dist: websockets<16.0,>=13.0
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# SigmanticAI
|
|
30
|
+
|
|
31
|
+
**AI-powered hardware verification from the command line.**
|
|
32
|
+
|
|
33
|
+
SigmanticAI generates complete chip verification environments — UVM testbenches, SystemVerilog assertions, coverage models, and RTL — from natural language descriptions. All heavy computation (compilation, simulation, LLM inference) runs in the cloud; the CLI is a lightweight client.
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pip install sigmanticai
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Requires Python 3.10+.
|
|
42
|
+
|
|
43
|
+
## Quick Start
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Sign in (opens browser)
|
|
47
|
+
sigmanticai login
|
|
48
|
+
|
|
49
|
+
# Interactive mode — chat with the AI agent
|
|
50
|
+
sigmanticai
|
|
51
|
+
|
|
52
|
+
# One-shot generation
|
|
53
|
+
sigmanticai generate "Build a UVM testbench for a 32-bit AXI4 FIFO"
|
|
54
|
+
|
|
55
|
+
# Check your account
|
|
56
|
+
sigmanticai whoami
|
|
57
|
+
sigmanticai status
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## What It Does
|
|
61
|
+
|
|
62
|
+
- **Generate verification environments** — UVM testbenches, scoreboards, coverage, and assertions from a single prompt
|
|
63
|
+
- **Design RTL modules** — counters, FIFOs, arbiters, interfaces, and more
|
|
64
|
+
- **Edit existing code** — point the agent at your codebase and ask for changes
|
|
65
|
+
- **Run compilation & simulation** — Verilator, Questa, and other EDA tools run server-side (no local install needed)
|
|
66
|
+
- **Iterative debugging** — the agent automatically fixes compilation errors and re-runs until tests pass
|
|
67
|
+
|
|
68
|
+
## How It Works
|
|
69
|
+
|
|
70
|
+
1. You type a prompt in the CLI
|
|
71
|
+
2. Your project files are synced to a cloud worker
|
|
72
|
+
3. The AI agent generates, compiles, and simulates — all server-side
|
|
73
|
+
4. Generated files are streamed back to your local directory
|
|
74
|
+
5. You edit locally; changes sync automatically on your next message
|
|
75
|
+
|
|
76
|
+
No EDA tools required on your machine. No GPU needed. Just `pip install` and go.
|
|
77
|
+
|
|
78
|
+
## Commands
|
|
79
|
+
|
|
80
|
+
| Command | Description |
|
|
81
|
+
|---------|-------------|
|
|
82
|
+
| `sigmanticai` | Interactive REPL (main mode) |
|
|
83
|
+
| `sigmanticai login` | Sign in via browser |
|
|
84
|
+
| `sigmanticai login --email <e> --password <p>` | Headless login (CI/scripts) |
|
|
85
|
+
| `sigmanticai logout` | Clear stored credentials |
|
|
86
|
+
| `sigmanticai whoami` | Show current user |
|
|
87
|
+
| `sigmanticai status` | Show plan, quota, account info |
|
|
88
|
+
| `sigmanticai jobs` | List recent generation jobs |
|
|
89
|
+
| `sigmanticai generate "<prompt>"` | One-shot generation |
|
|
90
|
+
|
|
91
|
+
## Interactive Commands
|
|
92
|
+
|
|
93
|
+
Inside the REPL:
|
|
94
|
+
|
|
95
|
+
| Command | Description |
|
|
96
|
+
|---------|-------------|
|
|
97
|
+
| `/upload <path>` | Push a specific file or directory to the server |
|
|
98
|
+
| `/help` | Show available commands |
|
|
99
|
+
| `exit` / `quit` / `q` | End session |
|
|
100
|
+
|
|
101
|
+
## Requirements
|
|
102
|
+
|
|
103
|
+
- Python 3.10+
|
|
104
|
+
- Internet connection (all computation runs in the cloud)
|
|
105
|
+
- A SigmanticAI account — sign up at [sigmanticai.com](https://sigmanticai.com)
|
|
106
|
+
|
|
107
|
+
## Links
|
|
108
|
+
|
|
109
|
+
- **Website:** [sigmanticai.com](https://sigmanticai.com)
|
|
110
|
+
- **Documentation:** [docs.sigmanticai.com](https://docs.sigmanticai.com)
|
|
111
|
+
- **Issues:** [github.com/sigmanticai/sigmanticai-cli/issues](https://github.com/sigmanticai/sigmanticai-cli/issues)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# SigmanticAI
|
|
2
|
+
|
|
3
|
+
**AI-powered hardware verification from the command line.**
|
|
4
|
+
|
|
5
|
+
SigmanticAI generates complete chip verification environments — UVM testbenches, SystemVerilog assertions, coverage models, and RTL — from natural language descriptions. All heavy computation (compilation, simulation, LLM inference) runs in the cloud; the CLI is a lightweight client.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install sigmanticai
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Requires Python 3.10+.
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Sign in (opens browser)
|
|
19
|
+
sigmanticai login
|
|
20
|
+
|
|
21
|
+
# Interactive mode — chat with the AI agent
|
|
22
|
+
sigmanticai
|
|
23
|
+
|
|
24
|
+
# One-shot generation
|
|
25
|
+
sigmanticai generate "Build a UVM testbench for a 32-bit AXI4 FIFO"
|
|
26
|
+
|
|
27
|
+
# Check your account
|
|
28
|
+
sigmanticai whoami
|
|
29
|
+
sigmanticai status
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## What It Does
|
|
33
|
+
|
|
34
|
+
- **Generate verification environments** — UVM testbenches, scoreboards, coverage, and assertions from a single prompt
|
|
35
|
+
- **Design RTL modules** — counters, FIFOs, arbiters, interfaces, and more
|
|
36
|
+
- **Edit existing code** — point the agent at your codebase and ask for changes
|
|
37
|
+
- **Run compilation & simulation** — Verilator, Questa, and other EDA tools run server-side (no local install needed)
|
|
38
|
+
- **Iterative debugging** — the agent automatically fixes compilation errors and re-runs until tests pass
|
|
39
|
+
|
|
40
|
+
## How It Works
|
|
41
|
+
|
|
42
|
+
1. You type a prompt in the CLI
|
|
43
|
+
2. Your project files are synced to a cloud worker
|
|
44
|
+
3. The AI agent generates, compiles, and simulates — all server-side
|
|
45
|
+
4. Generated files are streamed back to your local directory
|
|
46
|
+
5. You edit locally; changes sync automatically on your next message
|
|
47
|
+
|
|
48
|
+
No EDA tools required on your machine. No GPU needed. Just `pip install` and go.
|
|
49
|
+
|
|
50
|
+
## Commands
|
|
51
|
+
|
|
52
|
+
| Command | Description |
|
|
53
|
+
|---------|-------------|
|
|
54
|
+
| `sigmanticai` | Interactive REPL (main mode) |
|
|
55
|
+
| `sigmanticai login` | Sign in via browser |
|
|
56
|
+
| `sigmanticai login --email <e> --password <p>` | Headless login (CI/scripts) |
|
|
57
|
+
| `sigmanticai logout` | Clear stored credentials |
|
|
58
|
+
| `sigmanticai whoami` | Show current user |
|
|
59
|
+
| `sigmanticai status` | Show plan, quota, account info |
|
|
60
|
+
| `sigmanticai jobs` | List recent generation jobs |
|
|
61
|
+
| `sigmanticai generate "<prompt>"` | One-shot generation |
|
|
62
|
+
|
|
63
|
+
## Interactive Commands
|
|
64
|
+
|
|
65
|
+
Inside the REPL:
|
|
66
|
+
|
|
67
|
+
| Command | Description |
|
|
68
|
+
|---------|-------------|
|
|
69
|
+
| `/upload <path>` | Push a specific file or directory to the server |
|
|
70
|
+
| `/help` | Show available commands |
|
|
71
|
+
| `exit` / `quit` / `q` | End session |
|
|
72
|
+
|
|
73
|
+
## Requirements
|
|
74
|
+
|
|
75
|
+
- Python 3.10+
|
|
76
|
+
- Internet connection (all computation runs in the cloud)
|
|
77
|
+
- A SigmanticAI account — sign up at [sigmanticai.com](https://sigmanticai.com)
|
|
78
|
+
|
|
79
|
+
## Links
|
|
80
|
+
|
|
81
|
+
- **Website:** [sigmanticai.com](https://sigmanticai.com)
|
|
82
|
+
- **Documentation:** [docs.sigmanticai.com](https://docs.sigmanticai.com)
|
|
83
|
+
- **Issues:** [github.com/sigmanticai/sigmanticai-cli/issues](https://github.com/sigmanticai/sigmanticai-cli/issues)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "sigmanticai"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "SigmanticAI — AI-powered hardware verification from the command line"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = {text = "Proprietary"}
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "SigmanticAI", email = "team@sigmanticai.com"},
|
|
14
|
+
]
|
|
15
|
+
keywords = ["hardware", "verification", "UVM", "SystemVerilog", "AI", "EDA", "testbench"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Intended Audience :: Science/Research",
|
|
20
|
+
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Programming Language :: Python :: 3.13",
|
|
26
|
+
"Environment :: Console",
|
|
27
|
+
"Operating System :: OS Independent",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
# Minimal core deps — NO LLM SDKs, NO LangGraph, NO torch
|
|
31
|
+
# Auth module is built-in (pure stdlib) — no external verifagent dep.
|
|
32
|
+
dependencies = [
|
|
33
|
+
"websockets>=13.0,<16.0",
|
|
34
|
+
"rich>=13.0",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
[project.urls]
|
|
38
|
+
Homepage = "https://sigmanticai.com"
|
|
39
|
+
Documentation = "https://docs.sigmanticai.com"
|
|
40
|
+
Repository = "https://github.com/RohilKhar/SigmanticAICLI"
|
|
41
|
+
Issues = "https://github.com/RohilKhar/SigmanticAICLI/issues"
|
|
42
|
+
|
|
43
|
+
[project.scripts]
|
|
44
|
+
sigmanticai = "sigmanticai.cli:main"
|
|
45
|
+
|
|
46
|
+
[tool.hatch.build.targets.sdist]
|
|
47
|
+
exclude = ["tests/", "*.pyc", "__pycache__/", ".git/"]
|
|
48
|
+
|
|
49
|
+
[tool.hatch.build.targets.wheel]
|
|
50
|
+
packages = ["sigmanticai"]
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
SigmanticAI authentication — self-contained, no external dependencies.
|
|
3
|
+
|
|
4
|
+
All auth operations go through the SigmanticAI Gateway API.
|
|
5
|
+
Credential storage lives at ~/.sigmanticai/credentials.json.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from sigmanticai.auth.browser_login import browser_login, headless_login
|
|
9
|
+
from sigmanticai.auth.client import get_access_token, AuthClient, _api_request
|
|
10
|
+
|
|
11
|
+
# HAS_SUPABASE is no longer needed — auth goes through the API.
|
|
12
|
+
# Keep for backward compat with cli.py references.
|
|
13
|
+
HAS_SUPABASE = True
|
|
14
|
+
|
|
15
|
+
__all__ = [
|
|
16
|
+
"browser_login",
|
|
17
|
+
"headless_login",
|
|
18
|
+
"get_access_token",
|
|
19
|
+
"AuthClient",
|
|
20
|
+
"_api_request",
|
|
21
|
+
"HAS_SUPABASE",
|
|
22
|
+
]
|
|
23
|
+
|