Better HN
topnewbestaskshowjobs
Log inSign up

init0

531 karma · joined Mar 22, 2010 (16y ago) · 454 submissions

Submissions

comment 1y ago · link · parent

SEP-1865 MCP Apps Extension, even though in draft currently, will change how AI agents deliver interactive experiences.

The idea: MCP tools return HTML/CSS/JS directly. The client renders it in a sandboxed iframe. That's it.

Your AI agent calls a tool, gets back a full interactive UI. Dashboard, form, chart - whatever you need.

How it works: - Tool returns text/html+mcp resource - Client renders in iframe with CSP - UI talks back via JSON-RPC 2.0 postMessage - Fully sandboxed, secure by default

Built a sample implementation with vanilla Web Components. This is where MCP is heading.

62.

SEP-1865 MCP Apps Extension sample implementation(github.com ↗)

1 points · by init0 · 1y ago · 1 comment

63.

AI Agents Are the New Web Stack(h3manth.com ↗)

3 points · by init0 · 1y ago · discuss

comment 1y ago · link · parent

I got tired of complex agent frameworks with their orchestrators and YAML configs, so I built something simpler.

  AgentU uses two operators for workflows: >> chains steps, & runs parallel. That's it.
``` from agentu import Agent, serve import asyncio

  def search(topic: str) -> str:
      return f"Results for {topic}"

  # Agent auto-detects available model, connects to authenticated MCP server
  agent = Agent("researcher").with_tools([search]).with_mcp([
      {"url": "http://localhost:3000", "headers": {"Authorization": "Bearer token123"}}
  ])

  # Memory
  agent.remember("User wants technical depth", importance=0.9)

  # Parallel then sequential: & runs parallel, >> chains
  workflow = (
      agent("AI") & agent("ML") & agent("LLMs")
      >> agent(lambda prev: f"Compare: {prev}")
  )

  # Execute workflow
  result = asyncio.run(workflow.run())

  # REST API with auto-generated Swagger docs
  serve(agent, port=8000)
```

  Features:
  - Auto-detects Ollama models (also works with OpenAI, vLLM, LM Studio)
  - Memory with importance weights, SQLite backend
  - MCP integration with auth support
  - One-line REST API with Swagger docs
  - Python functions are tools, no decorators needed

  Using it for automated code review, parallel data enrichment, research synthesis.

  pip install agentu

  GitHub: https://github.com/hemanth/agentu

  Open to feedback.

65.

Agentu: The sleekest way to build AI agents(pypi.org ↗)

1 points · by init0 · 1y ago · 1 comment

66.

Show HN: OpenAI Apps Handbook(github.com ↗)

10 points · by init0 · 1y ago · discuss

67.

AI ML Jargon(github.com ↗)

3 points · by init0 · 1y ago · discuss

68.

GitHub launches public MCP registry(github.com ↗)

3 points · by init0 · 1y ago · discuss

69.

Show HN: A2A Xkcd Agent as per the Spec(github.com ↗)

2 points · by init0 · 1y ago · discuss

comment 1y ago · link · parent

Chatterbox CLI https://pypi.org/project/voice-forge/

71.

Show HN: A MCP server and client implementing the latest spec(github.com ↗)

72 points · by init0 · 1y ago · 27 comments

72.

CLI for ChatterBox TTS(pypi.org ↗)

2 points · by init0 · 1y ago · discuss

73.

CLI for Chatterbox TTS(pypi.org ↗)

1 points · by init0 · 1y ago · discuss

comment 1y ago · link · parent

This can be done with WebLLM, no?

75.

Claude vs. Firebase studio(youtube.com ↗)

1 points · by init0 · 1y ago · discuss

76.

PayPal launches remote and local MCP servers(developer.paypal.com ↗)

9 points · by init0 · 1y ago · 2 comments

comment 1y ago · link · parent

One of the most concise APIs to interact with an llm!

Keep going! Happy to see ollama support PR in draft.

78.

Google's biggest AI announcements in 2024(blog.google ↗)

1 points · by init0 · 1y ago · discuss

79.

Show HN: Yet Another Goals WebApp(h3manth.com ↗)

1 points · by init0 · 1y ago · discuss

80.

ChatGPT tollfree talks to Gemini [video](youtube.com ↗)

1 points · by init0 · 1y ago · discuss

81.

Chrome's Built-In AI(developer.chrome.com ↗)

1 points · by init0 · 2y ago · discuss

82.

Chrome's Built-In AI(developer.chrome.com ↗)

6 points · by init0 · 2y ago · discuss

comment 2y ago · link · parent

Why not detect it by checking the magic number of the buffer?
12345
16