Skip to main content

remy-sdk-python

Python Core Protocol binding. Distribution: remy-agent-sdk; import: remy.

Integrate an application

Start with the consumer guides: Quickstart, public API, events and errors, and deployment. The runnable examples include a persisted FastAPI/SSE host, a business tool registry bridge, approvals across processes, session forks and a startup measurement command. They use only public SDK imports. Their validation scope distinguishes local source-Host tests from frozen-artifact and registry-install acceptance.

Responsibility and current status

This component implements the Python side of Core Protocol v1. It does not implement the agent loop, which belongs to ../remy-core and runs in the Core process hosted and packaged by ../remy-core.

Implemented: the async-first public Agent, Run, Session, tool, permission, event, error and usage API on Core Protocol v1. A dedicated --sdk Core child advertises sdk.agent.v1; the binding manages its lifetime and runs consumer callbacks locally. run() is a synchronous one-shot convenience; arun() is its async counterpart. The public export list is frozen by a test.

Release acceptance boundary: local source tests do not prove publication or verified registry installation of the exact Core artifact. The source pyproject.toml intentionally has an empty runtime dependency list; the selected exact pin is in core-version.txt, and the release workflow injects it into the temporary build manifest as the PEP 440 equivalent of the core-version.txt value immediately before building the wheel. The current pin, 0.1.0-rc.2026110201, has local macOS ARM64 frozen-wheel and default-discovery acceptance; it is not a claim that this version is published on PyPI or verified on other platforms. See the acceptance record. Supply REMY_CORE or CoreSpec when using a local compatible Core. Source-host tests are not frozen-release evidence. Keep the SDK environment separate from the kernel, which also imports as remy.

The target distribution is a pure wheel containing remy/ and py.typed, with no kernel src.* namespace or embedded binary. The separately distributed Core will be pinned to a tested exact version. See release ownership.

Repository layout

src/remy/            the package (src-layout)
  __init__.py        public surface
  _protocol/         Core Protocol v1 client — private
  _binary/           executable discovery — private
  py.typed
tests/               FakeCore, real subprocess peers and opt-in Rust sample-core

src/ here is a directory, not a package — it has no __init__.py and never becomes an importable name. top_level.txt is ['remy'] and the wheel contains no src/ entry, so this layout is exactly what "No src/" above asks for: that rule is about not shipping the kernel's src.* namespace package, not about where the source sits in the repository.

Why src-layout rather than remy/ at the root: under a flat layout the package is importable from the repository root, so a test run can exercise the SOURCE TREE while believing it tested the built wheel — and a packaging mistake ships unnoticed. With src/, nothing can import remy until something installs it. "The tests ran against the wheel" stops being a discipline and becomes the only possibility. Verified both ways: import remy from the repository root without installing raises ModuleNotFoundError, and the suite passes against an installed wheel in a clean interpreter.

Both reference bindings do the same. claude-agent-sdk ships src/claude_agent_sdk/; openai-codex ships sdk/python/src/openai_codex/, and its binary package openai-codex-cli-bin ships src/codex_cli_bin.

The TypeScript binding's src/ means something different and is not a mismatch: there, src/ is compiled to dist/ and the import path comes from package.json's name plus its exports map, so no directory name ever reaches a consumer. In Python the directory name IS the import name.

Public contract

Row Content
run() / Agent / Run one-shot entry + durable handle (Run owns its stream / status / cancel)
system_prompt empty by default = blank slate; product behaviour needs an explicit preset="remy_code"
skills / agents / hooks inline + file, both channels · inline replaces, never merges
mcp_servers / @tool inline MCP · @tool defined in the consumer process, invoked over Core Protocol callbacks
Session resume · fork · resume_at · SessionStore (mirror, not authority)
events payload (semantics) + envelope (run_id · attempt_id · seq · origin)
permissions can_use_tool · permission_mode · RunState (serializable interruption)
errors / usage is_retryable · retry_after · request_id · typed Usage
auth / gateway explicit config, raises when unset · application credential and remy-service origin only, no provider key
execute_tool() standalone Core web_fetch/web_search; no model, session or LLM task; requires sdk.tools.v1
models() remy-service's model listing, without a Core · read-only, no session / task / spend

