Skip to main content

fulcra-api: the Fulcra Python library and CLI

Fulcra is a durable, user-owned context store for people and their AI agents. A user's data lives in one place they control, so any of their agents, in any harness or session, can read and write it, share it with other people's agents, and pick up where another left off.

This package provides:

  • fulcra, a command-line tool for people and agents with a shell. It prints JSON for piping into tools like jq, and logs in with a browser-based device flow, so it never handles a password.
  • fulcra_api, a Python library for scripts, agents that write code, and notebooks.

Both talk to the same Fulcra account and need Python 3.11 or newer.

Quick start (CLI)

Run it without installing using uv:

uvx fulcra-api auth login          # opens a browser to log in; the login is cached
uvx fulcra-api user-info

Or install it with pip install fulcra-api and run fulcra.

A typical session:

# What's new since you last looked, for you and everyone who shares with you?
fulcra data-updates "1 hour" --include-shared

# Create your own data type, record into it, and read it back
fulcra data-type create Event "Decision" -d "Decisions made in project meetings" \
    --fields '{"properties": {"summary": {"type": "string"}}, "required": ["summary"]}'
fulcra record Event/<UUID> --summary="Ship the beta on Friday"
fulcra get-records Event/<UUID> "1 week"

# Keep files (notes, memory, exports) with full version history
fulcra file upload notes.md /projects/beta/notes.md
fulcra file download /projects/beta/notes.md -

# Share exactly one data type with another Fulcra user
fulcra share create --name "Project decisions" --data-type Event/<UUID> --user-id <USER-UUID>

The commands fall into four groups:

  • Data types and records: catalog, data-type, record, get-records, delete, data-updates, metric-time-series.
  • Files: file.
  • Sharing: share, group, tag.
  • Device data: synced by the optional Context by Fulcra iOS app. calendars, calendar-events, location-at-time, location-time-series, sleep-cycles, sleep-stages, apple-workouts, and others.

fulcra --help and fulcra <command> --help document every command and option. For agents that can't log in non-interactively, fulcra auth login --get-auth-url prints a link for the user, and fulcra auth login --device-code <CODE> finishes the login.

Quick start (Python)

from fulcra_api.core import FulcraAPI

fulcra = FulcraAPI()
fulcra.authorize()   # prints a login link and waits for the user to approve it

updates = fulcra.data_updates("2026-10-01T00:00:00Z", "2026-10-02T00:00:00Z", include_shared=True)

The documentation site has the full API reference.

For AI agents

AGENTS.md explains what agents use Fulcra for and how to use this package. The agent-skills library has ready-made skills, such as coordinating a user's agents, connecting with other people's agents, tracking, and memory. Agents without a shell can use the Fulcra MCP server instead.

Platform documentation is at docs.fulcradynamics.com, including the CLI guide and the REST API reference.

Bugs / Feature Requests

Please report any bugs or feature requests using GitHub issues.

Metadata

Release files for fulcra-api 0.1.49

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fulcra-api 0.1.49
File Size Uploaded
fulcra_api-0.1.49.tar.gz 70.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fulcra-api 0.1.49
File Interpreter ABI Platform
fulcra_api-0.1.49-py3-none-any.whl Python 3 none any Details

Total release size: 151.2 kB

Release files / fulcra_api-0.1.49.tar.gz

Download URL fulcra_api-0.1.49.tar.gz
Size 70.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f118ba9e1face3c6e4305a0bb2f98d179e8cb80dabf37301abd45176dd473140
BLAKE2b-256 checksum
How to use checksums
4b914ffe90c1058f6aa3e02b8ab28668bbddd73f79d46f76597cad09bf76aeab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fulcra_api-0.1.49-py3-none-any.whl

Download URL fulcra_api-0.1.49-py3-none-any.whl
Size 80.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27760f9e8df867137d7cef64b8b3b645ea154837d5c35d3714b50da4c4e976ef
BLAKE2b-256 checksum
How to use checksums
1ec8425dda2393a9d64374a87a83ab82b213a3bcd5c43c744b84b5baa57eac8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.53

2 release files

0.1.52

2 release files

0.1.51

2 release files

0.1.50

2 release files

This release

0.1.49 This release

2 release files

0.1.42

2 release files

0.1.40

2 release files

0.1.39

2 release files

0.1.38

2 release files

0.1.37

2 release files

0.1.36

2 release files

0.1.34

2 release files

0.1.32

2 release files

0.1.31

2 release files

0.1.30

2 release files

0.1.28

2 release files

0.1.27

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.20

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.5

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page