{"id":45864086,"url":"https://github.com/kessler-frost/skadi","last_synced_at":"2026-02-27T07:46:33.417Z","repository":{"id":324631077,"uuid":"1029391878","full_name":"kessler-frost/skadi","owner":"kessler-frost","description":"Skadi - Generate and manipulate PennyLane quantum circuits using natural language.","archived":false,"fork":false,"pushed_at":"2025-12-03T23:58:17.000Z","size":1475,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-07T05:40:25.696Z","etag":null,"topics":["agno","pennylane","quantum-computing"],"latest_commit_sha":null,"homepage":"https://github.com/kessler-frost/skadi","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kessler-frost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-31T01:36:54.000Z","updated_at":"2025-12-03T23:58:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kessler-frost/skadi","commit_stats":null,"previous_names":["kessler-frost/skadi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kessler-frost/skadi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler-frost%2Fskadi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler-frost%2Fskadi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler-frost%2Fskadi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler-frost%2Fskadi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kessler-frost","download_url":"https://codeload.github.com/kessler-frost/skadi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler-frost%2Fskadi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29887912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T05:38:26.446Z","status":"ssl_error","status_checked_at":"2026-02-27T05:38:25.235Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agno","pennylane","quantum-computing"],"created_at":"2026-02-27T07:46:32.694Z","updated_at":"2026-02-27T07:46:33.410Z","avatar_url":"https://github.com/kessler-frost.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Skadi\n\nGenerate, manipulate, and execute PennyLane quantum circuits using natural language.\n\n## Demo\n\n![Skadi Demo](demo.gif)\n\n## Installation\n\n```bash\n# Run directly with uvx (no installation needed)\nuvx --from git+https://github.com/kessler-frost/skadi skadi main \"create a bell state\"\n\n# Or install/upgrade as a tool (always gets latest version)\nuv tool install --reinstall git+https://github.com/kessler-frost/skadi\n\n# Set your API key (defaults to OpenRouter)\nexport SKADI_API_KEY=\"your-key-here\"\n```\n\n**LLM Providers:**\n\n- **OpenRouter** (default): \u003chttps://openrouter.ai/\u003e\n- **LM Studio**: Set `SKADI_BASE_URL=http://localhost:1234/v1`\n- **Ollama**: Set `SKADI_BASE_URL=http://localhost:11434/v1`\n- Or any OpenAI-compatible API by setting `SKADI_BASE_URL`\n\n## Quick Start\n\n```bash\n# Create a circuit\nskadi main \"create a bell state circuit\"\n\n# Modify it\nskadi main \"add a third qubit with hadamard\"\n\n# Optimize it\nskadi main \"optimize the circuit\"\n\n# Execute it\nskadi run --auto\n\n# Show current circuit\nskadi main show\n\n# Clear circuit file\nskadi main clear\n```\n\nAll circuits are saved to `circuit.py` and visualized as ASCII art in your terminal.\n\n## More Examples\n\n**Generate circuits:**\n\n```bash\nskadi main \"create a 3-qubit GHZ state\"\nskadi main \"create a quantum fourier transform for 4 qubits\"\n```\n\n**Modify and optimize:**\n\n```bash\nskadi main \"add a rotation gate before the CNOT\"\nskadi main \"optimize the circuit aggressively\"\n```\n\n**View and manage:**\n\n```bash\nskadi main show              # Display current circuit\nskadi main show --with-code  # Show circuit with code\nskadi main clear             # Remove circuit.py\n```\n\n## Execution\n\n**Run circuits on quantum backends:**\n\n```bash\nskadi run                          # Interactive backend selection\nskadi run --auto                   # Auto-select best backend\nskadi run --backend default.qubit  # Use specific backend\n```\n\n**List available backends:**\n\n```bash\nskadi backends       # Show available backends\nskadi backends --all # Show all backends (including unavailable)\n```\n\nAvailable backends include local simulators (`default.qubit`, `default.mixed`), high-performance simulators (`lightning.qubit`), and cloud backends (AWS Braket).\n\n## Python API\n\n```python\nfrom skadi import CircuitGenerator, CircuitManipulator\n\ngenerator = CircuitGenerator()\nmanipulator = CircuitManipulator()\n\n# Generate\ncircuit = generator.generate_circuit(\"Create a Bell state\")\n\n# Optimize\noptimized = manipulator.optimize(circuit, level=\"aggressive\")\n\n# Analyze\nanalysis = manipulator.understand(circuit, include_explanation=True)\n\n# Rewrite\nmodified = manipulator.rewrite(circuit, \"Add a phase gate before CNOT\")\n```\n\n## Development\n\n**Install locally for development:**\n\n```bash\n# Clone the repository\ngit clone https://github.com/kessler-frost/skadi\ncd skadi\n\n# Install as editable tool\nuv tool install --editable .\n\n# Or use within the project\nuv sync\n```\n\n**Run tests and linting:**\n\n```bash\nuv run pytest\nuv run ruff check .\nuv run ruff format .\n```\n\n## License\n\nApache License 2.0 - see LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler-frost%2Fskadi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkessler-frost%2Fskadi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler-frost%2Fskadi/lists"}