Defaults

The SDK has two audiences. Product consumers (Remy CLI / Desktop / Web · iOS · Android) pass system_prompt={"preset": "remy_code"} explicitly when using the public API; this is not a claim that those clients use this SDK today. Library consumers (third parties) pass nothing and get an empty prompt on a base that reads no configuration from disk. The reverse is impossible — once the default carries product behaviour, a third party can never subtract it.

Tracing

A run on this surface writes no trace file. The Core's JSONL trace is product durability — it is written for a host that owns the conversation and will resume, retry or replay it — and the SDK Host deliberately passes no trace sink to the kernel. Your run is observable through the events it streams, and any durable record of it is yours to keep. This is a design decision, recorded as ADR-SDK-044 decision 4 in remy-core (docs/adr/sdk/044-two-contract-surfaces-on-one-binary.md).

Dependency type

Artifact dependency. A consumer process contains no src.*, so "no direct kernel access" is a physical fact rather than a discipline.

Output

One pure wheel, py3-none-any. The platform difference lives in the separately pinned remy-core-bin dependency injected into the packed manifest; the source manifest remains dependency-free so local development uses the adjacent Core. scripts/assert_wheel_shape.py checks the wheel shape, not runtime discovery.

The ruler

Do not ask "does this consumer need a source dependency?" Ask what it needs to do → does the protocol provide it → if not, extend the protocol. Read every "I need a source dependency" request as a report of a protocol gap.

Process binding (private, for conformance and integration)

Discovery checks REMY_CORE first, then calls the installed remy_core_bin.executable() function. An invalid override fails immediately; it never silently falls back to another Core. Resolved paths are absolute and must be runnable. Discovery does not search PATH or import the kernel.

The default process starts the packaged executable with run-module src.bridge.core_host, including when REMY_CORE replaces its path. For a different protocol-speaking executable, supply an explicit CoreSpec and its arguments. CoreProcess.spawn() completes the handshake before returning:

from remy._protocol.process import CoreProcess, CoreSpec

with CoreProcess.spawn(spec=CoreSpec("/absolute/path/to/sample-core")) as core:
    print(core.connection.hello.core_name)
    print(core.connection.session.session_id)
    print(core.connection.invoke("core.ping"))

The env argument replaces the inherited environment when supplied; EDGE_TOKEN is removed even from explicit environments. Pass an intended bearer using InitializeOptions(edge_token=...). stderr_tail() retains a bounded diagnostic tail (50 chunks of at most 4096 bytes by default), never allowing an unterminated stderr line to grow memory indefinitely. Handshake failure closes and reaps the child before raising CoreSpawnFailed, which includes its stderr tail.

close(grace=2.0) sends EOF, waits, terminates, then kills and reaps a child that still hangs. It is idempotent. A protocol or transport failure also triggers automatic process cleanup while preserving queued lifecycle signals. cancel_turn(turn_id, ack_timeout=0.2, grace=2.0) sends turn.cancel and waits for that turn's terminal event without taking it away from event consumers. A timeout closes the child and raises CoreTimeout; a command rejection leaves the connection usable. Both deadlines are configurable. This lower-level binding is synchronous; the public Agent API below supplies async process ownership and a continuous callback/event pump.

Name tables and capability negotiation. remy._protocol.names and the ERROR_* codes of remy._protocol.errors carry exactly the tables of Core's remy/host/protocol/validation.py; tests/test_names.py and tests/test_errors.py read that file and fail if it is missing or a name differs. CoreHello.supports(name) answers only for capabilities core.hello advertises. Route commands (agent.*, task_list.*, budget.*, wake.*, subagent.run.* under remy.agents/v1; messaging.* under remy.agents.messaging/v1; retained_result.*) are negotiated on every call and never advertised: send them with connection.invoke_with_capability(command, "remy.<area>/vN", fields), which puts the exact name in the payload's capability field and returns a CapabilityResult: supported=True with result, or, when the Core answers capability_unsupported, capability_missing or (older Core) unknown_command, supported=False with error. Other refusals still raise CommandRejected. invoke(..., capability=...) sends the same field and raises on any refusal. Events and frame fields are granted once per connection: pass InitializeOptions(connection_capabilities=[...]) (at most 32 names) and read session.granted_capabilities / session.is_capability_granted(name); an older Core that does not answer the field grants nothing. Without either option every frame is sent as before. The SDK exposes no feature API for the negotiated domains yet, and the public Agent API sends no route command.

Verify the installed wheel

Build and install the wheel into a dedicated SDK virtual environment, then run pytest, ruff check ., ruff format --check ., pyright src/, and the three scripts/assert_*.py gates. Do not install the kernel wheel in that environment. The shared protocol golden corpus is tested alongside the Python-only FakeCore.

To include an independent Rust peer, build it locally from the monorepo:

(cd ../remy-cli/rust && cargo build -p remy-testkit --bin sample-core)
REMY_SAMPLE_CORE="$PWD/../remy-cli/rust/target/debug/sample-core" python -m pytest -q

The sample tests cover handshake, ping, streaming, exactly one terminal event, cooperative cancellation, ask-user responses, typed command rejection and shutdown. When REMY_SAMPLE_CORE is unset they fail under CI (CI set) and skip locally, both naming the build command; they also fail when it is set to an invalid executable. These tests do not claim frozen-artifact compatibility or exercise real providers.

For a source Core Host smoke test, separately install the CLI/Core environment and set REMY_CORE_HOST_PYTHON to that interpreter (for example, REMY_CORE_HOST_PYTHON="$PWD/../remy-cli/.venv/bin/python" python -m pytest -q). The SDK stays installed in its own environment and only drives the other process through handshake, ping and shutdown in an empty temporary workspace, with no model call, and checks that the Core itself refuses a gated command before the handshake. This is source-host evidence, not a verified frozen binary release.

Run an Agent

import asyncio
from remy import Agent, Auth, TextDeltaEvent


async def main():
    async with Agent(
        model="openai/gpt-4o",
        auth=Auth(
            token="your-application-credential",
            gateway="https://dev-api.corepass.com/rs",
        ),
    ) as agent:
        handle = await agent.run("Explain this project")
        async for event in handle:
            if isinstance(event, TextDeltaEvent):
                print(event.text, end="", flush=True)
        result = await handle.result(raise_on_error=True)
        print(result.usage)


asyncio.run(main())

One Agent runs one turn at a time. A second run() while that turn is still active raises RemyError with code turn_already_running before it contacts Core. The next run() is accepted after the active turn reaches a terminal state.

await agent.run() returns an identified Run; await handle.result() returns a RunResult with status, text, messages, usage, optional error and interruption state. Failed remote runs return status failed; pass raise_on_error=True or call result.raise_for_status() to raise the typed RemyError. Transport failures raise directly. A Core exit or protocol error includes the redacted stderr tail in the message and on RemyError.diagnostics; the auth token is replaced with [REDACTED]. Retry metadata is exposed as is_retryable, retry_after and request_id when supplied by Core.

Run events have a typed payload view (TextDeltaEvent, ThinkingDeltaEvent, ToolEvent, ToolUpdatedEvent, TurnStartedEvent, ModelRollbackEvent, InteractionEvent, UsageEvent) and an envelope carrying run_id, attempt_id, seq, origin, session_id and turn_id. UsageEvent.kind is usage_step or usage_turn_total when Core says which one it is, and absent when it does not. An unknown event stays a RunEvent, and its payload is kept. One iterator consumes each Run stream. Events spill from memory into a temporary file after 1 MiB, so awaiting only the result never stalls Core or accumulates an unbounded in-memory queue. A completed Run can still be iterated after its Agent closes; Run.aclose() releases its stream explicitly. await handle.cancel() requests cooperative cancellation and escalates if the child stalls.

run() and arun() accept the same turn arguments as Agent.run: session, resume_at, run_state, and messages.

For synchronous scripts use run(prompt, model=..., auth=...). Inside an event loop use await arun(...). Missing model/auth is rejected before spawning, and neither bearer nor gateway is read from ambient process configuration.

Which models remy-service accepts

from remy import Auth, models

for model in await models(auth=Auth(token=..., gateway=...)):
    print(model.id, model.display_name)

Deliberately NOT a method on Agent. Choosing a model is what a consumer does before it has an Agent, and an Agent is a Core child process — reaching the catalog only through one would mean spawning a kernel to answer the question that decides how to configure that kernel. GET /models opens no session, spends nothing and needs no usage task, so none of the reasons the Core owns the model relationship apply: it owns that relationship because it owns turns.

Calls GET {gateway}/api/v1/inference/models for a member credential, or the developer API's GET {gateway}/api/v1/developer/v1/models for a developer key.

This is the one public call that talks to remy-service directly. The protocol reserves a model.list command for a Core that wants to answer this itself; no Core implements it, and this does not wait for one.

Local tools, permissions and hooks

from remy import Agent, Auth, PermissionDecision, tool


@tool
async def add(a: int, b: int) -> int:
    """Add two integers."""
    return a + b


async def allow_tool(name, arguments):
    return PermissionDecision("allow", updated_input=arguments)


def observe(context):
    print(context)


agent = Agent(
    model="openai/gpt-4o",
    auth=Auth("your-token", "https://dev-api.corepass.com/rs"),
    tools=[add],
    can_use_tool=allow_tool,
    hooks={"before_tool": observe, "after_tool": observe},
)

@tool derives JSON Schema from typed named parameters; supply input_schema explicitly for schemas that cannot be inferred. A parameter annotated CallbackContext is left out of that schema and receives the call identity: run_id, attempt_id, session_id, request_id, tool_call_id, name, and kind. current_callback_context() returns the same object for the duration of the callback, including a sync callback and a **arguments dispatcher that passes input_schema. An explicit schema that also declares that parameter name is rejected. Sync callbacks run off the event loop; async callbacks are awaited. Tool callbacks receive keyword arguments, permission callbacks receive (tool_name, arguments), and hook callbacks receive a boundary context dictionary. A CallbackContext parameter is passed by name, so it can be the first parameter. Callback exceptions and non-JSON results travel back as errors and fail the run rather than being ignored.

ToolEvent carries tool_call_id, and a finished event also carries status, preview, and output_handle. preview is not the tool result. The unclipped body is RunResult.tool_outputs, paired by tool_call_id. A role: "tool" row in messages is the transcript the model saw and may be clipped or replaced by a persist reference. A body that does not fit in the terminal frame is read back in pages before the result is published. If a page cannot be read, that entry has no content and its error.code is tool_output_incomplete. The run status stays the status Core reported.

callback_timeout defaults to 110 seconds. It must be greater than 0 and at most 110, which stays under Core's 120 second wait. A timeout fails the run with callback_timeout. A timed-out sync callback releases its slot, so a later sync callback can start while that call is still unwinding. Ending a run cancels its outstanding async callbacks. A callback response Core rejects after that run has finished does not fail a later run. One agent runs one turn: construct a new agent when the tool set or the trusted context changes. run(..., timeout=seconds) cancels that turn at the deadline. A sync tool may still finish a write after the run has ended; dedupe with the host's operation id plus run_id and tool_call_id. Keep credentials in the host process. Do not forward them through mcp_servers; Core connects those servers itself.

Hooks support before_run, after_run, before_tool, after_tool. Inline registration lists may specify an explicit command or a named callback provided in hook_callbacks. Inline skills, agents and hooks, including empty values, replace their file-provided category. Omit a category to use contributions from explicit setting_sources files/directories. The default is no files. mcp_servers forwards named stdio/HTTP configurations to Core, which owns their connections.

The default permission mode interrupts before an unapproved tool. Other modes are accept_edits and explicit bypass_permissions. A callback may allow, deny, modify the input or interrupt. An interrupted RunResult contains Core-authored RunState; serialize with to_json() and restore with RunState.from_json(). Approve a pending call with state.with_approval(call_id, "allow"), then await agent.resume(state). Core validates the durable checkpoint and executes only pending work. Completed calls are not replayed.

Sessions

agent.sessions.create/get/list/fork/delete always query Core. A returned Session provides run, resume, fork(resume_at=message_id), refresh, and delete; a run can also accept session=session_or_id and resume_at=message_id. run(prompt, messages=[...]) uses that list as the prior transcript. It cannot be combined with resume_at or run_state. A transcript that does not fit in one frame is written with sdk.history.write and then referenced by turn.start. A transcript above 32 MiB is still refused with frame_too_large. The terminal result and a later sessions.get, list, or fork page a transcript that does not fit in one frame; the SDK reassembles it before returning. The Core owns durable session IDs and message IDs. SessionStore holds detached in-memory snapshots only; refresh a Session after a run to update its mirror. Auth is never included in these snapshots.

Two ways to own history:

  • Pass messages on each turn and omit session. The caller keeps the transcript. Core opens a scratch session for that turn and deletes it after completed. cancelled and failed also delete it, unless that row still holds an approval checkpoint. An interrupted turn keeps the scratch session, because resume() reads the checkpoint stored there. A later resume that returns failed or cancelled, or raises before replacing the checkpoint, leaves that checkpoint in place so the same RunState can be retried.
  • Use sessions.create when the session should stay until sessions.delete or Session.delete. A run that names neither session nor messages also returns a session id and keeps that row until delete or purge. Delete removes the transcript and any checkpoint. A session leased by a live Core process is refused.

Agent(session_dir="/data/remy-sessions") selects the sqlite file for those rows. The directory is created when the Core process starts. Omit it and sessions live under $COREPASS_HOME/sdk (default ~/.remy/sdk). session_dir only moves the SDK session database. env=None inherits the parent environment except ambient bearer tokens. env={...} replaces that environment; it does not merge. A container mounts the directory and constructs the agent with the same path after a restart:

agent = Agent(
    model="openai/gpt-4o",
    auth=Auth("your-token", "https://dev-api.corepass.com/rs"),
    session_dir="/data/remy-sessions",
)

Recovery stays on one machine and one directory. resume(state) in the same process, or a new process opened on that session_dir, continues the pending tool calls. Completed calls are not replayed. A RunState whose session is not in that database fails with unknown_conversation. A session that has no checkpoint fails with invalid_frame and session has no resumable interruption. This is not a shared store: a second live process finds the session leased. Do not point two replicas at one directory and expect either of them to resume.

sessions.purge(older_than=3600) deletes scratch sessions, and sessions opened by a run that did not name a session, when they were last updated more than that many seconds ago. It leaves sessions created with sessions.create, and it leaves a row that still has an interruption. include_interrupted=True also deletes those abandoned checkpoints. A checkpoint waiting for approval is kept until resume, delete, or an explicit purge. A lease held by a live process is kept.

The optional tests/test_agent_real_core_host.py integration suite runs the installed SDK against current CLI/Core source in a separate Host interpreter and a local HTTP model server. It exercises actual Runner tool calls, permissions, hooks, token accounting, Session persistence/fork and checkpoint approval/resume, without contacting a live provider. Set REMY_CORE_HOST_PYTHON to a freshly installed Host interpreter to enable it. Only set REMY_CORE_HOST_SOURCE when explicitly testing source overlays; its value becomes the child PYTHONPATH. See the row-by-row contract audit for behavioral evidence and the remaining artifact/release limits.

Frozen-artifact verification uses the same tests: set REMY_CORE_HOST_BINARY to the extracted packaged executable. The tests start its run-module src.bridge.core_host entry (adding --sdk for public API tests). A binary takes precedence over the Host interpreter, and source overlays are not applied in this mode. A set-but-invalid path fails the test rather than skipping it.

Independent release entry

