explaingit

monid-ai/activegraph-monid

15PythonAudience · researcherComplexity · 3/5Setup · moderate

TLDR

A Python research agent that takes a plain-language question, queries multiple data sources via the Monid API, and produces a cited memo with confidence scores, with a cost budget cap and full audit trail.

Mindmap

mindmap
  root((activegraph-monid))
    What it does
      Research automation
      Memo generation
      Citation tracking
    Pipeline
      Goal decomposition
      Source discovery
      Claim extraction
      Memo writing
    Features
      Trace auditing
      Cost budgeting
      Source forking
    Tech stack
      Python
      Anthropic API
      SQLite
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Automatically research a topic and receive a written memo with citations and confidence scores for each claim.

USE CASE 2

Set a dollar cost budget before a run so you never spend more than planned on LLM and API calls.

USE CASE 3

Fork a completed research trace and swap one data source to compare how different sources change the output memo.

USE CASE 4

Audit exactly how the agent reached its conclusions by inspecting the full typed event log in the local SQLite trace database.

Tech stack

PythonSQLiteAnthropic APIMonid API

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Python 3.14 or later, the uv package manager, an Anthropic API key, and a Monid API key configured in a config file.

In plain English

activegraph-monid is a Python research agent that takes a plain-language question or topic, breaks it into strategies and tasks, queries multiple data sources to gather information, and produces a written memo summarizing what it found, with citations. The whole process runs automatically once you give it a starting goal. The agent works by chaining together eleven steps. First it uses a language model to decompose the goal into strategies and then into specific queries. For each query it consults a service called Monid to discover which data endpoints might have relevant information, then picks one, inspects its input requirements, builds a valid request, and runs it. The results are passed back to the language model to extract specific claims, evaluate whether enough information has been gathered, and finally write a memo that cites where each claim came from. The confidence level for each claim is shown in the output. Everything that happens during a run is recorded as a typed event in a local SQLite database called a trace. This makes the run auditable: you can inspect the full chain of decisions, see which sources were queried and why, and understand exactly how the final memo was produced. The trace also supports forking, where you can swap out one data source and replay only the steps that depend on it, rather than rerunning the whole thing from scratch. This lets you compare memos from different source combinations cheaply because LLM and tool call results are cached. The agent accepts a cost budget in US dollars and a limit on how many data endpoints it may use, so you can cap spending before starting a run. The README shows an example run about a company's funding history that cost roughly a dollar in total across both the Monid API and the language model API calls. Setup requires Python 3.14 or later and the uv package manager. You supply an Anthropic API key and a Monid API key in a config file, then run the agent from the command line.

Copy-paste prompts

Prompt 1
Run activegraph-monid with the goal 'Summarize [company name] funding history' and a $2 budget. Show me the output memo, which sources were used, and the confidence score for each claim.
Prompt 2
I want to fork a previous activegraph-monid trace and replace one data source. Walk me through how the forking and replay mechanism works without re-running the whole pipeline.
Prompt 3
Show me the SQLite trace schema for activegraph-monid, what event types are recorded and how can I query them to understand what decisions the agent made?
Prompt 4
I want to add a new data source integration to activegraph-monid. What does the agent expect from a data endpoint and how does it build and validate requests?
Prompt 5
Run activegraph-monid on the question 'Who are the main competitors of [company]?' and explain step by step how it decides which Monid endpoints to query.
Open on GitHub → Explain another repo

← monid-ai on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.