Inspiration

This project was inspired when I was building a shopping assistant and I needed to allow agents to handle payment. I noted that other developers had to go through the same process of converting APIs into tools the agent can use. Around the same time, MCP emerged, and that's when I saw how this could be solved. But as I was working on the project, I noted MCP observability was an issue as well, and that's when I decided to extend the project to allow developers to see the tool calls. I also noted that instead of developer having now to take the traced and build financial assistance, this can also be handled in the platform

What it does

Paylink does the following. It help expose tools that agent can use to complete transactions. For example, one of the tool is stk push to push a notification to the user's mobile phone, and then user enters their pin to complete the transaction. Paylink also provide paylink tracing, which allow developers to have an overview of how tools are being invoked on their configured project and the parameters. This can help in troubleshooting Paylink also provides financial assistance that uses tracing data for based on a project to provide financial analysis and provide market and competitor details as well, using tavily for web search

How we built it

Paylink framework is built on top of MCP protocol by Anthropic to expose different tools. It provides an SDK, which is an MCP client that developers can easily install into their project to get started It also provides tracing APIs built using FastAPI to help trace data and store them in the Appwrite database. I am also using langgraph to build the finance agent that uses the tracing data from appwrite, tavily for web search, and mem0 for long-term memory.

Challenges we ran into

One of the major issue I have faced is latency with mom0 when storing and retrieving and storing memories The other major issue was building the tracing API. I wanted to expose tracing as an SDK to allow developers who would like to contribute to add tracing easily. I have not yet fully figured this out.

Accomplishments that we're proud of

One of the accomplishments I am proud of is I am able to trace the data in Appwrite, and developers are able to visualize the traces. This has made it easy for me during debugging. The other thing I am proud of is the financial assistance. Being able to make financial analyses from the traces is a game changer for me.

What we learned

This project has really given me a deep understanding of MCP. Building the server and the client and passing credentials from the client to the server actually had another big challenge. I am proud it worked. The project has also been an eye-opener for building developer tools. Now, if i look into other projects like appwrite, Tavily, and LangGraph, I dont see them as frameworks, projects, or startups. I can ask see the real problem: what was the thinking

What's next for Paylink financial Assistant

The next thing is hosting the project. Request a few developers to test it. Start improving it bit by bit. and see it grow into something everyone enjoys using, since I am not developing it for myself but rather to empower developers in Kenya

Built With

  • appwrite
  • langgraph
  • mem0
  • tavily
Share this project:

Updates