promptise-com/Foundry
promptise-com/Foundry has 895 GitHub stars and 136 forks. GitHot measured +1 stars in 24 hours, +2 in 7 days, and +3 in 15 days. Last checked 2026-11-09 14:43 UTC. Last push 2026-11-05.
The foundation layer for agentic intelligence.
Measured star growth
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalWhat Promptise is
The framework for agentic intelligence.
Promptise gives you everything an agentic system needs, in one place and working together from the first line: agents that think, safe ways for them to act in your systems, and a harness that keeps them running and accountable. You decide what your agent should do; Promptise takes care of everything around it.
Start with one agent on your laptop and grow it into a fleet running real work, with the same framework and the same way of building all the way through. No rewrite in between, and nothing to stitch together yourself.
| Layer | What it does for you |
|---|---|
| Agent · it thinks | Agents that work through a task step by step, check their own work and get it right. |
| Interface · it acts | Safe access to your tools, your data and the systems you already run. |
| Harness · it operates | Keeps your agents running around the clock, within budget, and accountable for everything they do. |
Get started in 30 seconds
pip install promptise
export OPENAI_API_KEY=sk-...
import asyncio
from promptise import build_agent, tool
@tool
def order_status(order_id: str) -> dict:
"""Look up the status of an order."""
return {"order_id": order_id, "status": "shipped", "eta": "Friday"}
async def main():
agent = await build_agent(
model="openai:gpt-5-mini",
instructions="You are a helpful support assistant.",
extra_tools=[order_status],
observe=True, # traces every step, token and cost
)
result = await agent.ainvoke(
{"messages": [{"role": "user", "content": "Where is order A-1001?"}]}
)
print(result["messages"][-1].content)
await agent.shutdown()
asyncio.run(main())
Any Python function with @tool becomes a tool; its type hints are the schema. To give the agent the tools of an MCP server, add it to servers; the agent discovers its tools by itself:
from promptise.config import HTTPServerSpec
agent = await build_agent(
model="openai:gpt-5-mini",
servers={"tools": HTTPServerSpec(url="http://localhost:8000/mcp")},
)
To start a full project instead, run promptise init --project my-bot.
Any model, one string. openai:gpt-5-mini · anthropic:claude-sonnet-5-5 · azure:chat-prod · gemini:gemini-3.8-flash · bedrock:… · ollama:llama3.1. The same string works in build_agent(), .superagent files and every CLI command, and promptise models check <string> tells you exactly what a provider still needs. → Model setup
Run your project
promptise.toml is to an agent project what package.json is to a Node project: it names the main file, the scripts and the environment the project needs. promptise run runs your program like python main.py; with dev tools, the terminal UI or the HTTP API it also instruments every agent the program builds, with no code changes.
promptise init --project my-bot # promptise.toml, agent.py, main.py, .env.example
promptise run # run main.py with the project's environment
promptise run --devtools # live traces, tool calls, tokens and cost
promptise run --tui # the full terminal UI
promptise run --serve # an HTTP API for your agent
promptise run --prod # JSON logs, preflight checks, graceful SIGTERM
[scripts] work like npm scripts (promptise run dev), and --watch restarts on every save. → Projects & promptise run
One request, through the whole system
A customer writes in at three in the morning. The runtime wakes the agent, its identity is established, the input is checked, it gathers context, plans, calls a tool through MCP, a person approves the refund, it checks its own work, answers, and every step lands in the audit trail.
Walk through all fourteen steps, with every module linked →
Already have an API? MCPcast it.
promptise mcpcast openapi.yaml --profile standard --auth env-token
MCPcast reads an OpenAPI or Swagger document and writes a real, reviewed MCP server: a small set of tools an agent can actually use, chosen and described for agents. Reads by default; writes only when you ask, and every one of them approval-gated on the server, so a person signs off before anything changes, whichever MCP client calls it.
What comes out is a project, not a script: an installable package, a launcher, a generated test suite, pyproject.toml, a Dockerfile and a README, all regenerated from mcpcast.plan.yaml, the one file you edit. --eval grades the result A to F with a real agent before you ship, and plain promptise mcpcast opens a guided setup in the terminal. Above: the real output for the Swagger Petstore spec. → MCPcast, end to end
Built for governance and structure
For people and teams who need their agentic systems to be accountable: who did what, on whose behalf, within which limits. These are part of the framework, not something you add later.
Multi-tenant, by construction. Tag a request with a tenant, and every place data lives — memory, cache, conversations, rate limits, audit — stays separated per tenant. Two tenants who both have a user named
alicecan never see each other's data. It's a structural rule, not a filter you have to remember on every query. → Multi-Tenant Platform guideHuman approval, enforced on the server. Mark a tool as needing sign-off and the approval is required no matter which app calls it — including one you didn't write. Denies on timeout, rejects self-approval, records who approved what. → Approval Gates
A real identity for each agent. Agents authenticate as themselves to the APIs they call, backed by Microsoft Entra ID, AWS, Google Cloud, SPIFFE, or plain OIDC — so you can retire the shared API key, and every action traces to the person it acted for, even across agents calling agents. → Agent Identity
Audit you can hand to a reviewer. Every action is written to a tamper-evident chain, tied to the tenant and the user. Delete one user's cached answers, memories and recorded events with
purge_user()when they ask. → Auth & SecurityRuns offline. The security models, embeddings, and vector store can all run locally — so the whole stack works air-gapped, for on-premises and regulated environments where data can't leave. → Guardrails · Model Setup
Everything Promptise ships
Works with what you already run
| Area | Works with |
|---|---|
| Models | OpenAI · Anthropic · Azure OpenAI & AI Foundry · Gemini & Vertex AI · Bedrock · Mistral · Groq · Ollama · Hugging Face · any LangChain chat model · FallbackChain for failover → Model setup |
| Memory & vectors | ChromaDB · Mem0 · Sentence Transformers · local embeddings for air-gapped installs → Memory |
| Conversations | PostgreSQL · Redis · SQLite · in-memory, with session ownership enforced → Conversations |
| Identity & auth | Microsoft Entra ID · AWS IAM · Google Cloud · SPIFFE / SPIRE · OIDC · JWT · OAuth 2.0 → Agent Identity |
| Observability | OpenTelemetry · Prometheus · Slack · PagerDuty · webhook · HTML · JSON · console → Observability |
| Sandbox & deploy | Docker · gVisor · seccomp · capability dropping · Kubernetes health probes → Sandbox |
| Protocols | Model Context Protocol over stdio, streamable HTTP and SSE · OpenAPI · HMAC-chained audit logs |
Contributing · Security · Changelog · License: Apache 2.0
Built by Promptise · questions and ideas in Discussions · bugs in Issues
Formerly DeepMCPAgent, a public preview of one part of this framework (MCP-native agent tooling).
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
300,269 starsNousResearch/hermes-agent
The agent that grows with you
262,100 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
231,390 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
200,178 stars