Skip to main content Switch to mobile version sydes 0.2.5 CLI-first tool that traces API flows and verifies backend code changes, using code-graph evidence and AI reasoning to show what could be affected and what's still unverified.
pip install sydes==0.2.5 Copy PIP instructions
Sydes tells you what a code change could break, what was verified, and what remains unverified.
Sydes follows backend changes beyond the diff across services, APIs, libraries, and other system boundaries. It combines structural code intelligence with AI reasoning to show what is established, what is inferred, and what remains unverified.
Structural analysis provides evidence. AI interprets semantics.
The fastest way to use Sydes is as a GitHub Action on your pull requests — no local install required. Prefer running it from your own terminal first? Skip ahead to Using the CLI.
Create .github/workflows/sydes.yml:
name: Sydes on: pull_request: branches: [ "main" ] # or your default branch permissions: contents: read pull-requests: write jobs: sydes: uses: sydes-examples/sydes-action/.github/workflows/verify.yml@v1 with: repo_alias: app secrets: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} That's the whole workflow. It's a thin call into sydes-examples/sydes-action, a reusable, versioned workflow (@v1) maintained alongside Sydes itself — it installs the latest stable Sydes release, runs verify-change, and handles the PR comment, job summary, and result artifact for you. This is the same workflow file Sydes's own example repositories use in production.
Repository → Settings → Secrets and variables → Actions → New repository secret, named OPENAI_API_KEY.
Sydes also supports Anthropic and local Ollama models — pass model: anthropic:claude-... (or similar) under with: and add the matching secret. See Model providers for the full list and how they map when running the CLI directly.
Sydes posts a single, persistent comment on the PR (updated in place on every rerun, never duplicated) summarizing what changed, what it may affect, what test evidence exists, what's still unknown, and an AI code-review pass. The same content is also written to the Actions job summary, and the full JSON result is uploaded as a build artifact.
The check reports execution, not the verdict
The GitHub check (Sydes verify-change) passing means Sydes ran successfully — it says nothing about whether the change is fully verified. A VERIFICATION INCOMPLETE verdict alongside a green check is the expected, common case, not a contradiction: verify-change exits non-zero only on a real error (a git problem, a backend failure, a bad --repo value), never because of what the verdict says. Read the verdict from the PR comment, the job summary, or the uploaded JSON artifact (summary.verdict).
Why tests aren't executed by default
Sydes should not try to recreate an arbitrary repository's CI environment. Your existing CI already knows how to provision dependencies, databases, queues, secrets, and services — so the reusable workflow leaves run_tests off by default and uses Sydes for impact analysis only. Pass run_tests: true under with: once your job's environment can actually install and run the repository's own tests.
Sydes → what changed? → what else could it affect? → what is structurally established? → what does AI infer? → what still lacks verification evidence? Your CI → runs the repository's real tests in its real environment PR comments and job summaries
This comes built in — the reusable workflow renders sydes-result.json to Markdown, posts it as a PR comment upserted by a hidden marker () so reruns update the same comment instead of piling up duplicates, and writes the same content to the job summary. Nothing to build yourself.
The renderer and the frozen presentation contract it implements live in sydes-examples/sydes-action (see its CONTRACT.md and scripts/render_sydes_pr.py) if you want to build your own renderer against the same ChangeVerificationResult JSON schema instead.
A note on external-fork pull requests
The workflow above assumes same-repository PRs. A pull_request triggered by a PR from an external fork runs with a read-only token, so the PR-comment step will fail there — expected, not a bug.
Do not reach for pull_request_target to work around this without care: it runs with the base repository's permissions against the fork's (untrusted) code, and needs a deliberate secure design — typically, running the untrusted analysis in one permission-less job and only posting the comment from a separate, trusted job that never checks out or executes fork code. That split is not provided here.
Prefer running Sydes locally, or building your own integration instead of the GitHub Action above? Sydes is also a standalone CLI, published on PyPI. Its runtime dependencies — including codebase-memory-mcp — are installed with it.
Sydes is still in beta — pin the exact version rather than relying on pip's prerelease handling, which behaves differently depending on your other constraints and can silently skip a prerelease version entirely:
python -m pip install "sydes==0.2.0b2" A plain pip install sydes also works, but during beta may resolve to an older non-prerelease version depending on your environment — pin the version above for a reproducible install.
For development against the latest unreleased main, install from GitHub instead:
python -m pip install "git+https://github.com/sydes-ai/sydes.git@main" 2. Add an LLM key
export OPENAI_API_KEY=... Sydes also supports Anthropic and local Ollama models. See Model providers.
This key is also what powers AI recovery: when a first analysis pass leaves a meaningful gap (no established path, or a changed test file with nothing mapped to it), Sydes automatically runs a second, evidence-based recovery pass over the repository before reporting its result — no flag required. Pass --no-ai-recovery to verify-change to disable it.
3. Run Sydes in your repository
From the repository you want to analyze:
sydes verify-change \ --base origin/main \ --repo app=. \ --llm-policy auto \ --impact-guide auto On first use, Sydes prepares its code-intelligence backend automatically. The first run can take longer while the Codebase Memory runtime is bootstrapped and the repository is indexed.
A result looks roughly like:
SYDES CHANGE VERIFICATION Risk: MEDIUM Verdict: VERIFICATION INCOMPLETE Analysis: PARTIAL AFFECTED BEHAVIOR PROVEN structurally established impact INFERRED plausible downstream semantic impact VERIFICATION some affected behavior still lacks verification evidence The important labels are:
PROVEN does not mean the code is correct. VERIFICATION INCOMPLETE is an intentional conservative result, not a crash.
Sydes starts from a code change and asks:
What other parts of the backend system can it affect?
Which impacts are structurally established?
Which additional impacts are plausible from semantics?
What verification evidence exists?
What remains unresolved or unverified?
change ↓ structural evidence ↓ semantic impact ↓ system boundaries ↓ verification evidence The goal is not to ask an LLM to read an entire repository. Sydes uses code intelligence to narrow the investigation first, then uses AI where semantic judgment is useful.
This is not a universal guarantee — see Validation below for how it was measured.
Sydes v0.2.0-beta.1 was exercised on 15 preregistered manual calibration cases across Python, Go, TypeScript, Java, and Rust, spanning simple, medium, and hard structural complexity.
Full results, per-language breakdown, and methodology: manual-v1-public-summary.md.
This is a manual calibration suite, not an independent benchmark evaluation.
A note on reading these results: Pass above is a calibration label meaning Sydes recovered the expected structural path and test evidence for that preregistered case. It is a different axis from the VERIFICATION INCOMPLETE verdict you'll see on your own real changes — that verdict commonly appears even on a Pass case, because it simply means tests were mapped but not executed (e.g. --no-run-tests, the recommended CI mode — see Why tests aren't executed by default). The two labels are not in tension: one describes whether Sydes found what it was calibrated to find, the other describes whether your specific run executed enough evidence to call the change fully verified.
Five real PRs from the calibration suite, chosen to show affected-path tracing, test mapping, and honest partial results — not chosen because they all pass. Full writeups: showcase-v1.md.
Python — PY-M-01: a proven, multi-route affected-behavior trace.
Go — GO-M-01: the honest boundary between proven and inferred evidence.
TypeScript — TS-M-01: a dynamic CQRS command-bus dispatch resolved structurally.
Java — JAVA-M-01: a clean medium-complexity result with test mapping onto previously-uncovered code.
Rust — RS-M-01: intentionally a partial result — a real proven route alongside confirmed false positives, illustrating Rust's experimental support.
Passing tests or reviewing a diff does not establish everything a backend change may affect.
A local edit can propagate through:
authentication and authorization logic
Sydes reconstructs enough system context to reason about the change instead of reviewing modified lines in isolation.
A relationship or impact is established by structural evidence Sydes traced.
This means the relationship is structurally grounded — not that the affected behavior is correct.
AI reasoning identifies a plausible semantic impact that is not fully established by the structural path.
Inferred findings retain their uncertainty. They are evidence to investigate, not proof.
Sydes does not have enough verification evidence to claim that all affected behavior has been verified.
This is deliberately conservative.
When Sydes maps verification obligations to affected behavior, individual obligations may be:
A test merely existing is never reported as passed.
affected behavior failed → ACTION REQUIRED anything remains unverified / unknown → VERIFICATION INCOMPLETE all modeled affected behavior passed → VERIFIED Sydes does not guarantee complete coverage, full system testing, or universal framework support.
Every example below passes --impact-guide auto. That flag requires the cbm backend (see Repository and code intelligence) — set export SYDES_CODE_INTELLIGENCE=cbm first, or it silently does nothing.
Compare the current branch with origin/main
Repeat --repo name=path. The first repository is the changed repository.
sydes verify-change \ --base main \ --repo service2=~/repos/service2 \ --repo service1=~/repos/service1 \ --llm-policy auto \ --impact-guide auto See all options
sydes verify-change --help Uncommitted work is included by default. Use --no-working-tree when you want committed changes only.
Sydes determines what behavior matters; your existing CI provides the real execution evidence.
When local execution is enabled, Sydes only attempts tests it has mapped to affected behavior and only when the repository environment is already prepared.
install the target repository's dependencies
provision databases, queues, caches, or external services
recreate arbitrary CI environments
silently mock runtime dependencies
If the necessary environment is unavailable, Sydes reports the missing evidence conservatively rather than pretending the behavior was verified.
For most teams, the clean production model is:
Sydes impact analysis + existing CI execution ↓ verification evidence for the change System boundaries
A backend change does not necessarily terminate at an HTTP route.
Sydes is designed to investigate affected behavior across boundaries including:
shared and internal libraries
authentication / authorization paths
background workers and scheduled jobs
Support depth varies by language, framework, and boundary. See Current limitations.
Repository and code intelligence
Sydes uses repository/code intelligence so AI reasoning operates over a relevant slice of the codebase instead of blindly consuming the entire repository.
Sydes ships two code-intelligence backends: native (Sydes' own lightweight parser, the default) and cbm (the fuller codebase-memory-mcp code-graph backend, installed as a Sydes runtime dependency). --impact-guide requires the cbm backend — set SYDES_CODE_INTELLIGENCE=cbm to enable it; on the default native backend, --impact-guide has nothing to consult and is a no-op.
On first use with cbm, Sydes bootstraps the Codebase Memory native runtime into a local cache. This can take a noticeable moment once; subsequent runs reuse the local runtime/cache where possible.
Make the model reason about less of the repository — but the right parts.
Structural context can include:
call and usage relationships
AI then interprets what that evidence means for the change.
Sydes supports hosted and local LLM providers.
export SYDES_LLM_PROVIDER=openai export SYDES_LLM_MODEL=gpt-4.1-mini export OPENAI_API_KEY=... Or choose a model per command:
export SYDES_LLM_PROVIDER=anthropic export SYDES_LLM_MODEL=claude-3-5-sonnet-latest export ANTHROPIC_API_KEY=... Ollama
ollama serve ollama pull llama3.1:8b export SYDES_LLM_PROVIDER=ollama export SYDES_LLM_MODEL=llama3.1:8b export SYDES_LLM_BASE_URL=http://localhost:11434 Hosted providers consume paid API tokens. Local model quality varies by model and hardware.
The primary user workflow is verify-change. Sydes also exposes lower-level commands for inspecting route and flow structure directly.
sydes trace "/users" \ --method POST \ --repo api=./api Discover routes
sydes routes --repo api=./api Cross-repository route tracing
sydes trace "/goodreads/books" \ --method GET \ --repo service1=~/sample_repos/microservices-level6/service1 \ --repo service2=~/sample_repos/microservices-level6/service2 These commands are useful for deeper investigation, but they are not required for the normal PR/change-verification workflow.
Additional verify-change controls
# Optional advisory AI code-review findings. sydes verify-change --base main --repo app=. --code-review # Disable model calls. sydes verify-change --base main --repo app=. --llm-policy never # More detailed evidence and diagnostics. sydes verify-change --base main --repo app=. --verbose # Set per-test execution timeout. sydes verify-change --base main --repo app=. --test-timeout 30 Output artifacts
verify-change --json result.json writes the same structured ChangeVerificationResult represented by the terminal renderer.
Sydes also stores local artifacts under:
~/.sydes/ Current limitations
Sydes is under active development.
No guarantee of completeness — VERIFICATION INCOMPLETE means the evidence was insufficient, not that nothing was checked.
Structural proof depends on the available code intelligence for a given language/framework; support depth varies (see Validated support).
Some framework- or runtime-dispatched paths (async consumers, deep backward propagation, cross-cutting filters) remain partial or undetected.
Test execution may be disabled depending on invocation, and always depends on an already-prepared repository environment — Sydes does not provision, mock, or contact runtime dependencies.
You only need this section if you want to work on Sydes itself.
git clone https://github.com/sydes-ai/sydes.git cd sydes Install development dependencies
uv sync Run Sydes from the source checkout
uv run sydes verify-change \ --base origin/main \ --repo app=. \ --llm-policy auto \ --impact-guide auto Run tests
uv run python -m pytest Build package artifacts
uv build This produces the wheel and source distribution under dist/.
broader system-boundary discovery
deeper caller / service / library impact analysis
richer GitHub PR and CI evidence integration
deeper cross-service tracing
stronger reuse of repository intelligence across changes
Author: Sydes Contributors
Release files for sydes 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.8 MB
Release files / sydes-0.2.5.tar.gz
Release files / sydes-0.2.5-py3-none-any.whl
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.
None of the files in this release were uploaded with provenance metadata.
A 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.
Release history Release notifications | RSS feed
Oct 9, 2026 2 release files No provenance
Oct 2, 2026 2 release files No provenance
Sep 28, 2026 2 release files No provenance
Sep 27, 2026 2 release files No provenance
Sep 17, 2026 2 release files No provenance
Sep 15, 2026 2 release files No provenance
Sep 14, 2026 2 release files No provenance
Sep 13, 2026 2 release files No provenance
Sep 12, 2026 2 release files No provenance
Sep 10, 2026 2 release files No provenance
Aug 31, 2026 2 release files No provenance
Apr 19, 2026 2 release files No provenance
Apr 10, 2026 2 release files No provenance
Mar 31, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




