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.6.1.tar.gz (122.1 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.6.1-py3-none-any.whl (89.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fipsagents-0.6.1.tar.gz
  • Upload date:
  • Size: 122.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for fipsagents-0.6.1.tar.gz
Algorithm Hash digest
SHA256 3afc2b974507c7a46dea39cf6fd54319a6b16ec88f427dcddb19ad82a0add394
MD5 0fdab9853ce8dbfb66f46e5252f03562
BLAKE2b-256 a103c58c4f05a059b719c19cb810e9279f407715d38a8d750887f8c4adb8f5dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fipsagents-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 89.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for fipsagents-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae0246a75a24d55aaa58e5b1a21b3fb2f52c262da80fb0d288eeea201a1b6897
MD5 635628bc32a46d4209c99dae072ee73b
BLAKE2b-256 687f86c1e03ae21616456daaebc40ec7b9b69a2152c6e70f900c34c6095abb02

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