AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Vision / Multimodal/
photon
photon logo

photon

Active·★ 97·MIT·Updated 2026-05-28
★ Trending★ Vision / Multimodal★ LLM Infra

Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.

Photon lets you define logic once in TypeScript and automatically exposes it through three interfaces: MCP server for AI agents, CLI tool for automation, and Web UI for humans. It eliminates boilerplate by deriving tool definitions, validations, and UI from your code, making it easy to build and deploy multi-surface applications.

#ai-tools#beam#claude-code#claude-desktop#cli-tool#cloudflare-workers#cursor#developer-tools
$ Install
$ npm install -g @portel/photon
↗ Visit site★ GitHub
01

Features

01Auto-generated Web UI from method signatures
02One source file produces MCP server, CLI, and UI
03Built-in support for OAuth, scheduled tasks, webhooks, and distributed locks
04Standalone binary compilation via Bun
05Real-time events and persistent memory without infrastructure
02

Compatibility

Node.js
Node.js 20+
Verified via docs
TypeScript
TypeScript 5.0+
Verified via docs
MCP
MCP Compatible
Verified via docs
03

Quick start

1
$ npm install -g @portel/photon
04

Use cases

↳Building AI agent tools with MCP protocol support
↳Creating CLI automation scripts from simple TypeScript classes
↳Developing web dashboards for internal tools without front-end coding
05

Alternatives

ragflow logo
ragflow★ 81.5k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
vs →
n8n logo
n8n★ 190.2k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
vs →
context-mode logo
context-mode★ 16.0k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
vs →
Auto-claude-code-research-in-sleep logo
Auto-claude-code-research-in-sleep★ 11.0k
ARIS ⚔️ (Auto-Research-In-Sleep) — Claude Code skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation via Codex MCP
vs →
agents-best-practices logo
agents-best-practices★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
vs →
awesome-claude logo
awesome-claude★ 250
HeyClaude is a curated registry and distribution surface for Claude and AI-workflow assets: agents, MCP servers, skills, commands, hooks, rules, guides, tools, jobs, Raycast feeds, static data exports, and an npm MCP package.
vs →
initrunner logo
initrunner★ 38
Define AI agent roles in YAML and run them anywhere: CLI, API server, or autonomous daemon
vs →
qveris-agent-toolkit logo
qveris-agent-toolkit★ 229
Open-source toolkit for the QVeris capability routing network: CLI, MCP server, Python SDK, skills, and REST API docs for agents to discover, inspect, call, and audit real-world tools.
vs →
See all alternatives →

Related searches

photon AlternativesBest Vision / Multimodal Tools 2026Open Source Vision / Multimodalphoton Tutorialphoton Vs Competitorsai-toolsbeamclaude-code

Comments

Log in to leave a comment
  • R
    Remy JacksonApr 25, 2026

    Great for prototyping tools that need to work both interactively and in agent pipelines

  • C
    Casey DavisApr 9, 2026

    The single-file approach keeps things simple when you have many small tools

  • Riley Lee
    Riley LeeMar 30, 2026

    Define once, deploy everywhere concept actually works well in practice

  • A
    Alex AndersonMar 6, 2026

    Turning a TypeScript file into CLI + MCP server simultaneously saves a lot of duplication

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 97
Last commit2d ago
StatusActive
LicenseMIT
CategoryVision / Multimodal
Trend (30d)
+3.8↑ 0.7%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.