methodos documentation
Build with
procedural memory.
Methodos is a typed Python library and optional HTTP service for storing, retrieving, and evaluating reusable agent procedures.
quick start
Install it, then explore the graph.
Start locally with SQLite. Add Postgres only when the service needs shared durable state across replicas.
Open the getting-started guidepip install methodos
methodos init
uvicorn methodos.service:app --reloaduse the docs
Choose a path.
01Getting startedInstall the package, create a graph, add the adapter, and run the local service.→02API guideUnderstand the models, protocols, persistence choices, REST endpoints, and concurrency rules.→03ProductionConfigure credentials, durable storage, quotas, health checks, observability, backups, and rollback.→04EngineeringReview module boundaries, Protocol-based substitution, naming, testing, and failure behavior.→05EvaluationRun the in-repository harness and measure whether procedural memory improves an agent.→
reference
The public surface.
ProceduralGraphValidated nodes, edges, attributes, and graph invariants.
AgentStateBounded context passed between the host solver and adapter.
Solver / LLMClientStructural async protocols that keep providers replaceable.
RepositoryPersistence seam for SQLite, Postgres, and test doubles.