Idun Agent Platform
Ship a LangGraph or Google ADK agent as a self-hosted FastAPI service with chat UI, guardrails, MCP tool governance and traces.
- Source repo
- Idun-Group/idun-agent-platform
- Stars
- ★ 209
- Last updated
- 8d ago
- FARS reviewed
- Dec 02, 2026
- License
- GPL-3.0
- Primary language
- Python
- FA score
- 51/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A team has a working LangGraph prototype but still lacks conversation persistence, a chat UI and a trace store before internal users can try it — idun init supplies all three at once.
- Not a fit if
- Teams that need ongoing maintenance and security patches — the project is no longer maintained
- Teams expecting a no-code agent builder — you still write LangGraph/ADK Python code
- Closed-source products that cannot ship GPLv3 code
- Website
- idun-group.github.io/idun-agent-platform ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24
- Source review
- 51/100 · Major gaps 1 safety controls not found
What does this agent do, and when should you use it?
Idun Agent Platform is an open-source, self-hosted runtime wrapper that turns an existing LangGraph graph or Google ADK agent into a running FastAPI service. A single pip install idun-agent-engine wheel bundles three modules: idun_agent_engine (the FastAPI app factory plus MCP registry, observability and guardrails wiring), idun_agent_standalone (the idun CLI, the admin REST API under /admin/api/v1/, and the chat, admin and traces UIs) and idun_agent_schema (Pydantic models for config.yaml). Your agent is declared in one YAML file — for LangGraph via graph_definition: "./agent.py:graph" — with optional SQLite/PostgreSQL checkpointing, guardrails, versioned prompts and MCP servers, then started by the idun command as a single process with a browser chat page. It exposes an AG-UI/CopilotKit-compatible streaming API, per-agent MCP tool governance over stdio, SSE, streamable HTTP and WebSocket, and traces to Langfuse, Arize Phoenix, LangSmith or GCP Trace/Logging. The code is GPLv3 and, per its own README, no longer maintained, though the source and documentation stay online.
The runtime reads a config.yaml and loads your agent according to agent.type (LANGGRAPH or ADK): for LangGraph, graph_definition points at a graph object such as "./agent.py:graph"; ADK agents go through their adapter. Session state is persisted by the configured checkpointer (sqlite, postgres, in-memory, Vertex AI, ADK Database); mcp_servers registers MCP servers, and if your agent calls get_langchain_tools_sync() from idun_agent_engine.mcp, those registered tools become LangChain tools you can bind to a model. On startup it serves a FastAPI app on the configured port (8000 in the example): the root is the chat UI, /admin/ is the admin panel, /admin/traces/ the trace viewer, /admin/api/v1/ the admin REST surface, plus an AG-UI/CopilotKit-compatible streaming response for each agent. The guardrails block attaches Guardrails AI policies to input, output or both (for example DETECT_PII or TOXIC_LANGUAGE with on_fail: reject and a reject_message); the observability block ships each run to Langfuse, Arize Phoenix, LangSmith or GCP; the prompts block holds versioned Jinja2 templates; ${ENV_VAR} placeholders are resolved from the environment or a .env file at startup. Running idun agent serve --source file --path config.yaml skips the admin UI and serves the agent endpoints straight from YAML.
- A team has a working LangGraph prototype but still lacks conversation persistence, a chat UI and a trace store before internal users can try it — idun init supplies all three at once.
- A platform engineer must restrict which MCP tools each agent may call; the admin panel grants tools per agent across stdio, SSE, streamable HTTP and WebSocket servers.
- A regulated company needs PII and toxic-language checks on both input and output without writing its own middleware — declare DETECT_PII and TOXIC_LANGUAGE under guardrails with on_fail rules.
- An AI team already running Langfuse or Arize Phoenix wants agent traces to keep flowing to that backend while gaining an admin UI on top.
- A frontend team building CopilotKit clients needs an AG-UI-compatible streaming endpoint but does not want to maintain the server-side plumbing.
- An enterprise deploying on its own Kubernetes or intranet needs SSO/OIDC sign-in and local PostgreSQL checkpointing instead of a SaaS agent host.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install idun-agent-engine langgraph langchain-google-genai
- Environment variables
GEMINI_API_KEYLANGFUSE_PUBLIC_KEYLANGFUSE_SECRET_KEY- Config files
config.yaml.env- Runtime
- Python 3.12
How do you install or deploy this agent?
Prerequisites: Python 3.12 or 3.13, and an API key for whichever model your agent binds (the README example uses Gemini). Create a directory and install the engine:
mkdir my-agent && cd my-agent
pip install idun-agent-engine langgraph langchain-google-genaiInside that directory, write the LangGraph agent as agent.py:
from typing import Annotated, TypedDict
from idun_agent_engine.mcp import get_langchain_tools_sync
from langchain_google_genai import ChatGoogleGenerativeAI
from langgraph.graph import StateGraph, START
from langgraph.graph.message import add_messages
from langgraph.prebuilt import ToolNode, tools_condition
class State(TypedDict):
messages: Annotated[list, add_messages]
tools = get_langchain_tools_sync()
llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash").bind_tools(tools)
def chatbot(state: State):
return {"messages": [llm.invoke(state["messages"])]}
graph = StateGraph(State)
graph.add_node("chatbot", chatbot)
graph.add_node("tools", ToolNode(tools))
graph.add_edge(START, "chatbot")
graph.add_conditional_edges("chatbot", tools_condition)
graph.add_edge("tools", "chatbot")Declare the service, the agent and one MCP server in config.yaml:
server:
api:
port: 8000
agent:
type: LANGGRAPH
config:
name: "my-agent"
graph_definition: "./agent.py:graph"
checkpointer:
type: sqlite
db_url: "sqlite:///conversations.db"
mcp_servers:
- name: idun-docs
transport: streamable_http
url: https://gitmcp.io/Idun-Group/idun-agent-platformPut the key in .env:
GEMINI_API_KEY=your-key-hereOptionally smoke-test that all three bundled modules import and the CLI is wired:
python -c "import idun_agent_engine, idun_agent_standalone, idun_agent_schema; print('all 3 modules importable')"
idun --helpHow do you use this agent?
From inside my-agent/, initialise and launch (the relative graph_definition path is resolved against the directory you run it from, so stay there):
idun initA browser opens at http://localhost:8000 with the chat UI, and the agent already has tools from the Idun docs MCP wired in. Visit http://localhost:8000/admin to configure more MCP servers, managed prompts, guardrails, observability, messaging integrations and SSO, and http://localhost:8000/admin/traces for the trace store. To serve only the agent endpoints without the admin UI, run it straight from YAML:
idun agent serve --source file --path config.yamlGuardrails, observability and prompts all live in the same YAML file:
guardrails:
input:
- config_id: "DETECT_PII"
on_fail: "reject"
reject_message: "Request contains personal information."
output:
- config_id: "TOXIC_LANGUAGE"
on_fail: "reject"
observability:
- provider: "LANGFUSE"
enabled: true
config:
host: "https://cloud.langfuse.com"
public_key: "${LANGFUSE_PUBLIC_KEY}"
secret_key: "${LANGFUSE_SECRET_KEY}"Anonymous usage metrics and masked session replay via PostHog (EU region) are on by default and can be turned off:
IDUN_TELEMETRY_ENABLED=falseSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
What are this agent's strengths and limitations?
- One wheel bundles the engine, the idun CLI, the /admin/api/v1/ admin REST API and three UIs, so there is no separate frontend or admin service to deploy.
- Per-agent MCP tool governance with four transports (stdio, SSE, streamable HTTP, WebSocket) is built in rather than hand-rolled.
- 15+ Guardrails AI policies (PII, toxic language, ban lists, topic restriction, bias, NSFW and more) attach per agent on input, output or both with configurable on_fail behaviour.
- Multiple observability backends — Langfuse, Arize Phoenix, LangSmith, GCP Trace/Logging — can be connected at the same time purely through YAML.
- Self-hosted under GPLv3 with no SaaS control plane, while still exposing a standard AG-UI/CopilotKit streaming interface.
- The README states the project is no longer maintained, so no upstream features or security patches should be expected.
- GPLv3 copyleft may be incompatible with shipping it inside a closed-source product; legal review is needed before commercial use.
- It is a runtime wrapper only — you still write the LangGraph or Google ADK agent yourself, with no visual builder.
- Python 3.12/3.13 only, and idun_agent_standalone is co-bundled inside the wheel instead of being published on PyPI, so dependency auditors will not see it.
- PostHog telemetry, including masked session replay, is enabled by default and must be disabled with IDUN_TELEMETRY_ENABLED=false.
How does this agent compare with similar options?
The README itself frames three alternatives: LangGraph Cloud (managed LangGraph hosting, but not self-hosted and without guardrails or MCP governance), LangSmith (observability only, single provider), and DIY assembly with FastAPI plus glue code (full control, but you build guardrails, MCP governance, memory and tracing yourself). Idun positions itself as the governance-and-operations layer between your agent code and production rather than a replacement for LangSmith or LangGraph Cloud — it competes on self-hosting, multi-framework support and built-in controls, not on hosting or pure observability.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Idun Agent Platform This agent | 51 · Major gaps | Self-hosted serviceFree + model costs | ★ 209 | 8d ago | Python | — |
| Tracely | 68 · Some gaps | — | ★ 847 | 25d ago | Python | Claude Code · OpenAI API · Claude API |
| AGENA | 56 · Major gaps | Self-hosted serviceFreemium | ★ 104 | 1mo ago | TypeScript | Codex · Claude Code · OpenAI API |
| Agent Graph | 53 · Major gaps | Self-hosted serviceFree + model costs | ★ 239 | 5d ago | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Trust has real design elements but permissive defaults: the files document admin password mode, OIDC on agent routes, per-agent MCP tool governance, PII/toxicity guardrails, telemetry off-switches, and DB-write rollback on failed config reload. However admin auth may default to none, CORS allows all origins, some operational endpoints sit outside per-agent auth, and there is no user-confirmation mechanism before tool-side effects; external effects are mainly governed by guardrails and MCP allowlists, not enforced isolation. Scores: least_privilege=1, user_confirmation=0, data_flow_transparency=2, sensitive_data_handling=2, dependency_security=2 (pip-audit/pnpm audit and supply-chain policy exist, but audits are advisory), external_effects=1, rollback=2 (config reload rollback is documented, but no general agent-action rollback), source_attribution=2 (GPLv3, author and contact are clear, but no per-file provenance).
Reliability evidence is mostly documentation and CI configuration, not execution. Self-consistency has material conflicts: README says Python 3.12 or 3.13, while pyproject restricts >=3.12,<3.13; README also says the project is no longer maintained while CI and docs still present an active product. Dependency availability relies on PyPI and the claim that the wheel bundles standalone, while the root pyproject lists idun-agent-standalone without a version pin and no lockfile or built artifact is shown. For failure messages, CLAUDE.md sets global exception handlers, logger.exception, and no silent swallowing, but implementation and user-facing error text are not demonstrated. Scores: self_consistency=1, dependency_availability=1, failure_messages=1.
Audience and scenarios are clear: developers packaging LangGraph or Google ADK agents as FastAPI services, with quickstart, engine-only versus standalone, SQLite/Postgres, Cloud Run/Kubernetes, multiple MCP transports, sample skills, and a text-to-SQL tutorial. Capability boundaries are also reasonably stated (supported frameworks, no-DB mode, admin versus agent auth differences), and the sample SKILL.md descriptions are specific about when to use them. Environment fit is weakened by the Python-version contradiction and the single-process/single-tenant positioning, and no container or deployment artifact is shown. Scores: audience_and_scenarios=2, capability_boundaries=2, trigger_precision=2, environment_fit=1.
Convention is strong but not complete: README, docs, CLAUDE.md, repository map, and FAQ provide clear information architecture; install notes cover pip/uv, Postgres switching, environment variables, and smoke tests; examples and FAQ are plentiful, with full quickstart, config samples, and multilingual entry points; the LICENSE file is the full GPLv3 text, so license=3. Deductions are for unstable naming (idun-engine, idun-agent-engine, idun_agent_engine, idun-agent-standalone are mixed), no CHANGELOG file despite a version number in pyproject, and the major user limitation that maintenance has ended. Scores: naming_stability=1, versioning_changelog=1, maintenance_responsibility=2.
Output usability is supported by the product design and docs: a single FastAPI process, chat UI, admin, traces, AG-UI streaming, and config examples let developers reach a runnable shape quickly. Marginal value over DIY wrapping is clear (guardrails, MCP governance, observability, persistence, bundled UI). But the project is explicitly no longer maintained, GPLv3 constrains commercial redistribution, telemetry is on by default with configurable opt-out, broad CORS increases operational cost, and many capabilities are asserted in docs rather than shown in reviewable implementation. Scores: output_usability=2, marginal_value=2, cost_benefit=1.
Verifiability is weak: README/docs make many product claims, but the packet does not include the core implementation files needed to trace claims to code. Cross-source corroboration supports config fields, CLI, CI, and guardrail concepts, but also exposes Python-version and maintenance-status conflicts. Documentation does not clearly separate implemented facts, operational advice, and marketing comparisons, and the FAQ includes legal-interpretation statements. Scores: claim_traceability=1, cross_source_corroboration=1, fact_inference_separation=1.
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- README explicitly states the project is no longer maintained; assess fork, maintenance, or migration cost before production use.
- Python version claims conflict: README says 3.12 or 3.13, while pyproject says >=3.12,<3.13; verify actual package metadata before installing.
- Admin auth may be configured as none, CORS allows all origins, and some operational endpoints are outside per-agent auth; production deployments should add a trusted network boundary and reverse-proxy authentication.
- Dependency audits in CI are advisory, and the root pyproject lists idun-agent-standalone without a version pin; generate and audit a locked dependency set before deployment.
- GPLv3 imposes real constraints on commercial redistribution; the FAQ's licensing discussion is not legal advice, so obtain legal review before bundled commercial distribution.
- Telemetry is enabled by default with opt-out and may process email addresses after sign-in; for sensitive data, explicitly disable telemetry and session replay and review data flows.
FAQ
Is the project still maintained, and what risk does that carry?
Does the software itself cost anything?
What data leaves my environment by default?
Am I locked into one model provider?
Can I run it without the chat UI and admin panel?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.