Magnus Samuelsen (@MagnusSamuelse1) profile picture
Joined April 2021
Photo by Magnus Samuelsen (@MagnusSamuelse1)Photo by Magnus Samuelsen (@MagnusSamuelse1)Photo by Magnus Samuelsen (@MagnusSamuelse1)Photo by Magnus Samuelsen (@MagnusSamuelse1)Photo by Magnus Samuelsen (@MagnusSamuelse1)
1/ Been learning @dotnet and C# (or learned how to instruct agents to write C#). Just published a Excel reader that for large .xlsx files now is 2x faster than Calamine (Rust) with the same memory footprint and 4-5x faster than other .NET alternatives github.com/MagnusS0/XLSight
1
1
35
4/ The key thing here was to skip XmlReader and scan raw UTF-8 bytes directly with SIMD-backed IndexOf/SearchValues. The shared-string table is parsed lazily into a UTF-8 arena no UTF-16 strings until you actually need them. Read 10 rows of a 1M-row file, pay for 10 rows.
1
23
5/ Added a Analyze() API to get column type profiles, inferred headers, used ranges, tables, pivot tables, enough for an agent to understand a workbook and make targeted fast read of only the range it needs. MIT, .NET 10, zero deps, AOT-compatible. dotnet add package XLSight
22
Magnus Samuelsen retweeted
What if you could create any report - right where your data lives? Last week I shared a video building a Claude Code Skill from scratch. It took a DBS Report and converted it into a Skill so I could produce DBS-style reports with any financial data. (will add link in comments) @MagnusSamuelse1 has been working on one of my favorite projects: building AI agents for the OpenBB Workspace with Pydantic AI. (link in comments). He saw my video and had the idea to bring skills like this directly into the Workspace. Not just to replicate what I had done, but because he saw the potential. The ability to create custom reports in the place where you already have all your data! So he built it. Using its very own OpenBB Pydantic AI framework, he made it possible to discover and run skills inside the Workspace via code. We’re bringing skills to the Workspace very soon. But the fact that the community is already finding ways to do it programmatically - that’s awesome
4
2
32
2,861
Magnus Samuelsen retweeted
Pydantic AI Meets OpenBB Workspace 🎉 Magnus Samuelsen (@MagnusSamuelse1), a key open-source contributor in our community, just dropped openbb-pydantic-ai, a game-changing library for building Pydantic AI agents that speak native OpenBB. You can now skip the integration plumbing (LLM wiring, tool orchestration, streaming) and focus purely on your agent's logic, getting custom agents running on OpenBB Workspace in minutes. Full code example 👇
3
2
6
3,646
Just built DataAgentConnector: Connect any database → get search tools, metadata, join recommendations, and MCP/REST endpoints automatically. Shipping open source: github.com/MagnusS0/DataAgen…
1
78
Dialect/engine agnostic, anything you can connect with @sqlalchemy is supported. Automatically builds a BM25 index (@lancedb) over all column content for fast keyword search. FK graph analysis lets agents discover shortest join paths between tables, even across complex schemas.
1
73
Control allowed SQL commands via config and enforce query limits over MCP. Mirror queries over REST to display full context in your UI. Example with @openbb_finance where the agent is limited to 25 rows, but UI gets all rows.
62