← Back to Leaderboard
Fpromptise-com

promptise-com/Foundry

Python agent SDK and runtime for governed tool access and deployment

Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated yesterday
Latest Release
v1.12.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
CLIMCPAPIDocker
Total Stars
★ 898
24h Growth
+1
7d Growth
+1
Forks
136

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

promptise-com/Foundry Star History (2025-08-29 - 2026-12-03) ALL-TIME STAR HISTORY (2025-08 – 2026-12) +897 in 461d · avg +2/day 948 474 0 2025-08-29: ★ 12025-09-27: ★ 5762025-10-25: ★ 6202025-11-22: ★ 7292025-12-20: ★ 7622026-01-17: ★ 7852026-02-14: ★ 7882026-03-14: ★ 7912026-04-11: ★ 7982026-05-09: ★ 8242026-06-06: ★ 8362026-07-04: ★ 8432026-08-01: ★ 8572026-08-29: ★ 8642026-09-26: ★ 8672026-10-24: ★ 8912026-12-03: ★ 898 ★ 898 2025-08 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Foundry is a Python SDK and runtime split into agent execution, tool interfaces and an operational harness. The async build_agent entrypoint combines model selection and instructions with native @tool functions or dynamically discovered MCP tools. Python type hints define native tool schemas; ainvoke drives a message-based run, and shutdown closes the agent. Input checks, tool calls, approval and audit can all be part of the same request path.

The promptise package uses a setuptools build backend with setuptools-scm for versioning and supports LangChain chat models. promptise.toml defines the project entry file, scripts and environment. promptise run executes that entry file and can instrument agents created by the program, so local debugging and HTTP serving do not require separate agent implementations. The MCP interface supports stdio, streamable HTTP and SSE.

Key Capabilities & Differentiators

Model integrations span hosted providers such as OpenAI, Anthropic, Azure OpenAI, Gemini and Bedrock, as well as Ollama and Hugging Face. FallbackChain supports model failover. Conversation storage can use PostgreSQL, Redis, SQLite or memory; ChromaDB, Mem0 and Sentence Transformers are available for memory and embedding workflows. Traces expose tool calls, token use and cost, with OpenTelemetry and Prometheus among the observability integrations.

Governance features include tenant-scoped state and audit, agent identity through systems such as Entra ID or SPIFFE, and a tamper-evident audit chain. MCP server approval gates reject self-approval and deny on timeout. MCPcast turns OpenAPI or Swagger into an installable MCP server project with tests and a Dockerfile, regenerated from mcpcast.plan.yaml. It exposes reads by default, puts opted-in writes behind server-side approval, and offers an optional agent-based --eval.

Trade-offs & Limitations

Compared with assembling a service directly on LangGraph, Foundry is attractive when tool discovery, approval, identity, state and runtime diagnostics need to be standardized across agents. A lower-level stack is a better fit when the team wants direct control of graph and state design or already has a serving and governance layer. For a single stateless assistant with a few Python tools, adopting the full runtime may add more configuration than it saves.

The package is classified as Beta even though it includes production startup features. Test tenant boundaries and approval behavior with your own storage, tools and identity providers. In particular, a server-side approval gate governs calls through that server, not any alternate path to the underlying API. Treat trace redaction as an integration test, especially when exporting telemetry or upgrading from older versions. Apache-2.0 supports commercial adoption, but model and service terms remain separate.

Hardware & Deployment Guide

Install promptise on Python 3.10 or later and configure credentials for the chosen model provider. promptise init --project my-bot scaffolds the project; promptise run --devtools exposes live traces, --tui opens the terminal interface, --serve exposes an HTTP API, and --prod adds JSON logs, preflight checks and graceful SIGTERM handling. Docker and gVisor are supported for sandboxing, Kubernetes health probes are listed, and MCPcast generates a Dockerfile for its server output.

A hosted-model setup does not inherently need a GPU. An air-gapped deployment must also provision inference, security models, embeddings and storage locally, rather than just self-hosting the Python process. Size for the selected models, context lengths and concurrency. In v1.10.0, .env lookup stopped at the project root and streamed runs gained a deadline. v1.10.1 fixed a raw tool-result disclosure in tracing and observers despite scanning being enabled. v1.11.0 added keyless Azure OpenAI support and fixed runtime-agent MCP visibility in the TUI.

Tool integration: Typed Python functions and MCP tool discovery over stdio, streamable HTTP or SSE
Write controls: Server-side MCP approval gates reject self-approval and deny on timeout
API conversion: MCPcast generates a package, tests and Dockerfile from a plan; writes are excluded by default
State boundaries: Tenant-scoped memory, cache, conversations, rate limits and audit, with SQLite, PostgreSQL or Redis conversation storage
Identity and audit: Entra ID, AWS IAM, Google Cloud, SPIFFE or OIDC integrations and a tamper-evident audit chain
Operations: One project CLI for local runs, a TUI, an HTTP API and production startup with JSON logs and preflight checks
Best For

Teams deploying tool-using assistants that need shared identity, tenant-scoped state, approval for sensitive writes and auditable operations.

Skip If

A small stateless assistant needs only a few function calls, or your existing orchestration and policy stack already provides these controls.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v1.12.0 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

CLIMCPAPIDocker
pip install promptise
export OPENAI_API_KEY=sk-...

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Foundry ★898+1PythonApache-2.0Python agent SDK and runtime for governed tool access and deployment
ruflo82.8k+342TypeScriptMITA TypeScript orchestration layer for coding agents, with shared memory and MCP
rocketride-server19.9k+22PythonMITC++ workflow engine for building and running extensible AI pipelines
agno43.4k+66PythonApache-2.0Python framework and runtime for durable agent services over REST and MCP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/promptise-com/Foundry.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

promptise-com/Foundry Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Foundry

Do I need to convert my existing Python tools or APIs to MCP?

No. The async build_agent entrypoint accepts native Python functions decorated with @tool and uses their type hints as tool schemas. For existing MCP servers, pass server specifications for tool discovery. MCPcast is a separate option for turning an OpenAPI or Swagger description into a reviewable MCP server project.

Does Foundry need a GPU, and what determines runtime overhead?

Not for a deployment that uses hosted inference and no GPU-backed local components. Size the Python process and backing services for concurrent runs, tool calls and trace volume. With local inference, embeddings or guardrail models, size hardware for the actual models, context lengths and concurrency. There is no single framework-wide VRAM requirement.

Can I self-host Foundry commercially, and does that make the deployment compliant?

Apache-2.0 permits commercial use and self-hosting. If you redistribute the software, follow the license and notice requirements, and assess selected models, services and dependencies separately. Approval, audit and deletion controls can support compliance work; they do not establish compliance on their own.

When is Foundry a better fit than building directly on LangGraph?

Choose Foundry when standardized MCP access, server-side approvals and a common launch and observability workflow are worth adopting together. Build directly on LangGraph when explicit graph and state control matter more and your team already owns the surrounding service, policy and instrumentation layers.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining promptise-com/Foundry? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature promptise-com/Foundry on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare