--- type: assessment function: education region: north-america maturity: live ownership: n/a tags: [agentic-frameworks, campus-ai-cooperative, open-source, security, higher-ed] --- # Open-Source Agentic Frameworks for University Deployment *Assessment, Sept 2026. What "enterprise-safe" means for a campus, which frameworks and platforms meet the bar, and where the risks concentrate. Cross-ref: [Campus AI Cooperative](../../solidarity-economies/projects/).* ## Evaluation criteria (university context) An agentic framework is deployable at a university when it clears: 1. **Data protection** — FERPA/GDPR/HIPAA-adjacent obligations: self-hosting or a data-residency guarantee, no training on institutional inputs, retention controls. 2. **Identity & access** — SSO/OIDC/LDAP integration with campus IdP, RBAC, per-group permissions, audit logging. 3. **Model diversity** — genuinely model-agnostic: open-weight local models (Ollama/vLLM) and multiple commercial APIs behind one interface, so no vendor lock-in. 4. **License** — permissive open source (MIT/Apache-2.0) or at minimum an auditable license; avoid AGPL/SSPL surprise clauses where IT objects. 5. **Security posture** — active maintenance, security policy, sandboxed tool/code execution, and alignment with the OWASP GenAI guidance set. ## Frameworks (agent orchestration layer) | Framework | License | Model-agnostic | Enterprise notes | |---|---|---|---| | **LangGraph** | MIT | Yes | "Most production-grade option" per Contabo: state checkpointing, streaming, human-in-the-loop; graph structure maps to audit trails [1] | | **PydanticAI** | MIT | Yes | Type-safe, structured outputs, validation, observability (Logfire); strong fit for compliance-sensitive codebases [5] | | **CrewAI** | MIT | Yes | Fast prototyping, role-based crews; smaller corporate backing = more framework risk for long-term commitments [3][6] | | **AutoGen / Microsoft Agent Framework** | MIT | Yes | AutoGen now in maintenance mode, "receiving only bug fixes and security patches"; successor Microsoft Agent Framework GA April 2026 with ≥1 year security-patch commitment [3][6] | | **smolagents (HF)** | Apache-2.0 | Yes | Minimal (~1k LOC) — easy to audit; best for prototypes, lacks durable state management [3][4] | | **OpenHands** | MIT | Yes | Agentic coding/dev platform, self-hostable, model-agnostic core [3] | ## Platforms (self-hosted chat + agent surfaces universities actually deploy) - **Open WebUI** — the fuller agentic surface: model-called tools, MCP servers, sub-agents, timers/automations; enterprise RBAC, SSO/OIDC/LDAP, SCIM 2.0; deploys via Docker/K8s with OpenTelemetry [9]. - **LibreChat** — MIT, multi-provider unified chat, agents with MCP support, subagents, shared agent permissions, "enterprise-ready multi-user authentication"; narrower scope but simpler to govern [10][9]. Both pair naturally with a campus inference layer (vLLM serving open-weight models, or a co-op utility like Inference Cooperative) so student/faculty prompts never leave institutional infrastructure. ## Security baseline - **OWASP GenAI Security Project** published the 2026 Top 10 for LLM Applications (10k downloads in 48h) plus a new **Agent Control Standard** for securing agentic systems — use both as the threat-model checklist [7]. - Agentic-specific risks concentrate in: prompt injection via retrieved content/tools, excessive agency (over-broad tool permissions), memory/PII leakage in shared state. Framework features that map to mitigations: LangGraph checkpointing + human-in-the-loop interrupts; PydanticAI schema-validated outputs; Open WebUI per-group RBAC. ## Recommendations for campus deployment 1. **Reference stack**: Open WebUI or LibreChat → gateway (LiteLLM-class router with per-user keys/quota) → vLLM/Ollama for open-weight models + selective commercial APIs; LangGraph or PydanticAI for custom agents. 2. **Gate agents by data tier**: no tool/network access for agents touching FERPA-regulated records; human-in-the-loop approval for writes. 3. **Prefer permissively-licensed, auditable code** — smolagents' ~1k LOC and LangGraph's graph-as-audit-trail properties are genuine governance assets. 4. **Watch the AutoGen→Microsoft Agent Framework migration** if any campus projects build on AutoGen; plan for the successor [3][6]. ## Sources [1] https://contabo.com/blog/best-open-source-ai-agent-frameworks — Best open-source AI agent frameworks to self-host (Contabo) > "It's widely regarded as the most production-grade option here, with built-in state checkpointing, streaming, and human-in-the-loop support for long-running workflows. Written in Python with TypeScript support, fully model-agnostic." [3] https://www.firecrawl.dev/blog/best-open-source-agent-frameworks — Firecrawl: best open-source agent frameworks > "maintenance mode, receiving only bug fixes and security patches, though existing projects contin[ue]" [4] https://www.qed42.com/insights/choosing-the-right-agentic-ai-framework-smolagents-pydanticai-and-llamaindex-agentworkflows — QED42: choosing an agentic framework [5] https://pydantic.dev/pydantic-ai — PydanticAI official site > "Type-safe Python framework for bu[ilding...]" [6] https://www.langchain.com/resources/ai-agent-frameworks — LangChain: best AI agent frameworks 2026 > "security patches for at least one year after MAF GA" [7] https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026 — OWASP GenAI LLM Top 10 2026 > "a new Agent Control Standard for securing agentic AI systems" [9] https://docs.openwebui.com/alternatives/librechat — Open WebUI docs: Open WebUI vs LibreChat > "Full agentic platform with builtin tools the model calls itself, MCP servers, sub-agents , timers and automations" > "Enterprise features including RBAC, SSO/OIDC/LDAP, SCIM 2.0, analytics dashboards" > "Flexible deployment via Docker, Kubernetes, pip, or desktop app, with horizontal scaling and OpenTelemetry" [10] https://github.com/danny-avila/LibreChat — LibreChat GitHub > "enterprise-ready multi-user authentication" [11] https://edtechmagazine.com/higher/article/2025/12/ai-agents-higher-education-transforming-student-services-and-support-perfcon — EdTech Magazine: AI agents in higher education > "Universities explore how AI agents and chatbots can streamline student services, automate support and empower IT teams." ## Addendum: personal agent runtimes (OpenClaw / Hermes class) A distinct layer from the orchestration frameworks above: **always-on, self-hosted personal agent runtimes** — a gateway process that connects to messaging channels (WhatsApp, Telegram, Slack, Matrix), holds persistent memory and skills, executes tools/code on its host, and works with any backend model via the operator's own keys. | Runtime | License | Model-agnostic | Notes | |---|---|---|---| | **OpenClaw** | MIT (OpenClaw Foundation) | Yes — model providers "are plugins you can swap" [15] | 100k+ stars; broad channel support; BYO API keys | | **Hermes Agent** (Nous Research) | MIT | Yes — per-backend keys; local, Docker, SSH, sandbox runtimes [16] | Self-improving skills, FTS5 session search, cron scheduler; imports OpenClaw configs | | **Block Goose** | Apache-2.0 | Yes | Desktop/CLI agent, "beyond code suggestions — install, execute, edit"; strong MCP support [14] | | **Khoj** | AGPL-3.0 | Yes (cloud or local) | "AI second brain" — RAG over local files/Obsidian/Notion; less tool-execution-oriented [13] | | **Open Interpreter** | Apache-2.0 | Yes | Local code-execution agent; prototyping more than 24/7 operation [17] | **University fit.** These are *single-operator* runtimes, not multi-user platforms — the right pattern is: IT or a department hosts one instance per staff/faculty member (or one per lab) on managed infrastructure, pointed at campus SSO-guarded channels and the institutional inference gateway. That keeps conversation memory and credentials on university hardware rather than in a consumer cloud. OpenClaw and Hermes are both MIT and explicitly BYO-keys/model-agnostic [12][15][16], so they slot in front of the same vLLM/co-op inference layer as the frameworks above. Risks to gate: tool approval defaults (require allowlists), secrets handling on the host, and per-instance (not shared) memory for FERPA-touching work. Khoj's AGPL and Goose's Apache-2.0 are fine for internal use; flag AGPL if IT ever exposes a modified Khoj as a network service. New sources: [12] Okou comparison, [13] khoj.dev, [14] github.com/block/goose, [15] github.com/openclaw/openclaw, [16] github.com/NousResearch/hermes-agent, [17] github.com/OpenInterpreter/open-interpreter