Skip to main content

Production-ready AI agent framework for FIPS/OpenShift environments

Project description

fipsagents

Production-ready AI agent framework for FIPS/OpenShift environments. Provides BaseAgent — a pure Python, async-first base class that handles LLM communication, tool dispatch, MCP connections, prompt loading, skill management, configuration, and lifecycle so your agent subclass stays small.

Install

pip install fipsagents

With optional MemoryHub support:

pip install fipsagents[memory]

Quick start

from fipsagents.baseagent import BaseAgent, StepResult

class MyAgent(BaseAgent):
    async def step(self) -> StepResult:
        response = await self.call_model()
        return StepResult.done(response.content)

import asyncio
asyncio.run(MyAgent().start())

What's included

  • LLM client via litellm — one interface for 100+ providers (vLLM, LlamaStack, OpenAI, Anthropic, Azure, Bedrock)
  • Two-plane tool system@tool decorator with agent_only, llm_only, or both visibility
  • MCP client via FastMCP v3 — connect to remote tool servers
  • Prompt loading — Markdown with YAML frontmatter
  • Skills — agentskills.io progressive disclosure
  • Configuration — YAML with ${VAR:-default} env var substitution
  • MemoryHub — optional persistent memory (dual-path: MCP for LLM, SDK for agent code)
  • Protective patterns — max iterations, exponential backoff, rate limiting

Used by

This package is the shared framework for templates scaffolded by the fips-agents CLI:

  • agent-loop — single-agent loop (step() in a loop)
  • workflow — directed graph of nodes with typed state

License

Apache 2.0

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

fipsagents-0.4.0.tar.gz (77.0 kB view details)

Uploaded Source

Built Distribution

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

fipsagents-0.4.0-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file fipsagents-0.4.0.tar.gz.

File metadata

  • Download URL: fipsagents-0.4.0.tar.gz
  • Upload date:
  • Size: 77.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fipsagents-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6bd55498d9b1eecd3ad4ec498e2f868ca54cf91223a4cd4f5af9243221f9d94a
MD5 85272f81a1b988ce5f2dbc8075b4eadc
BLAKE2b-256 6ef01154f2f0e32916aa60f5a7c3c2e4c055f0654bf57baa8e818a64c57b74cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fipsagents-0.4.0.tar.gz:

Publisher: publish.yml on redhat-ai-americas/agent-template

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fipsagents-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: fipsagents-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 61.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fipsagents-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a89ead660468021a498dcc30f47748c40490a90b7532a47a9d8afb73123f893c
MD5 ad384f5e521037772c5b3350175f3327
BLAKE2b-256 47783c11ee0ef3d72fc36c2d696418183d5c9c17dec9318916d7f11ab6f749a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fipsagents-0.4.0-py3-none-any.whl:

Publisher: publish.yml on redhat-ai-americas/agent-template

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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