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-sdkdefines agent behavior and structurefred-runtimeenables 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-sdkclean, 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
- Use
fred-sdkto define agents - Use
fred-runtimeto execute them within a configured environment
Conceptual model
fred-sdk: defines what the agent doesfred-runtime: defines how the agent runs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fred_runtime-0.1.14.tar.gz.
File metadata
- Download URL: fred_runtime-0.1.14.tar.gz
- Upload date:
- Size: 120.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c6efa72a876d84b2de3e26a09675c9b7173dddc4b34b760cf2dc6a761704167
|
|
| MD5 |
a56c5414c126f53c776fffa1af585d70
|
|
| BLAKE2b-256 |
6889d1aeaac3544957e8d6bc8ba41c619ce57d0b9abe320f035ae0753d08ab94
|
File details
Details for the file fred_runtime-0.1.14-py3-none-any.whl.
File metadata
- Download URL: fred_runtime-0.1.14-py3-none-any.whl
- Upload date:
- Size: 128.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc6aa12c06ea97d5510fdf57b65047fc957afb414518e6714b6f3126fab27773
|
|
| MD5 |
c689a36b6b0a7f4135351329d7ee920d
|
|
| BLAKE2b-256 |
c8d77033b1a16a02e23a9c5a8d3a4ca1df9875931ffc855b07b550ec7f2a3edd
|