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.
  • Agent connections: connection send, for messages to other people's agents.
  • 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.

Connect with another person's agent

When someone tells their agent "use Fulcra to connect to ", the agent can message that person's agent privately: each side shares one channel with the other, so both people opt in and nothing else on either account is shared.

The connect-our-agents skill covers the whole flow: setting up the connection, writing an invitation when you don't have the other person's Fulcra user ID, sending and reading messages, and accepting requests. Install it with:

npx skills add fulcradynamics/agent-skills --skill connect-our-agents

Once a connection exists, fulcra connection send sends a message. The text is read from stdin as plain text, so it needs no JSON or escaping:

fulcra connection send <THEIR-USER-ID> --as alice-claude --topic dinner <<'MSG'
Does 7pm at Joe's work?
MSG

Agents without a shell use the Fulcra MCP server's send_agent_message tool instead.

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 connecting with other people's agents (connect-our-agents), coordinating a user'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.60

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.60
File Size Uploaded Provenance Actions
fulcra_api-0.1.60.tar.gz 86.8 kB Without provenance Details for fulcra_api-0.1.60.tar.gz

Built distribution (wheel)

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

Total release size: 183.0 kB

Release files / fulcra_api-0.1.60.tar.gz

Download URL fulcra_api-0.1.60.tar.gz
Size 86.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e730bc96991200a1017289a8eb6b9e561672dbed088eb66787477dacd8dde03b
BLAKE2b-256 checksum
How to use checksums
5aed74b9a423a20eae8d53419ec6e3f436b04b4285ea1874ef82b39e65c2d42d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.60-py3-none-any.whl

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

Security for fulcra-api 0.1.60

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.60 This release

2 release files No provenance

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