Show HN: Create AI Agents with React

docs.upstreet.ai

1 points by bazaz 11 hours ago

For the last couple of months, we've been exploring how to make agentic AI development more approachable for web developers.

Here's what we have, so far:

    import { Agent } from "react-agents";
    const NoteTaker = () => {
      return (
        <Agent>
          <Prompt>
            You are a note-taking assistant that helps organize and summarize information.
          </Prompt>
          <Memory type="vectorstore" />
        </Agent>
       )
    }
It's somewhat inspired by [Priompt](https://github.com/anysphere/priompt): instead of rendering a user interface, our framework renders a prompt + action interface for AI agents.

The renderer is backed by a stateful agentic runtime loop, with a library of components you can import to add capabilities like TTS, database and social media integration. We want the experience to feel nice and webby like Vercel, but for AI agents.

For those interested in trying it out:

    npm install usdk -g
    usdk create
We're particularly curious about: - Does this approach feel natural to React developers? Does it help you transition to agentic AI? - DX roadblocks we should fix for our next release - Integrations you'd like us to add (We already have Discord, X, and we're working on Twitter Spaces) - Different environments this can integrate with (we've tested local, electron, browser, and server)

The source is open and we're actively working on improvements.

Links: - [1] Homepage: https://upstreet.ai - [2] Documentation: https://docs.upstreet.ai - [3] Open-source GitHub repository: https://github.com/UpstreetAI/upstreet-core