Skip to content

ikozinov/fcontext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fcontext-go

A Golang port of the original agent-skill-fcontext python library, inspired by the article: How to build a Shared Brain for AI Agents: The Context-as-Code Pattern.

What is this?

fcontext helps coordinate multiple AI coding agents by giving them a "shared brain". It persists context across sessions and makes it trivial to import/export domain knowledge to new projects.

This go port has few external dependencies and natively compiles to a single binary for easier distribution.

Antigravity Support

In addition to supporting standard agents like Copilot, Claude Code, Cursor, Trae, etc., this Go port introduces native support for Google Antigravity.

Google Antigravity is a new agentic development platform designed to help you operate at a higher, task-oriented level. It isn't just an editor—it's a development platform that combines a familiar, AI-powered coding experience with a new agent-first interface. This allows you to deploy agents that autonomously plan, execute, and verify complex tasks.

By running fcontext enable antigravity, a SKILL.md is generated in .agents/skills/fcontext/ which acts as an Antigravity Agent Skill. This turns your AI from a generic coding assistant into a specialized employee that knows your codebase's exact context, structure, requirements, and historical topics.

Installation (The Go Way)

go install github.com/ikozinov/fcontext/cmd/fcontext@latest

Quick Start

# 1. Initialize in any project
cd your-project
fcontext init

# 2. Activate your AI agent
fcontext enable antigravity    # or: copilot, claude, cursor, trae, qwen, opencode, openclaw

# 3. Index your documents
fcontext index docs/

# 4. Check status
fcontext status

For the rest of the commands and usages, they are 1-to-1 compatible with the original python CLI. Run fcontext -h to see all available commands.

About

A shared brain for AI agents. Sync context across Antigravity, Claude, and Cursor.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages