Skip to main content

Runtime adapters and infrastructure wiring for Fred v2 agents.

Project description

Fred Runtime

fred-runtime provides the execution layer and infrastructure adapters for Fred v2 agents.

It complements:

  • fred-sdk (https://pypi.org/project/fred-sdk/) — agent authoring APIs
  • Backend implementations — databases, Knowledge Flow, MCP, tracing, security, and other platform services

Overview

The Fred architecture is based on a clear separation between agent definition and agent execution.

fred-sdk — Authoring layer

Developers use fred-sdk to define and structure agents. This includes:

  • Chat-oriented profile agents
  • Multi-agent or team-based architectures (comparable to frameworks such as Agno)
  • Workflow-driven agents

This layer provides:

  • Agent interfaces and abstractions
  • Tool integration patterns
  • Prompt and behavior definitions
  • Runtime contracts (in abstract form)

It is intentionally designed to be lightweight, portable, and independent of any specific backend or infrastructure.


fred-runtime — Execution layer

fred-runtime provides the concrete implementation required to execute agents defined with fred-sdk.

Its responsibilities include:

  • Checkpointing (e.g., LangGraph state persistence)
  • Tracing and observability
  • Security integration
  • Runtime wiring for tools and external systems (MCP, Knowledge Flow, etc.)
  • Infrastructure adapters (SQL, storage, and related services)

In summary:

  • fred-sdk defines agent behavior and structure
  • fred-runtime enables their execution in real environments

Backend / platform layer

The hosting application or platform is responsible for:

  • Data storage and persistence
  • API exposure
  • Deployment and operations (local environments, Kubernetes, etc.)
  • Integration with external systems

Purpose

This package exists to:

  • Keep fred-sdk clean, stable, and backend-agnostic
  • Centralize runtime logic that would otherwise be duplicated across projects
  • Provide a consistent and production-ready execution layer
  • Enable external agent repositories (such as rags-v2) to run Fred agents with minimal setup

Implementation details

fred-runtime relies on:

  • LangChain and LangGraph for execution and orchestration
  • Runtime contracts defined in fred-sdk

These dependencies are abstracted so that agent developers can focus on authoring rather than infrastructure concerns.


Scope (initial)

  • SQL-backed checkpointer for LangGraph runtimes
  • Runtime helper utilities extracted from the agentic backend

Additional runtime adapters will be progressively integrated as the platform evolves.


Developer workflow

Typical usage:

pip install fred-sdk fred-runtime
  1. Use fred-sdk to define agents
  2. Use fred-runtime to execute them within a configured environment

Conceptual model

  • fred-sdk: defines what the agent does
  • fred-runtime: defines how the agent runs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fred_runtime-0.1.15.tar.gz (124.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fred_runtime-0.1.15-py3-none-any.whl (131.9 kB view details)

Uploaded Python 3

File details

Details for the file fred_runtime-0.1.15.tar.gz.

File metadata

  • Download URL: fred_runtime-0.1.15.tar.gz
  • Upload date:
  • Size: 124.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fred_runtime-0.1.15.tar.gz
Algorithm Hash digest
SHA256 5d398485f3309d7045e4699cc77bb2b2b586ea04bf741095f8f0b8ccae76db82
MD5 2fd450db3fd4aa640d1755b6da38f65f
BLAKE2b-256 b4fd190b29c6133d9595f975a1cc707ad15f1ac15525cb148b9cdb0cbbcc55df

See more details on using hashes here.

File details

Details for the file fred_runtime-0.1.15-py3-none-any.whl.

File metadata

  • Download URL: fred_runtime-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 131.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fred_runtime-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d8bf2e13bb8262523508f6e947199d80316011c176dfa034120e124d364b9483
MD5 5f806a11c0d59c44abfda397329da431
BLAKE2b-256 30f94b8e759be159297ec2cdfa04a54f19971ba6c87c1f3b806defcca7788ce3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page