Connect domain knowledge, scientific models and research tools to turn questions into evidence-backed outputs.
๐ ็ฎไฝไธญๆ ยท
๐ Get API Token ยท
๐ Quick Start
๐ Website ยท
๐ Online Docs ยท
๐ Usage Guide
Ocean research connects literature evidence, observations and specialized models. OceanGraph provides research and forecasting tools for ocean science: its knowledge graph and retrieval service supply domain evidence, Agent Skills organize research tasks, and XiHe supports forecasting, visualization and report preparation.
Researchers can describe goals, add constraints and review results in Codex or Claude Code, or call tools through the standalone CLI. This repository provides the CLI, Skills and local workflows; online literature and news retrieval use the hosted service.
- ๐งฉ Capabilities
- ๐ Quick Start
- ๐ Knowledge and evidence
- ๐ค Models and tools
- ๐ง OceanRSI
- ๐ Documentation
- ๐ TODO
- ๐ License
OceanGraph provides one unified entrypoint and five focused Skills. Use oceangraph to let the agent select and coordinate tasks, or choose a focused Skill:
| What you want to do | Skill |
|---|---|
| Retrieve papers and news; produce cited reviews, investigations or trend reports | oceangraph-research |
| Compare an idea with prior work and identify overlap and questions to validate | oceangraph-idea-grounding |
| Inspect coverage gaps, generate testable hypotheses or plan observations | oceangraph-idea-generate |
| Check scientific claims or validate how approved analyses relate to them | oceangraph-claim-check |
| Run or reuse forecasts; produce figures, numerical summaries and reports | oceangraph-forecast |
Start with literature retrieval, then configure forecasting or other research workflows as needed. Python 3.10+ is recommended. For Skills, install and sign in to Codex CLI or Claude Code first. The terminal commands below target Linux/macOS.
git clone https://github.com/OceanGPT/OceanGraph.git
cd OceanGraph
cp -n .env.example .envRun the following commands from the repository root. Keep your existing configuration if .env is already present.
Open the API Token registration page, complete email verification and copy your personal Token. Set these values in .env:
OCEANGRAPH_API_BASE_URL=https://oceangraph.zjukg.cn
OCEANGRAPH_API_KEY=YOUR_OCEANGRAPH_TOKENSee the Configuration and CLI guide for service configuration, model settings and CLI usage.
Choose one entrypoint. The connector prepares the project Python environment, installs the CLI and all six Skills, loads local configuration and starts the selected agent.
Codex:
python3 OceanGraph/scripts/connect-codex.pyOr Claude Code:
python3 OceanGraph/scripts/connect-claude.pySee the Agent Skills guide for selective installation, updates and invocation.
In Codex chat, enter:
$oceangraph-research Find papers on South China Sea spring warm pool formation and decay and save a cited brief.
In Claude Code, replace $oceangraph-research with /oceangraph-research.
Expected result: a short answer with source citations and the location of the saved brief. Follow up with a mechanism, region or evidence gap to investigate further.
This direct retrieval and host-agent synthesis path needs only the configuration above. Some structured CLI assessments require a separate model service. Standalone CLI use does not require an agent; see CLI usage.
OceanGraph connects ocean concepts, scientific literature and news events to provide traceable knowledge and evidence. Research tools retrieve papers and news about a topic, organize findings, disagreements and scope conditions, and retain sources in briefs or structured artifacts.
See Architecture and interfaces for the system architecture, research state and development interfaces.
These examples show literature research, port and shipping investigations, and maritime policy impacts. Findings use retrieved evidence and retain source disagreements and coverage limits.
$oceangraph-research Explain how the South China Sea spring warm pool forms and decays.
Retrieve paper evidence, compare the mechanisms and save a cited brief.
Present the findings and citations in your final answer.
Compare the mechanisms, review source citations and read the final findings.
$oceangraph-research Investigate how methanol bunkering in Singapore developed from trials to technical standards and licensing.
Retrieve news evidence with OceanGraph, compare the operational and regulatory milestones, and distinguish announcement dates from implementation dates.
Save a cited brief and present concise findings and the retrieved source list in your final answer.
$oceangraph-research Investigate the ocean protection mechanisms and implementation challenges of the high seas treaty (BBNJ).
Retrieve news and paper evidence with OceanGraph, compare the main governance tools and implementation concerns, and distinguish negotiations, adoption and entry into force.
Save a cited brief and present concise findings and the retrieved source list in your final answer.
OceanGraph Skills connect general agents, specialized ocean models and research tools to support research analysis, ocean forecasting, visualization and report generation.
For example, provide existing XiHe forecast files, then request:
$oceangraph-forecast Reuse validated XiHe outputs initialized on 2024-03-20 for 2024-03-21.
Plot South China Sea SST and sea-surface height with surface currents for 105-121 E, 3-24 N.
Save figures and numerical summaries, and explain the findings in your final answer without starting new inference.
The demo reuses existing XiHe outputs and ends with SST and sea-surface height/current figures.
See Forecast environment setup for model deployment, input data and rendering requirements. For report inputs and result validation, follow the Forecast report guide.
We are building OceanRSI (Ocean Research Self-Improvement) on OceanGraph and HarnessGrad to use feedback from ocean research tasks to improve the tools and agent harnesses used in subsequent work. OceanGraph supplies domain knowledge and evidence, while Skills connect research tasks with specialized models and tools. The editable scope spans Skills and prompts, tool code, and the agent's planning, memory and control flow.
HarnessGrad runs are underway; the full iteration loop is in development.
In this design, an optimization method reads study-task traces, scores and version history, edits the agent project and submits runnable candidates. HarnessGrad runs and independently scores candidates, recording version changes and costs. The method uses study feedback to guide further edits and version selection. A selected version is then evaluated on held-out tasks for generalization and retention of existing capabilities, with validated Skills, tools and harnesses reused in later research.
For example, if a South China Sea spring warm pool study misses decay processes and counterevidence, candidate edits could target the retrieval Skill, evidence-processing code and the agent's retrieval and verification workflow. Other research tasks would then test the effects of these edits. Researchers help set goals, provide domain feedback and review evidence. Reproducible cases and cross-task evaluation results are in the TODO list.
| Use case | Documentation |
|---|---|
| Browse the full documentation online | Online documentation |
| Install and use Skills | Agent Skills guide |
| Configure services and run the CLI | Configuration and CLI guide |
| Deploy forecast models and prepare the runtime | Forecast environment setup |
| Generate and validate forecast reports | Forecast report guide |
| Explore the architecture and development interfaces | Architecture and interfaces |
- CLI Tools. Provide command-line tools for ocean research and retrieval workflows.
- Agent Skills. Package reusable ocean research Skills for Codex and Claude Code.
- Ocean Forecasting. Support XiHe forecasts, output reuse and regional/global visualization.
- Knowledge Expansion and Updates. Expand the coverage of ocean knowledge and datasets, and support regular updates to the knowledge graph.
- More Models. Integrate Wenhai and expand support for specialized ocean models.
- Benchmarks and Evaluation. Add research task benchmarks, forecast evaluations and reproducible examples.
- OceanRSI. Complete the candidate-editing, evaluation and feedback loop, and publish reproducible improvement cases with cross-task evaluation results.
This project is licensed under the MIT License.




