Skip to content

Versions and upgrades

AgentPrism is a pre-1.0 package family. Treat version selection as part of your application architecture, not as a restore detail.

This site is built from the repository’s main branch. The .NET reference is generated from the assemblies built from that same source, and the HTTP reference is generated from the OpenAPI snapshot in that source tree.

That makes the site the best description of the next build. It can also document a public API that is newer than the preview package you installed. When exact reproducibility matters, pin every AgentPrism package and read the documentation from the matching source tag or commit.

Use NuGet’s pre-release selection explicitly:

Terminal window
dotnet add package AgentPrism --prerelease

The project template resolves pre-release packages by default, but pinning it makes a team build reproducible:

Terminal window
AGENTPRISM_VERSION=1.0.0-preview.N # replace N with the published preview
dotnet new install "AgentPrism.Templates@$AGENTPRISM_VERSION"
dotnet new agentprism-api --AgentPrismVersion "$AGENTPRISM_VERSION"

Do not mix AgentPrism preview versions. The packages share public contracts, DI registrations, database migrations, and generated code. A mixed graph can restore but fail during startup or at runtime.

With Central Package Management, keep the versions in one place:

<ItemGroup>
<PackageVersion Include="AgentPrism" Version="1.0.0-preview.N" />
<PackageVersion Include="AgentPrism.PostgreSql" Version="1.0.0-preview.N" />
<PackageVersion Include="AgentPrism.OpenAI" Version="1.0.0-preview.N" />
<PackageVersion Include="AgentPrism.UI" Version="1.0.0-preview.N" />
</ItemGroup>

If you reference individual packages directly, pin each one to the same version. Avoid floating ranges in production.

  1. Create a branch and update all AgentPrism packages together.
  2. Read the source diff for public API, configuration, and migration changes.
  3. Build with warnings as errors and run the full test suite.
  4. Start a disposable environment against a copy of production-shaped data.
  5. Inspect /api/meta, health checks, provider health, and migration diagnostics.
  6. Exercise one synchronous run, one streamed run, every enabled background service, and your approval and guard paths.
  7. Back up the database before the production migration. Deploy API and worker processes from the same artifact.
  8. Watch run failures, provider latency, queue depth, webhook delivery, and cost after the rollout.

Database migrations are forward-only. Do not assume that rolling back the application also rolls back the schema. See Production deployment for the migration and backup contract.

Include these facts when you report a defect:

  • the exact AgentPrism package versions from dotnet list package;
  • the .NET target framework and deployment runtime;
  • the model provider, model or Azure deployment name, and provider SDK version;
  • the storage engine and migration state;
  • the failing endpoint or .NET API and a minimal reproduction;
  • redacted diagnostics, logs, trace ids, and run ids.

Never attach credentials, connection strings, raw API keys, or unreviewed prompt and tool content.