Use the shared release input contract. action=verify is the default; publication requires explicit manual publish. Before core_mode=existing or build, commit the exact Core dependency pin (and the TS lock when applicable); core_version must match it. Missing pins fail before a Core build starts. Tags verify only. No registry publication is implied by local source or artifact tests.

For a sealed Core download release, use --sdk python --core-mode sealed. The committed core-release.json pins the original archives. The workflow packages each platform as three wheels that pip installs through the existing remy-core-bin requirement.

Developer API keys

from remy import Agent, Auth, models

auth = Auth.api_key(api_key)  # SDK-managed production endpoint
# For the development platform: Auth.api_key(api_key, environment="dev")
catalog = await models(auth=auth)  # capacities, capabilities, reasoning and API prices
async with Agent(
    model=model_id,
    auth=auth,
    max_output_tokens=4096,
    correlation_id=business_run_id,
    source_type="eligibility",
) as agent:
    run = await agent.run(prompt)
    result = await run.result(raise_on_error=True)

Choose model_id from the authorized catalog; it publishes no default model. Applications supply a key and optionally select environment="dev"; the SDK owns platform URLs. gateway= remains an advanced private/test override. reasoning_effort uses chat_reasoning_effort_options, not UI effort aliases. Reasoning/correlation options require API mode; max_output_tokens also works for bearer consumers. API calls accept no legacy task_id: remy-service manages wallet reservations and settlement. API metadata does not select an organization, project, wallet or application identity. Application correlation is recorded only for keys bound to a platform application grant.

API mode requires Core capability sdk.api_gateway.v1 before initialization. Current previously built wheels do not include it; build and distribute a new compatible Core/SDK pair before using default binary discovery. Source validation is not frozen-package acceptance. Standalone execute_tool does not accept API keys until a billed public web-tool ingress exists. Function tools supplied by the application remain supported; provider-specific thinking/speed and provider-owned tools are outside this API contract.

Remy service routing

Auth.gateway is the remy-service origin; Core sets REMY_SERVICE_ORIGIN from it for the turn, and every model call, model listing, web tool and usage read goes there (/api/v1/inference, or /api/v1/developer/v1 for a developer key). Embedders using Remy business capabilities must also provide REMY_SUPPORT_ORIGIN (client-support, including its ingress prefix such as /rs) in the Core child environment. Existing process options preserve both values. Set REMY_CHAT_SCOPE to the validated user--org selection for account-backed execution; the reserved SDK scope is local ownership only. The bearer still travels through protocol initialization, not ambient EDGE_TOKEN. Core never calls the model gateway directly. Cloud operators must configure these origins explicitly; SDKs do not infer them from UC or Edge URLs.

Metadata

Release files for remy-agent-sdk 0.3.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for remy-agent-sdk 0.3.13
File Size Uploaded Provenance Actions
remy_agent_sdk-0.3.13.tar.gz 205.7 kB Without provenance Details for remy_agent_sdk-0.3.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for remy-agent-sdk 0.3.13
File Interpreter ABI Platform Actions
remy_agent_sdk-0.3.13-py3-none-any.whl Python 3 none any Details for remy_agent_sdk-0.3.13-py3-none-any.whl

Total release size: 320.5 kB

Release files / remy_agent_sdk-0.3.13.tar.gz

Download URL remy_agent_sdk-0.3.13.tar.gz
Size 205.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ed05f7360817893471add280145895a261ee5e2de0cbf2c0fc0c5211381cb9d4
BLAKE2b-256 checksum
How to use checksums
ebf35164b969d3a1f50b00407beafb83e6133b544bce44aa9c513a4eaab37ad7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / remy_agent_sdk-0.3.13-py3-none-any.whl

Download URL remy_agent_sdk-0.3.13-py3-none-any.whl
Size 114.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8be30878ab443450eb6e721039c2910a998f87552c87f986e8cba72ce2a8a21c
BLAKE2b-256 checksum
How to use checksums
a49b4bc3dc7bb8fedd123f4a3de1781784b1b8b87e884863aef0d8054c4d1951
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for remy-agent-sdk 0.3.13

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.

No provenance found

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

This release

0.3.13 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page